Zhiji Bazi MCP server
{
"mcpServers": {
"zhijipaipan-zhiji-bazi": {
"command": "npx",
"args": [
"-y",
"zhiji-bazi@latest"
]
}
}
}{
"mcpServers": {
"zhijipaipan-zhiji-bazi": {
"command": "npx",
"args": [
"-y",
"zhiji-bazi@latest"
]
}
}
}{
"mcpServers": {
"zhijipaipan-zhiji-bazi": {
"command": "npx",
"args": [
"-y",
"zhiji-bazi@latest"
]
}
}
}{
"servers": {
"zhijipaipan-zhiji-bazi": {
"command": "npx",
"args": [
"-y",
"zhiji-bazi@latest"
]
}
}
}{
"mcpServers": {
"zhijipaipan-zhiji-bazi": {
"command": "npx",
"args": [
"-y",
"zhiji-bazi@latest"
]
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsoninstall npx -y zhiji-baziversion 0.2.1
What it does
A BaZi (Chinese Four Pillars) chart calculator that computes birth charts from a birth date and time. It calculates the four pillars, body strength level, pattern type, and favorable elements, returning structured data without interpretations or predictions. Intended for developers building tools or integrations around BaZi analysis.
- Calculate the four pillars, strength level, and pattern for a given birth date and time zone.
- Correct birth times to true solar time accounting for longitude and equation of time across the year.
- Convert between Gregorian calendar, lunar calendar, and celestial stem-branch notation for dates and times.
Tools this server exposes
| Tool | Does |
|---|---|
| bazi_compute | Computes a complete BaZi chart given birth date (Gregorian or lunar), time, timezone, and optional longitude for true solar time correction. |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.