MCPSERV.CLUB
cantian-ai

Bazi MCP

MCP Server

AI‑powered Bazi calculator for accurate destiny insights

Active(91)
182stars
5views
Updated 11 days ago

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

Resources
Access data sources
Tools
Execute functions
Prompts
Pre-built templates
Sampling
AI model interactions

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.