Cast BaZi, Zi Wei Dou Shu, and Western astrology natal charts - deterministic, free, no account.
English | 繁體中文 | 简体中文 | 日本語 | 한국어
Cast BaZi, Zi Wei Dou Shu, and Western astrology natal charts from any MCP-capable AI agent.
One tool, three deterministic engines, zero setup: no account, no API key, nothing stored. Powered by the free chart API of FateNava.
Give it a birth (date, time, place, gender) and it returns structured chart data from up to three systems:
| System | What you get |
|---|---|
| BaZi 八字 (Four Pillars of Destiny) | Four pillars (stems & branches), Day Master, Five-Elements distribution — computed with True Solar Time correction from the birthplace longitude |
| Zi Wei Dou Shu 紫微斗數 (Purple Star Astrology) | Twelve palaces with major stars, Life Palace, transformations |
| Western natal chart | Tropical zodiac, Placidus houses: Ascendant, planets by sign/house, elements & modalities |
The numbers are computed, not AI-generated — the same birth always produces the same charts. Interpretation is left to your AI agent (or to FateNava's free reading tools).
claude mcp add fatenava -- npx -y fatenava-mcp
# ~/.codex/config.toml
[mcp_servers.fatenava]
command = "npx"
args = ["-y", "fatenava-mcp"]
{
"mcpServers": {
"fatenava": {
"command": "npx",
"args": ["-y", "fatenava-mcp"]
}
}
}
cast_chart — Cast BaZi (Four Pillars), Zi Wei Dou Shu, and Western astrology natal charts from one birth input. Deterministic computation with True Solar Time correction; supports one-line multilingual birth text or structured fields.cast_chartTwo ways to describe the birth — pick one:
1. One-line text (easiest; the API parses date, time, place and gender, and resolves the city to coordinates + timezone):
{ "text": "1995-08-10 12:00 Taipei female" }
City names in English, Chinese, Japanese, or Korean are accepted.
2. Structured fields:
{
"year": 1995, "month": 8, "day": 10, "hour": 12, "minute": 0,
"gender": "female",
"longitude": 121.5, "latitude": 25.04, "timeZoneId": "Asia/Taipei"
}
Optional:
systems: ["bazi", "ziwei", "astro"] — pick a subset to keep the response small (default: all three).birthTimeKnown: false — when the exact hour is unknown. BaZi still returns three pillars; hour-dependent parts are omitted honestly instead of being guessed.{
"birth": { "date": "1995-08-10", "time": "12:00", "gender": "female", "place": "…" },
"timeKnown": true,
"charts": {
"bazi": { "ok": true, "view": { "dayMaster": {…}, "fourPillars": […], … } },
"ziwei": { "ok": true, "view": { "palaces": […], … } },
"astro": { "ok": true, "view": { "ascendant": {…}, "bodies": […], … } }
}
}
Field names are English; traditional terms (heavenly stems, earthly branches, palace and star names) come in their native Chinese characters — ask your agent to translate them for the user.
npm install
npm run build
node dist/index.js # speaks MCP over stdio
FATENAVA_API_BASE env var overrides the API origin (for testing).
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y fatenava-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-fatenava-fatenava-mcp": {
"command": "npx",
"args": [
"-y",
"fatenava-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referenceio.github.fatenava/fatenava-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.