About
Bazi MCP delivers precise Chinese Bazi calculations and detailed astrological data, enabling AI agents to provide reliable personality analysis, fate forecasting, and other metaphysical services.
Capabilities
Overview of the Bazi MCP by Cantian AI
The Bazi MCP (八字 MCP) is a specialized Model Context Protocol server that delivers accurate Chinese Bazi (Four Pillars of Destiny) calculations to AI assistants. It addresses a common pain point in the AI community: many conversational models, such as GPT or DeepSeek, generate unreliable Bazi charts because they lack a dedicated algorithmic engine. By exposing a precise calculation service, the server lets developers embed authentic Bazi data into their agents for personality analysis, destiny forecasting, and other metaphysical applications.
What the Server Does
At its core, the MCP exposes a single tool—. Given either a Gregorian or lunar timestamp, the tool returns a richly structured JSON payload containing the full Bazi chart: year, month, day, and hour pillars; associated heavenly stems, earthly branches, elemental attributes; zodiac animal; and nested details like hidden stems and the “纳音” (Nayin) designation. The payload also includes optional parameters such as gender and a configuration flag that determines how the 23:00‑23:59 hour is treated, allowing users to fine‑tune calculations for edge cases. This level of detail surpasses the typical “quick fortune” responses found in generic chatbots.
Why It Matters for Developers
For AI developers building assistants that need to provide culturally nuanced content—such as fortune‑telling apps, educational tools on Chinese metaphysics, or personalized life coaching—the Bazi MCP offers a reliable data source that can be called programmatically. Because the server follows the MCP specification, it integrates seamlessly with any client that understands the protocol, including Claude Desktop, Smithery‑managed agents, and custom tooling. This means developers can focus on crafting engaging narratives around the Bazi data rather than re‑implementing complex calendrical algorithms.
Key Features & Capabilities
- Accurate Bazi Engine: Uses a proven algorithm to convert dates into the correct heavenly stems and earthly branches, including handling of lunar calendars.
- Rich Data Structure: Provides nested information such as hidden stems, ten‑god relationships (十神), and elemental attributes, enabling deep analytical workflows.
- Flexible Input: Accepts both ISO‑formatted Gregorian dates and lunar date strings, accommodating diverse user preferences.
- Optional Parameters: Gender tagging (male/female) and day‑stem configuration for the 23:00–23:59 hour allow precise alignment with traditional practice.
- Community‑Driven: Open source and supported by Cantian AI, encouraging contributions from practitioners of Chinese metaphysics.
Real‑World Use Cases
- Personalized Fortune Telling: An AI chatbot can generate a detailed Bazi report for a user’s birth date and then interpret it in conversational form.
- Educational Platforms: Language learning or cultural education apps can demonstrate how Bazi charts are constructed, using the server to provide live examples.
- Career & Relationship Coaching: Agents can compare two individuals’ Bazi charts to offer compatibility insights or career guidance based on traditional interpretations.
- Data‑Driven Research: Scholars studying the distribution of Bazi elements across populations can programmatically fetch charts for large datasets.
Integration into AI Workflows
Developers typically add the Bazi MCP to their agent’s server list, either by running it locally or installing via Smithery. Once registered, any prompt that requires Bazi data can invoke , passing the user’s birth information. The MCP returns a JSON object that the agent can parse and incorporate into its response, whether as raw data for further analysis or as a formatted summary. Because the MCP follows standard request/response patterns, it can be chained with other tools—such as a personality‑analysis engine—to create multi‑step reasoning pipelines.
In summary, the Bazi MCP fills a niche for precise, programmatic access to Chinese metaphysical data. Its rich output, ease of integration, and community backing make it an invaluable asset for developers looking to bring authentic Bazi insights into modern AI assistants.
Related Servers
Data Exploration MCP Server
Turn CSVs into insights with AI-driven exploration
BloodHound-MCP
AI‑powered natural language queries for Active Directory analysis
Google Ads MCP
Chat with Claude to analyze and optimize Google Ads campaigns
Smart Tree
Fast AI-friendly directory visualization with spicy terminal UI
Google Search Console MCP Server for SEOs
Chat‑powered SEO insights from Google Search Console
JupyterMCP
Claude AI-controlled Jupyter Notebook integration
Weekly Views
Server Health
Information
Explore More Servers
JarvisMCP
Central hub for Jarvis model contexts
Maya MCP Server
Control Maya via natural language with Model Context Protocol
MetaMCP MCP Server
One proxy to unify all your Model Context Protocols
GenAIScript MCP Server
Standardized AI context hub for local and remote models
Grok MCP Plugin
Seamless Grok AI integration for Cline
kuri
Rust framework for building ergonomic MCP servers