OpenFate Bazi MCP

English | 繁體中文(台灣) 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. Its 6 documented tools cover bazi, calculate, solar, openfate. It runs locally over stdio via the published package.

People connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-07-02 · ★ 136 · #158 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25

MIT · TypeScript servers · how we verify → /methodology

01 · Install OpenFate Bazi MCP

Claude Code

claude mcp add openfate-ai-bazi-mcp -- npx -y @openfate/bazi-mcp

Claude Desktop / Cursor / VS Code - add to config

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

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @openfate/bazi-mcp - the @openfate scope differs from the repo owner (openfate-ai); confirm it's the project's official package

registry namespace io.github.openfate-ai is GitHub-verified and matches the repo owner

03 · What OpenFate Bazi MCP can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can calculate a deterministic Bazi chart, find possible Gregorian datetimes for a four-pillar Bazi string, and read canonical OpenFate links for charting, readings, compatibility, wealth, true solar time, and llms.txt.

Capability map

Tools grouped from the project's README - what OpenFate Bazi MCP lets an agent do.

Calculate

2 tools - e.g. Calculates a deterministic Bazi chart.; Calculates True Solar Time directly.

calculate_bazi_chart · calculate_true_solar_time

Openfate

2 tools - e.g. Returns OpenFate calculation policy:; Returns canonical OpenFate links for charting, readings, compatibility, wealth, true solar time, and llms.txt.

get_openfate_bazi_policy · get_openfate_bazi_resources

Detect

1 tool - e.g. Detects Earthly Branch interactions for a natal chart, annual trigger, or simple synastry target.

detect_bazi_interactions

Reverse

1 tool - e.g. Finds possible Gregorian datetimes for a four-pillar Bazi string.

reverse_bazi_to_solar_times

Latest releases

v0.2.6 · 2026-07-02

v0.2.5 · 2026-07-02

v0.2.3 · 2026-06-18

04 · Who maintains OpenFate Bazi MCP

OpenFate Bazi MCP is maintained by openfate-ai. It's the only MCP server we track from this author; the repo dates to Jun 2026.

05 · Facts

category
other - ranked #158 of 848 actively-maintained other servers as of 2026-08-25.
release cadence
7 releases in the last 90 days (latest 2026-07-02)
registry
io.github.openfate-ai/bazi-mcp (active, first published 2026-06-17 · 5 versions)
packages
npm:@openfate/bazi-mcp

06 · OpenFate Bazi MCP FAQ

Is OpenFate Bazi MCP still maintained?

Yes - as of 2026-08-25, its last commit was 2026-07-02 and it shipped 7 releases in the last 90 days. We re-verify nightly.

What can OpenFate Bazi MCP do?

With this server connected, an agent can calculate a deterministic Bazi chart, find possible Gregorian datetimes for a four-pillar Bazi string, and read canonical OpenFate links for charting, readings, compatibility, wealth, true solar time, and llms.txt.

How do I install OpenFate Bazi MCP?

Run `npx -y @openfate/bazi-mcp`. You can also paste the ready-made client config above.

Does OpenFate Bazi MCP run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to OpenFate Bazi MCP