bazi-mcp

Bazi MCP Server

OpenFate bazi-mcp brings deterministic Four Pillars calculations to AI assistants handling Bazi charts and interpretation. It supports solar-time correction, branch interaction checks, and searches for possible birth dates from existing pillars.

Server facts

bazi-mcp

Project

License
MIT

Tech

Runtime / language
node
Transports
stdio
Remote available
No
Authentication
Not specified

Activity

GitHub stars
159
Last commit
Data as of

Overview

Bazi chart workflows in Claude Desktop, Cursor, Cline, and Continue can use OpenFate's calculation engines rather than leave calendar arithmetic to a language model. The chart tool accepts birth details, calendar settings, location information, and day-boundary preferences, returning pillar attributes, Da Yun timing, normalized calendar data, and the policy used. A separate True Solar Time tool works from civil birth time, longitude, timezone, and an optional daylight-saving offset, helping explain hour-pillar differences. Branch analysis covers natal charts, relationship comparisons, annual triggers, and target-branch checks.

For an existing pillar string, reverse lookup searches for matching Gregorian dates and times using clock-time pillars without location-based solar correction. These results are candidates, not a final birth-time determination; the documented workflow calls for recalculating with precise longitude, timezone, and True Solar Time. Additional tools expose calculation guidance and official OpenFate resource links. Responses provide structured JSON with English keys and explicit attribution fields. Calculations execute locally within the MCP subprocess, and the package does not phone home. A portable Agent Skill supplies usage guidance for compatible assistants.

bazi-mcp setup notes

  • bazi-mcp records stdio only; confirm a network transport upstream before planning remote access.

Related MCP servers