fatesense-mcp
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).
Related MCP server: ziwei-mcp
Available MCP Tools (5)
Tool | Engine | What It Computes |
|
| Exact Four Pillars, True Solar Time correction, Early/Late Zi-Hour switch, Hidden Stems, Ten Gods, NaYin, Void branches, and 8 Decadal Luck Pillars |
|
| Dual-chart comparison checking Classical Five-Stem Unions ( |
|
| True-lunar Zi Wei Dou Shu 12 Palaces, Five Elements Bureau, Life/Body Master, 14 Major Stars, brightness levels, and Four Transformations |
|
| Chinese Daily Almanac (Huangli / Tong Shu): lunar date, Solar Term, Twelve Duty Officers, 28 Lunar Mansions, and traditional Yi/Ji activities |
|
| Canonical links into FateSense's 450+ page bilingual reference library (60 Jiazi Day Pillars, 10 Gods, 64 I Ching Hexagrams, 60 Fortune Sticks, |
Quick Start (Claude Desktop / Cursor / Windsurf)
1. Clone & Install
git clone https://github.com/BENZEMA216/fatesense-mcp.git
cd fatesense-mcp
npm install
npm test2. Add to Claude Desktop (claude_desktop_config.json) or Cursor (mcp.json)
{
"mcpServers": {
"fatesense": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/fatesense-mcp/index.js"]
}
}
}3. 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:
Pro BaZi Calculator: https://fatesense.app/tools/bazi-calculator (繁體中文)
Free BaZi Compatibility: https://fatesense.app/tools/bazi-compatibility (繁體中文)
True-Lunar Zi Wei 12 Palaces: https://fatesense.app/tools/zi-wei-birth-chart (繁體中文)
Chinese Daily Almanac: https://fatesense.app/tools/daily-almanac (繁體中文)
60 Jiazi Fortune Sticks: https://fatesense.app/tools/daily-fortune-stick
3-Coin I Ching Oracle (64 Hexagrams): https://fatesense.app/tools/i-ching-reading
Algorithm & Classical Provenance: https://fatesense.app/methodology
Machine-Readable Site Index: https://fatesense.app/llms.txt
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.
Available Tools
5 toolscalculate_bazi_chartA
Calculate a deterministic Chinese BaZi (Four Pillars of Destiny) birth chart with exact astronomical 24 Solar Terms, optional True Solar Time, Early/Late Zi-Hour switch, Hidden Stems, Ten Gods, NaYin, and 8 Decadal Luck Pillars.
Inputs: birthDate (required), gender, birthTime, longitude, +2 more.
calculate_bazi_compatibilityC
Compare two birth charts deterministically using Classical Five-Stem Combinations, Day Branch Spouse Palace harmonies/clashes, and combined Five-Element complementarity.
Inputs: personADate (required), personBDate (required), personATime, personBTime.
calculate_ziwei_astrolabeC
Calculate a true-lunar Zi Wei Dou Shu (Purple Star Astrology) 12 Palaces astrolabe via iztro including Five Elements Bureau, 14 Major Stars, brightness, and Four Transformations.
Inputs: solarDate (required), gender, locale, timeIndex.
get_daily_almanacB
Get deterministic Chinese Daily Almanac (Huangli / Tong Shu) data for any Gregorian date: lunar date, stem-branch pillars, 24 Solar Terms, Twelve Duty Officers, and traditional Yi/Ji activities.
Inputs: date (required).
lookup_fatesense_knowledgeB
Return canonical FateSense bilingual encyclopedia URLs for 60 Jiazi Day Pillars, 10 Gods, 64 I Ching Hexagrams, 60 Fortune Sticks, methodology, and llms.txt.
Inputs: slug, topic.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a clearly distinct operation: single-chart BaZi calculation, two-chart compatibility, Zi Wei astrolabe, daily almanac, and reference lookup. The two BaZi tools share a prefix but their descriptions make the single-chart vs. comparison distinction explicit.
All tools use snake_case verb_noun form throughout (calculate_*, get_*, lookup_*). The verbs are semantically appropriate to the action (calculate for computation, get for retrieval, lookup for URL reference), with no mixed conventions.
Five tools is well-scoped for a focused Chinese astrology calculation server. Each tool covers a distinct, non-redundant capability with no filler.
The surface covers the two major chart systems (BaZi, Zi Wei), daily almanac, and an encyclopedia lookup, which is solid for a calculation server. Minor gaps exist: no I Ching hexagram casting or fortune-stick drawing tools despite these being referenced in the knowledge lookup, and no interpretation/reading tool.
Maintenance
Related MCP Connectors
Hosted remote MCP server for BaZi (Four Pillars) charts and the Chinese almanac. No install.
Deterministic BaZi and Chinese metaphysics tools for AI agents: charts, divination, almanac.
BaZi, Zi Wei, Qi Zheng Si Yu, divination and almanac from a deterministic engine. Pay per call.
BaZi MCP gateway: 14 tools (6 fortune / 5 forum / 3 meta). API key required. Entertainment only.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides professional Chinese astrology calculations including Four Pillars, Five Elements, zodiac signs, and lunar calendar details. It allows users to perform accurate Bazi analysis with global timezone support directly within MCP-compatible clients.18 npm10MIT
- AlicenseNot gradedqualityFmaintenanceZi Wei Dou Shu (Chinese astrology) charting MCP server. Generates complete ziwei natal charts and transit overlays (12 palaces, 14 major stars, sihua) from birth date and time, powered by FateStar's reversible charting engine.MIT
- AlicenseAqualityCmaintenanceMCP server for ai-divination-skills that provides tools for tarot draws, I Ching casts, Xiao Liu Ren casts, and Bazi chart generation, returning auditable JSON results for AI interpretation.56MIT
- AlicenseAqualityDmaintenanceProvides MCP tools for Chinese metaphysics, including BaZi (Four Pillars) charting, Liu Yao hexagram casting, lunar conversion, and AI-powered destiny analysis.1018 npmMIT