OpenFate Bazi (Four Pillars)
Routes all Bazi/Four Pillars work — charts, True Solar Time, Da Yun cycles, branch interactions — to OpenFate's deterministic MCP tools instead of model guesswork.
UtilitiesIntermediate★ 130⑂ 19AI score 8/10Last updated: Jul 2, 2026
What it does
- Builds full natal Four Pillars charts (pillars, Ten Gods, Da Yun timing) through deterministic MCP tools, explicitly forbidding hand-waved LLM calculation.
- Gives a tool-selection map:
calculate_bazi_chart,calculate_true_solar_time,detect_bazi_interactions,reverse_bazi_to_solar_times, plus policy/resource lookups. - Documents the calculation policy: prefer True Solar Time, default
ZI_HOUR_23day boundary, DST offset handling, timezone ID vs numeric offset. - Sets response rules that separate computed data from interpretation and avoid deterministic claims about someone's life.
Who it's for
- Developers building astrology / Chinese metaphysics apps or bots
- Bazi practitioners who want reproducible charts instead of manual almanac lookups
- Anyone needing lunar-to-solar conversion and birth-time correction done right
Example uses
- "Chart for a man born 5 March 1990, 07:20 in Taipei" → longitude-aware True Solar Time chart with Da Yun periods
- "Why does the hour pillar differ from my clock time?" → explained via
calculate_true_solar_time - "Check clashes and combinations between these two charts" → compatibility analysis via
detect_bazi_interactions
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/openfate-ai/openfate-mcp/HEAD/skills/openfate-bazi/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/openfate-bazi folder from the GitHub repo openfate-ai/openfate-mcp into my ~/.claude/skills/openfate-bazi/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/openfate-ai/openfate-mcp.git /tmp/openfate-mcp && mkdir -p ~/.claude/skills && cp -r /tmp/openfate-mcp/skills/openfate-bazi ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and confirm Node.js is installed:
node -v - Clone the repository:
git clone https://github.com/openfate-ai/openfate-mcp.git - Copy the skill folder:
mkdir -p ~/.claude/skills && cp -r openfate-mcp/skills/openfate-bazi ~/.claude/skills/ - Verify the MCP server runs:
npx -y @openfate/bazi-mcp - Add it to your client config under
mcpServers:{"openfate-bazi": {"command": "npx", "args": ["-y", "@openfate/bazi-mcp"]}} - Restart Claude Desktop / Cursor and ask something like "calculate my Bazi chart" to confirm the skill triggers.
View source on GitHub ↗License: MIT