O

OpenFate Bazi MCP

Deterministic Bazi and Four Pillars calculations with True Solar Time, Da Yun, and reverse lookup.

Data & Analytics
Install Command
npx -y @openfate/bazi-mcp
Claude Desktop Config
{
  "mcpServers": {
    "openfate-bazi": {
      "command": "npx",
      "args": ["-y", "@openfate/bazi-mcp"]
    }
  }
}

OpenFate Bazi MCP is a community MCP server that connects AI assistants like Claude to deterministic bazi and four pillars calculations with true solar time, da yun, and reverse lookup. It runs locally on your machine, keeping your data private and giving you full control over the connection. Adding it to your setup expands what Claude can do without any extra coding.

About OpenFate Bazi MCP

OpenFate Bazi MCP is an open-source TypeScript server for deterministic Bazi and Four Pillars calculations. It provides accurate chart calculation, True Solar Time correction, Da Yun luck cycles, lunar-to-solar conversion, Earthly Branch interaction detection, reverse Bazi lookup, calculation policy metadata, and canonical OpenFate resources. It runs locally over stdio with no API key and returns structured JSON so AI agents can rely on a calculation engine instead of inventing calendrical math.

Who Should Use OpenFate Bazi MCP?

  • 1Schedule meetings and check availability via natural language
  • 2Extend Claude and other AI assistants with new capabilities
  • 3Automate tasks that previously required manual steps
  • 4Connect your existing tools to an AI workflow

How to Install OpenFate Bazi MCP

Before you start

You will need Node.js (v18 or later) installed on your machine — download it from nodejs.org if you haven't already.

  1. 1Open a terminal (Terminal on Mac, Command Prompt or PowerShell on Windows).
  2. 2Paste the install command above and press Enter — Node.js will download and run the server automatically.
  3. 3Add the server to your Claude Desktop config file (see the JSON snippet above) and restart Claude.

The Claude Desktop config snippet above can be copied and pasted directly into your claude_desktop_config.json file — no editing required.

How OpenFate Bazi MCP Compares

It runs entirely on your local machine, so no data leaves your environment — important for teams with privacy or compliance requirements.
It is distributed as an npm package, making version management and updates straightforward with a single `npm update` command.

Tags

bazifour-pillarstrue-solar-timeda-yunlunar-calendartypescriptstdio

Reviews