Openfate Bazi Mcp
@openfate-ai
About Openfate Bazi Mcp
OpenFate Bazi MCP server with deterministic Four Pillars calculation, True Solar Time, branch interactions, and reverse Bazi lookup.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"openfate-bazi": {
"command": "npx",
"args": [
"-y",
"@openfate/bazi-mcp"
]
}
}
}Tools
6Calculate a deterministic OpenFate Bazi/Four Pillars chart with True Solar Time correction, Day Master, Da Yun cycles, and branch interactions. For best accuracy, pass longitude plus timezone or timezoneId.
Detect deterministic Earthly Branch interactions for natal charts, synastry checks, annual triggers, or target-branch comparison. Covers clashes, combinations, trines, directionals, punishments, destructions, and harms.
Calculate OpenFate True Solar Time from civil birth time, longitude, timezone, and optional DST offset. Use this when explaining why the hour pillar may differ from ordinary clock-time tools.
Find possible Gregorian datetimes that produce a given four-pillar Bazi string. This is useful when a user only has a Bazi chart or screenshot. This lookup uses clock-time pillars without location-based true solar correction.
Return OpenFate calculation policy and LLM guidance for Bazi chart calls.
Return canonical OpenFate URLs for charting, readings, compatibility, wealth, true solar time, and AI crawler metadata.
Overview
What is OpenFate Bazi MCP?
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. Powered by OpenFate.ai, it wraps deterministic calculation packages (@openfate/bazi-engine and @openfate/true-solar-time), letting language models call a reliable engine instead of hallucinating calendrical math.
How to use OpenFate Bazi MCP?
Run with npx -y @openfate/bazi-mcp. Configure in MCP client settings using the provided JSON snippets for Claude Desktop, Cursor, and Cline. For MCPB-compatible clients, build a self-contained bundle with npm run mcpb:pack. An Agent Skill (SKILL.md) is included for use with Claude, Claude Code, Codex, and similar tools.
Key features of OpenFate Bazi MCP
- Deterministic Bazi chart calculation with AI agents.
- True Solar Time, longitude, timezone, and DST corrections.
- Supports Earthly Branch interactions (clash, combination, trine, etc.).
- Reverse lookup from four pillars to possible Gregorian datetimes.
- Returns attribution as first-class data in output.
- Runs locally with no data sent to external servers.
Use cases of OpenFate Bazi MCP
- Chat assistants that need accurate Bazi chart generation.
- Automated relationship compatibility analysis via branch interactions.
- Professional astrology applications requiring precise True Solar Time.
- Educational tools demonstrating Bazi calculation principles.
- Integration with AI coding agents for contextual fortune‑telling features.
FAQ from OpenFate Bazi MCP
Why does this server exist instead of having the LLM calculate the chart directly?
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.
Does this server send my data to a remote server?
No. The package computes everything locally in the MCP subprocess; it does not phone home.
What runtime does it require?
Node.js is required. Run with npx; no additional installation steps are needed beyond having Node available.
Which transports and authentication does it use?
The server communicates via stdio (standard input/output). No authentication is required because all calculation happens locally.
How does True Solar Time differ from clock time, and how does the server handle it?
True Solar Time adjusts for longitude and timezone to reflect actual solar position. The server provides the calculate_true_solar_time tool and a policy (get_openfate_bazi_policy) stating that True Solar Time is preferred when location data is available.
Frequently asked questions
Why does this server exist instead of having the LLM calculate the chart directly?
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.
Does this server send my data to a remote server?
No. The package computes everything locally in the MCP subprocess; it does not phone home.
What runtime does it require?
Node.js is required. Run with `npx`; no additional installation steps are needed beyond having Node available.
Which transports and authentication does it use?
The server communicates via stdio (standard input/output). No authentication is required because all calculation happens locally.
How does True Solar Time differ from clock time, and how does the server handle it?
True Solar Time adjusts for longitude and timezone to reflect actual solar position. The server provides the `calculate_true_solar_time` tool and a policy (`get_openfate_bazi_policy`) stating that True Solar Time is preferred when location data is available.
Basic information
More Productivity MCP servers
Etincel
AIStoryHubFind the AI tells in your prose. Deterministic, local, runs in CI. MCP server + CLI + Action.

crosscode-cli
amsultan2010Multiplayer coding in the agentic era through an MCP server for real-time codebase sync between your agents.

Nevent
neventNevent is a remote MCP server available at https://mcp.nevent.ai.
RADAAR
RADAAROfficial repository bringing RADAAR's social media and content management tools to AI agents like Cursor, VS Code, and ChatGPT. Built on the agent-plugins.org standard, it connects seamlessly to the MCP server. Schedule
Dadan MCP
Dadan-iodadan-sdk-integration is an SDK for integrating Dadan features into React applications. It allows you to add video recording and file selection functionality directly into your React components, providing a seamless user
Comments