MODEL CONTEXT PROTOCOL · DETERMINISTIC EASTERN METAPHYSICS FOR AI

FateSense MCP: Accurate BaZi, Zi Wei & Almanac Tools for AI Agents

LLMs routinely hallucinate Chinese solar terms, Day Pillars, and lunar Zi Wei star placements. FateSense bridges deterministic MIT open-source calculation cores (tyme4ts + iztro) with a machine-readable llms.txt encyclopedia so Claude, Cursor, and custom AI agents compute accurately every time.

QUICK MCP CONFIGURATION

Connect Deterministic BaZi Tools in Claude Desktop or Cursor

claude_desktop_config.json / .cursor/mcp.json
git clone https://github.com/BENZEMA216/fatesense-mcp.git && cd fatesense-mcp && npm install
{
  "mcpServers": {
    "fatesense": {
      "command": "node",
      "args": ["/path/to/fatesense-mcp/index.js"]
    }
  }
}

Tip: Want instant zero-install results? Run our web calculators directly using the exact same tyme4ts + iztro engines. FateSense's hosted Streamable HTTP MCP endpoint opens alongside our mobile app launch.

DETERMINISTIC TOOL SCHEMAS

Structured Inputs & Hallucination-Free Outputs

calculate_bazi_charttyme4ts (MIT)

(birthDate, birthTime, gender, longitude?, tzOffsetHours?, ziHourMode?)

Returns deterministic Four Pillars, Ten Gods, Hidden Stems, NaYin, 12 Growth Stages, Void branches, and 8 Decadal Luck Pillars—eliminating LLM calendar hallucinations.

calculate_bazi_compatibilitytyme4ts (MIT)

(personADate, personATime, personBDate, personBTime)

Compares two birth charts deterministically via Classical Five-Stem Unions, Day Branch Spouse Palace harmonies/clashes, and combined Five-Element balance.

calculate_ziwei_astrolabeiztro (MIT)

(solarDate, timeIndex (0–12), gender, locale)

Outputs true-lunar Zi Wei Dou Shu 12 Palaces JSON including Five Elements Bureau, 14 Major Stars, brightness, Four Transformations, and decadal ranges.

get_daily_almanactyme4ts (MIT)

(date (YYYY-MM-DD))

Fetches lunar date, 24 Solar Terms, Twelve Duty Officers, 28 Lunar Mansions, and traditional Yi/Ji activities.

lookup_fatesense_knowledgellms.txt + 459 Static Pages

(topic, slug?)

Grounds AI Agents with FateSense's structured bilingual knowledge base across 60 Jiazi Day Pillars, 10 Gods, 64 I Ching Hexagrams, 60 Oracle Sticks, and methodology.

OPEN-SOURCE ECOSYSTEM

FateSense builds upon and celebrates the open-source Eastern calendar community, including tyme4ts (6tail), iztro (SylarLong), and community MCP pioneers such as cantian-ai/bazi-mcp and shunshi-ai/bazi-reader-mcp.

FATESENSE APP · EARLY ACCESS

Carry a Calm Eastern Almanac & Personal Guide in Your Pocket

Launching soon on iOS & Android. Reserve early access to receive 7 days of FateSense Pro plus 1 full personalized destiny reading on launch day.

One launch invite only, zero spam · [email protected]