Skip to main content
Glama
LouisLin0723

ziwei-mcp

by LouisLin0723

Zi Wei Dou Shu MCP (紫微斗数 · Purple Star Astrology)

An MCP server that gives any AI assistant a full Zi Wei Dou Shu (紫微斗数 / Purple Star Astrology) chart engine — natal charts plus six levels of transits — powered by FateStar.

Built on FateStar's self-written engine: 102 stars, San He (三合) school four-transformations, true-solar-time correction. Zero third-party charting libraries.

🌐 Hosted (no install): https://www.fatestar.top/api/mcp 🔮 Try the full app: www.fatestar.top


What is Zi Wei Dou Shu?

Zi Wei Dou Shu (紫微斗数), also called Purple Star Astrology, is a Chinese astrology system from the Song dynasty. From your birth year-month-day-hour it places 14 main stars across 12 palaces and uses four transformations (四化: Lu / Quan / Ke / Ji) to model a life trajectory — finer-grained than Bazi, so each domain (marriage, career, wealth) reads independently.

This MCP server exposes that engine as structured tools, so an LLM can cast and reason over a real, deterministic chart instead of hallucinating one.

Related MCP server: Ziwei Astrology MCP Server

Tools

Tool

What it returns

ziwei_chart

Full natal chart: five-element class, 12 palaces (main/auxiliary/malefic stars + brightness + birth-year sihua + borrowed stars + decade limits + 12 longevity gods), pattern recognition (30+ classical 格局 with source citations), clip-palace scan, true four-pillars by solar term.

ziwei_transits

Six-dimension transits: decade (大限), annual (流年), monthly, daily, hourly, and 斗君.

⚠️ San He school Geng-stem: 化科 = Tian Tong, 化忌 = Tai Yin (the orthodox transmitted rule).

The server is live and stateless. Point any MCP client at the hosted endpoint via mcp-remote:

// e.g. Claude Desktop — claude_desktop_config.json
{
  "mcpServers": {
    "ziwei": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://www.fatestar.top/api/mcp"]
    }
  }
}

No API key needed for chart casting.

Example

"Cast a Zi Wei Dou Shu chart for someone born 1990-06-15 14:30, male, Taipei."

The assistant calls ziwei_chart and gets back a complete, reproducible natal chart — same input always yields the same chart (the engine is deterministic and reversible across all seven time dimensions).

About

Maintained by FateStar — an AI Zi Wei Dou Shu platform. Single-school (San He), reproducible, honest. Free chart casting + AI reading at www.fatestar.top.

Founder: Louis Lin — a Taiwan-trained Zi Wei practitioner (studied under Master Guan-Guan, 300+ charts over five years) who built FateStar single-handedly.

License

MIT

A
license - permissive license
-
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LouisLin0723/ziwei-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server