Repository avatar
Other Tools
v1.0.0
active

fatesense-mcp

io.github.BENZEMA216/fatesense-mcp

Deterministic Chinese BaZi, Compatibility, Zi Wei Dou Shu & Almanac MCP (tyme4ts + iztro).

Documentation

FateSense Logo

FateSense MCP

Deterministic Eastern Metaphysics for AI Agents — Zero Calendar Hallucinations.
Astronomical Chinese BaZi (Four Pillars), Dual-Chart Compatibility, True-Lunar Zi Wei Dou Shu (12 Palaces), and Chinese Daily Almanac via Model Context Protocol (MCP).

fatesense-mcp MCP server

BENZEMA216/fatesense-mcp MCP server

Live Web Tools (Zero Login) · BaZi Calculator · BaZi Compatibility · Zi Wei 12 Palaces · Methodology · llms.txt


Why FateSense MCP?

Ask any frontier LLM to compute a Chinese BaZi (Four Pillars of Destiny) or Zi Wei Dou Shu birth chart from a Gregorian birthday, and it will confidently hallucinate the Day Pillar (Sexagenary cycle math), miss the exact astronomical 24 Solar Term (Jieqi) cutoff for the Month Pillar, or misplace the lunar 14 Major Stars.

FateSense MCP separates deterministic astronomical computation from AI interpretation, running auditable MIT open-source calendar engines locally:

  • tyme4ts (MIT) — exact 24 Solar Terms, True Solar Time (longitude + Spencer Equation of Time), Early/Late Zi-Hour (23:00–00:00) day-boundary switching, Hidden Stems (Cang Gan), Ten Gods (Shi Shen), NaYin, 12 Growth Stages, and 8 Decadal Luck Pillars (Da Yun).
  • iztro (MIT) — true-lunar Zi Wei Dou Shu 12 Palaces, Five Elements Bureau, 14 Major Stars, Temple-to-Challenged brightness, and Four Transformations (Si Hua).

Prefer a zero-install browser experience? Every tool runs free with zero login at fatesense.app (English & Traditional Chinese).


Available MCP Tools (5)

ToolEngineWhat It Computes
calculate_bazi_charttyme4tsExact Four Pillars, True Solar Time correction, Early/Late Zi-Hour switch, Hidden Stems, Ten Gods, NaYin, Void branches, and 8 Decadal Luck Pillars
calculate_bazi_compatibilitytyme4tsDual-chart comparison checking Classical Five-Stem Unions (天干五合), Spouse Palace Six-Harmony / Six-Clash, and combined Five-Element balance
calculate_ziwei_astrolabeiztroTrue-lunar Zi Wei Dou Shu 12 Palaces, Five Elements Bureau, Life/Body Master, 14 Major Stars, brightness levels, and Four Transformations
get_daily_almanactyme4tsChinese Daily Almanac (Huangli / Tong Shu): lunar date, Solar Term, Twelve Duty Officers, 28 Lunar Mansions, and traditional Yi/Ji activities
lookup_fatesense_knowledgefatesense.appCanonical links into FateSense's 730+ page bilingual reference library (complete 120-chapter Qiong Tong Bao Jian classics, 2027 Chinese Zodiac, 60 Jiazi Day Pillars, 10 Gods, 64 I Ching Hexagrams, 60 Fortune Sticks, /methodology, /llms.txt)

Quick Start (Claude Desktop / Cursor / Windsurf)

Option A — Instant Run via npx (Recommended once published to npm)

Add this to Claude Desktop (claude_desktop_config.json) or Cursor (mcp.json):

{
  "mcpServers": {
    "fatesense": {
      "command": "npx",
      "args": ["-y", "fatesense-mcp"]
    }
  }
}

Option B — Local Clone & Run

git clone https://github.com/BENZEMA216/fatesense-mcp.git
cd fatesense-mcp
npm install
npm test
{
  "mcpServers": {
    "fatesense": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/fatesense-mcp/index.js"]
    }
  }
}

Example Prompts to Try in Claude / Cursor

  • "Calculate my BaZi Four Pillars for 1997-08-18 at 10:30 AM in Taipei (longitude 121.56, UTC+8) using True Solar Time, and explain my Day Master and current Decadal Luck Pillar."
  • "Compare BaZi compatibility between 2000-11-20 (15:30) and 1996-05-01 (10:00) using classical stem combinations and Spouse Palace harmony."
  • "Generate a true-lunar Zi Wei Dou Shu 12 Palaces astrolabe for 1995-03-24 (time index 5, male) in English."
  • "Check today's Chinese Daily Almanac (Huangli) auspicious and avoid activities."

Live Bilingual Web Platform & Open Knowledge Base

Every deterministic tool in this MCP server is paired with a free, zero-login web interface and deep bilingual reference pages on fatesense.app:


Honesty & Non-Deterministic Boundaries

FateSense treats BaZi, Zi Wei Dou Shu, I Ching, and Chinese Almanacs as traditional cultural frameworks for self-reflection and structured dialogue—never as medical, legal, financial, or deterministic life guarantees.

License

MIT © FateSense (知命) — Built with gratitude on tyme4ts and iztro.

NPM
fatesense-mcp
Install Command
npm install fatesense-mcp