Four Pillars Bazi · 真太阳时八字
Exact Year/Month/Day/Hour stems & branches, Day Master strength, Five-Element balance, Favorable/Unfavorable elements (喜用神/忌神), and 10-year Dayun cycles.
The Xuanji Sanctuary MCP Server is a free, zero-API-key Streamable HTTP endpoint (https://xuanjioracle.com/mcp, protocol 2025-03-26) that equips Claude Desktop, Cursor, and AI agents with deterministic Chinese metaphysics computation. Instead of letting language models hallucinate calendars, agents invoke cast_bazi_chart, cast_qimen_board, get_daily_oracle, and preview_life_kline via JSON-RPC 2.0 to retrieve True Solar Time pillars and classical canon context.
Exact Year/Month/Day/Hour stems & branches, Day Master strength, Five-Element balance, Favorable/Unfavorable elements (喜用神/忌神), and 10-year Dayun cycles.
Deterministic 9-Palace tactical divination board with Duty Chief (值符), Duty Envoy (值使), Eight Doors, and directional timing for concrete decisions.
Today’s classical Taoist omen, lucky direction & color, elemental weather, and practical DO/DON’T micro-behaviors.
Deterministic decade trajectory & current-year score with full Branch Interactions (三会/三合/六冲/三刑), linking directly to the interactive candlestick chart.
Add this read-only Streamable HTTP server to your mcp.json or claude_desktop_config.json:
{
"mcpServers": {
"xuanji-sanctuary": {
"url": "https://xuanjioracle.com/mcp"
}
}
}
Verify live deterministic tool discovery from any terminal:
curl -X POST https://xuanjioracle.com/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Send a real JSON-RPC 2.0 request to /mcp and inspect the deterministic response.
// Pick your birth date above and click "Run My Live Bazi Chart" to test /mcp live
Get our free 2026 Fire Horse solar-term checklist by email — or jump straight into your interactive chart and optional $2.99 Next Turning Point & 3-Report Diagnostic Pack.
Xuanji exposes a managed Streamable HTTP endpoint so agents connect immediately with zero local dependencies, alongside an open-source stdio bridge for desktop clients that require local command transport.
| Dimension | Xuanji Hosted Streamable HTTP (/mcp) |
Local npx Stdio MCP Packages |
|---|---|---|
| Setup & Runtime | Single URL in mcp.json; no Node.js or Python install, zero API key. |
Requires local Node.js runtime, package download, and manual version updates. |
| Deterministic Scope | BaZi (True Solar Time & Jieqi), Qimen Dunjia, Daily Oracle, and 80-Year Life K-Line. | Typically single-domain BaZi calculators without Qimen or Life K-Line integration. |
| Ziwei Doushu & Compatibility | Live on deterministic web engines (/ziwei-doushu, /bazi-compatibility); MCP tool parity planned. | Requires installing separate third-party servers per discipline. |
Unlike local stdio packages that require Node.js installation and manual updates, Xuanji exposes a public Streamable HTTP endpoint requiring no API key or local runtime, while supporting an optional stdio bridge for legacy clients.
Currently, the MCP endpoint exposes Four Pillars BaZi (cast_bazi_chart), Qimen Dunjia (cast_qimen_board), Daily Oracle (get_daily_oracle), and 80-Year Life K-Line previews (preview_life_kline). Ziwei Doushu and Compatibility run on deterministic web engines with MCP parity planned.
Language models cannot reliably compute astronomical solar terms, equation-of-time offsets, or 60-day Jia-Zi cycles from weights alone. Calling cast_bazi_chart enforces a calculate-first, interpret-second workflow with reproducible JSON outputs.