Skip to main content
Glama

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

calculate_bazi_chart

tyme4ts

Exact 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_compatibility

tyme4ts

Dual-chart comparison checking Classical Five-Stem Unions (天干五合), Spouse Palace Six-Harmony / Six-Clash, and combined Five-Element balance

calculate_ziwei_astrolabe

iztro

True-lunar Zi Wei Dou Shu 12 Palaces, Five Elements Bureau, Life/Body Master, 14 Major Stars, brightness levels, and Four Transformations

get_daily_almanac

tyme4ts

Chinese Daily Almanac (Huangli / Tong Shu): lunar date, Solar Term, Twelve Duty Officers, 28 Lunar Mansions, and traditional Yi/Ji activities

lookup_fatesense_knowledge

fatesense.app

Canonical links into FateSense's 450+ page bilingual reference library (60 Jiazi Day Pillars, 10 Gods, 64 I Ching Hexagrams, 60 Fortune Sticks, /methodology, /llms.txt)


Quick Start (Claude Desktop / Cursor / Windsurf)

1. Clone & Install

git clone https://github.com/BENZEMA216/fatesense-mcp.git
cd fatesense-mcp
npm install
npm test

2. 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:


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 tools
calculate_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

    A3.5/5.0

    Scored across 5 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    Five tools is well-scoped for a focused Chinese astrology calculation server. Each tool covers a distinct, non-redundant capability with no filler.

    Completeness4/5

    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

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides 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 npm
      10
      MIT
    • A
      license
      Not graded
      quality
      F
      maintenance
      Zi 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
    • A
      license
      A
      quality
      C
      maintenance
      MCP 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.
      5
      6
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Provides MCP tools for Chinese metaphysics, including BaZi (Four Pillars) charting, Liu Yao hexagram casting, lunar conversion, and AI-powered destiny analysis.
      10
      18 npm
      MIT