OpenFate Charts MCP
MCP server by openfate-ai Community
Calculates Bazi (Four Pillars) charts for AI assistants through an MCP server. It returns deterministic chart data, including True Solar Time, Da Yun timing and branch interactions, so the model can focus on interpretation.
Install OpenFate Charts MCP
Built from the published package, never by AI.
claude mcp add openfate-bazi-mcp -- npx -y @openfate/bazi-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"openfate-bazi-mcp": {
"args": [
"-y",
"@openfate/bazi-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"openfate-bazi-mcp": {
"args": [
"-y",
"@openfate/bazi-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"openfate-bazi-mcp": {
"args": [
"-y",
"@openfate/bazi-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add openfate-bazi-mcp -- npx -y @openfate/bazi-mcp{
"mcpServers": {
"openfate-bazi-mcp": {
"args": [
"-y",
"@openfate/bazi-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install OpenFate Charts MCP in Antigravity CLI
gemini mcp add openfate-bazi-mcp npx -y @openfate/bazi-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the openfate-bazi-mcp block.
About
OpenFate Bazi MCP is a Model Context Protocol server for Bazi and Four Pillars calculation. It wraps the @openfate/bazi-engine and @openfate/true-solar-time packages. The server gives the AI agent stable JSON instead of letting the language model do calendrical math itself. Covered calculations include solar-term boundaries, True Solar Time, longitude and timezone correction, DST offsets, Zi-hour day-boundary rules, lunar-to-solar conversion and branch interactions.
It runs locally through npx and works with clients such as Claude Desktop, Cursor, Cline and Continue. The source says calculations run in the MCP subprocess and the package does not phone home. The project is aimed at AI agents and developers who need reliable Bazi chart output, and it is published by OpenFate.ai.
Written from the project's README and checked against it.
Tools it gives your assistant
calculate_bazi_chartCalculates a deterministic Bazi chart from birth date, time, gender and location inputs.detect_bazi_interactionsDetects raw Earthly Branch relationships such as clashes, combinations, trines and harms.calculate_true_solar_timeCalculates True Solar Time directly, for example to explain differences from clock time.reverse_bazi_to_solar_timesFinds possible Gregorian datetimes for a four-pillar Bazi string.get_openfate_bazi_policyReturns the OpenFate calculation policy, including the day-boundary mode and Da Yun onset rule.get_openfate_bazi_resourcesReturns canonical OpenFate links for charting, readings, compatibility and True Solar Time.
What you need
- npx to run the server with npx -y @openfate/bazi-mcp
- An MCP client such as Claude Desktop, Cursor, Cline or Continue
Try asking
- Calculate a Bazi chart for the birth date and time I give you.
- Explain why this chart's hour pillar differs from the clock time.
- Check the branch clashes and combinations in this four-pillar chart.
Good to know
- Reverse lookup returns candidates, so results should be recalculated with exact longitude, timezone and True Solar Time.
- Branch interaction results do not evaluate transformation and do not cancel clashes automatically.
- An exact Da Yun onset is shown only when the timing receipt is CALCULATED.
- The hour branch is omitted when birth time is unknown and is not replaced with an assumed branch.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to OpenFate Charts MCP
All alternatives →LearnHouse is an open source learning platform for building courses, learning paths and communities in your own academy. Its MCP server lets AI assistants read and build courses in your organization.
Agent-Native Calendar is the Calendar agent in Agent-Native, an open-source TypeScript framework for building agents with UIs. The README describes it as a way to find time, schedule events, and manage bookings. It is aimed at developers building agent apps.
Agent-Native Clips is the Clips agent from the Agent-Native framework, an open-source TypeScript project. It records and helps people understand meetings, screens, and voice notes.
Agent-Native Slides is the Slides agent in the Agent-Native open-source framework, described as a way to create and edit on-brand presentations. It is aimed at developers who build agents with a purpose-built UI.
AIHawk is an AI job application bot. It finds recent job postings that match your resume, then fills in and sends applications on the company's own forms after you pick the jobs.
Connects AI assistants to Microsoft 365 and Office services through the Microsoft Graph API. It suits users and administrators who want an assistant to work with Outlook, calendar, OneDrive, Teams and SharePoint data.
Compare with LearnHouse, Agent-Native Calendar or Agent-Native Clips
OpenFate Charts MCP: common questions
Does the server send birth data to a remote service?
The source says the package does not phone home and that calculations run locally in the MCP subprocess.
How is Da Yun onset handled?
The MCP fixes the onset policy to DAYUN_SECOND_V2. An exact onset is presented only when the timing receipt status is CALCULATED with that version.
Which engine versions does it use?
Version 0.3 requires @openfate/bazi-engine version 2, and the published dependency remains the release source of truth.
How do I install OpenFate Charts MCP?
In Claude Code run claude mcp add openfate-bazi-mcp -- npx -y @openfate/bazi-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is OpenFate Charts MCP the official server?
OpenFate Charts MCP is a community project by openfate-ai, not verified by a company domain.
Is OpenFate Charts MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is OpenFate Charts MCP safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to OpenFate Charts MCP?
Similar MCP servers: LearnHouse, Agent-Native Calendar, Agent-Native Clips, Agent-Native Slides.
Does OpenFate Charts MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
