Openfate Bazi MCP Server

OpenFate Bazi MCP server with deterministic Four Pillars calculation, True Solar Time, branch interactions, and reverse Bazi lookup.

Local serverstdio

What is the Openfate Bazi MCP Server?

OpenFate Bazi MCP server with deterministic Four Pillars calculation, True Solar Time, branch interactions, and reverse Bazi lookup.

What it actually does

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.

  • 24 solar-term boundaries
  • True Solar Time
  • longitude and timezone correction
  • Zi-hour day-boundary rules
  • lunar-to-solar conversion
  • branch interactions

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
centralbranch half-trine (COMBINATION_HALF)
calculate_bazi_chart
detect_bazi_interactions
calculate_true_solar_time
reverse_bazi_to_solar_times
get_openfate_bazi_policy
get_openfate_bazi_resources

How to install the Openfate Bazi MCP Server

{
  "mcpServers": {
    "openfate-bazi": {
      "command": "npx",
      "args": [
        "-y",
        "@openfate/bazi-mcp"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Openfate Bazi MCP to calculate bazi chart.”
  • “Use Openfate Bazi MCP to detect bazi interactions.”
  • “Use Openfate Bazi MCP to calculate true solar time.”

Frequently asked questions

LLMs should not manually calculate Bazi charts. The difficult parts (solar terms, True Solar Time, timezone corrections, DST, Zi‑hour rules, lunar‑solar conversion, branch interactions) are deterministic and better handled by a dedicated engine.