BaZi (Chinese Four Pillars) chart calculator. Structured chart data only, no predictions.
registry version 0.2.1
npm
npx -y zhiji-bazinpm
npx -y zhiji-bazi@0.2.1Streamable HTTP
https://zhijipaipan.com/bazi-api/mcp
Pick your client — the config below is generated for this server (both local and hosted-endpoint forms). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"zhiji-bazi": {
"command": "npx",
"args": [
"-y",
"zhiji-bazi"
]
}
}
}{
"mcpServers": {
"zhiji-bazi": {
"command": "npx",
"args": [
"-y",
"zhiji-bazi@0.2.1"
]
}
}
}Remote (hosted) endpoint
https://zhijipaipan.com/bazi-api/mcp
Claude Desktop: Settings → Connectors → Add custom connector, paste this URL.
Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add zhiji-bazi -- npx -y zhiji-bazi
claude mcp add zhiji-bazi -- npx -y zhiji-bazi@0.2.1
terminal
claude mcp add --transport http zhiji-bazi https://zhijipaipan.com/bazi-api/mcp
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"zhiji-bazi": {
"command": "npx",
"args": [
"-y",
"zhiji-bazi"
]
}
}
}{
"mcpServers": {
"zhiji-bazi": {
"command": "npx",
"args": [
"-y",
"zhiji-bazi@0.2.1"
]
}
}
}.cursor/mcp.json (hosted endpoint)
{
"mcpServers": {
"zhiji-bazi": {
"url": "https://zhijipaipan.com/bazi-api/mcp"
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"zhiji-bazi": {
"command": "npx",
"args": [
"-y",
"zhiji-bazi"
]
}
}
}{
"servers": {
"zhiji-bazi": {
"command": "npx",
"args": [
"-y",
"zhiji-bazi@0.2.1"
]
}
}
}.vscode/mcp.json (hosted endpoint)
{
"servers": {
"zhiji-bazi": {
"type": "http",
"url": "https://zhijipaipan.com/bazi-api/mcp"
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"zhiji-bazi": {
"command": "npx",
"args": [
"-y",
"zhiji-bazi"
]
}
}
}{
"mcpServers": {
"zhiji-bazi": {
"command": "npx",
"args": [
"-y",
"zhiji-bazi@0.2.1"
]
}
}
}mcp_config.json (hosted endpoint)
{
"mcpServers": {
"zhiji-bazi": {
"serverUrl": "https://zhijipaipan.com/bazi-api/mcp"
}
}
}Format verified against the official Windsurf docs ↗.
最近更新于 76 天前 · Apache-2.0 license
zhiji bazi 输入出生时间,输出四柱、身强弱、格局、用神。 English 这是知己排盘的计算引擎,从生产环境拆出来开源的部分。它只做计算,不生成解读文案,也不做任何预测。 特性 历法与四柱 — 公历、农历、节气、干支互转。立春换年、节气分月,晚子时的日柱归哪天给了三种规则 真太阳时 — 经度校正加时差方程。时差方程全年在 14 到 +16 分钟之间波动,足以让时柱错一位,很多排盘实现恰好漏掉它 身强弱 — 按得令、得地、得势三要素打分 格局与用神 — 定格、判成败、取用神,含调候 MCP server — stdio 和 HTTP 双入口,AI agent 一行配置连上排盘 Type…
Summary from the project README — github.com/AmsonntagChow/zhiji-bazi
Distributed as npm, Streamable HTTP, listed under Data & Analytics. Review our MCP security guide before granting access to real data.
zhiji bazi 输入出生时间,输出四柱、身强弱、格局、用神。 English 这是知己排盘的计算引擎,从生产环境拆出来开源的部分。它只做计算,不生成解读文案,也不做任何预测。 特性 历法与四柱 — 公历、农历、节气、干支互转。立春换年、节气分月,晚子时的日柱归哪天给了三种规则 真太阳时 — 经度校正加时差方程。时差方程全年在 14 到 +16 分钟之间波动,足以让时柱错一位,很多排盘实现恰好漏掉它 身强弱 — 按得令、得地、得势三要素打分 格局与用神 — 定格、判成败、取用神,含调候 MCP server — stdio 和 HTTP 双入口,AI agent 一行配置连上排盘 Type
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/AmsonntagChow/zhiji-bazi. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/zhiji-bazi/)
HTML
<a href="https://mcpnav.net/server/zhiji-bazi/"><img src="https://mcpnav.net/badge/zhiji-bazi.svg" alt="Listed on MCPNav" height="20"></a>