OpenFate Bazi MCP server with deterministic Four Pillars calculation, True Solar Time, branch interactions, and reverse Bazi lookup.
OpenFate Bazi MCP server with deterministic Four Pillars calculation, True Solar Time, branch interactions, and reverse Bazi lookup. Exposed over MCP by the openfate bazi mcp mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.
OpenFate Bazi MCP is a Model Context Protocol server for accurate Bazi / Four Pillars calculation inside AI agents such as Claude Desktop, Cursor, Cline, and Continue.
Everything the assistant can do here goes through one of these:
calculate_bazi_chart — Best practice: pass longitude plus timezone or timezoneId for professional True Solar Time accuracydetect_bazi_interactions — Detects Earthly Branch interactions for a natal chart, annual trigger, or simple synastry targetcalculate_true_solar_time — Use this when a user asks why OpenFate's hour pillar differs from a clock-time toolreverse_bazi_to_solar_times — Finds possible Gregorian datetimes for a four-pillar Bazi stringget_openfate_bazi_policy — The get_openfate_bazi_policy tool exposed by this serverget_openfate_bazi_resources — Returns canonical OpenFate links for charting, readings, compatibility, wealth, true solar time, and llms.txtInstallation goes through your MCP client rather than a global install: point it at @openfate/bazi-mcp on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Openfate Bazi MCP's toolset — calculate_bazi_chart, detect_bazi_interactions, calculate_true_solar_time and 3 more — is a fair guide to whether it matches your workflow. It is maintained by openfate-ai; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Openfate Bazi MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| calculate_bazi_chart | Best practice: pass longitude plus timezone or timezoneId for professional True Solar Time accuracy. |
| detect_bazi_interactions | Detects Earthly Branch interactions for a natal chart, annual trigger, or simple synastry target. |
| calculate_true_solar_time | Use this when a user asks why OpenFate's hour pillar differs from a clock-time tool. |
| reverse_bazi_to_solar_times | Finds possible Gregorian datetimes for a four-pillar Bazi string. |
| get_openfate_bazi_policy | The get_openfate_bazi_policy tool exposed by this server. |
| get_openfate_bazi_resources | Returns canonical OpenFate links for charting, readings, compatibility, wealth, true solar time, and llms.txt. |
## Claude Desktop
```jsonc
{
"mcpServers": {
"openfate-bazi": {
"command": "npx",
"args": ["-y", "@openfate/bazi-mcp"]
}
}
}Configuration as documented by the project. Restart the client after saving.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.