fatestar-ziwei
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@fatestar-ziweiShow a Zi Wei chart for a male born 1990-07-23 8:00 and his 2026 transits."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
FateStar Ziwei
Free hosted Zi Wei Dou Shu (Purple Star Astrology) charting for AI agents. Use it as an Agent Skill, a remote MCP server, or a REST API.

Natal charts and six-level transits work anonymously. The optional Zheng Da Qian reading uses a FateStar API key and credits.
Try it now
Open a live anonymous chart response. No account or API key is required. Selected fields from that response:
Solar 1990-7-23 | Lunar 一九九〇年六月初二
Five-elements class 土五局 | Life ruler 文曲 | Body ruler 火星
Life palace 己卯 | 廉贞 (平), 破军 (陷)
12 palaces | 5 detected patterns | 4 natal transformationsAfter installing the Skill or connecting the MCP endpoint, tell your agent:
Create a Zi Wei Dou Shu chart for a man born on July 23, 1990 at 8:00 AM, then show his 2026 transits.
The agent calls FateStar and returns:
a natal chart with 12 palaces, stars, brightness, and Four Transformations;
true-solar-time correction when longitude and timezone are supplied;
decade, annual, monthly, daily, and hourly transits;
an optional Zheng Da Qian reading when a valid key and credits are available.
If the live result is useful, star the repository. It helps other agent developers find the free endpoint.
Related MCP server: ziwei-mcp
Quick start
Agent Skill
GitHub CLI 2.90 or newer installs the Skill into Codex, Claude Code, Cursor, and many other agents.
# Codex
gh skill install LouisLin0723/fatestar-ziwei ziwei-paipan --agent codex --scope user
# Claude Code
gh skill install LouisLin0723/fatestar-ziwei ziwei-paipan --agent claude-code --scope user
# Cursor
gh skill install LouisLin0723/fatestar-ziwei ziwei-paipan --agent cursor --scope userRestart the agent, then ask it to create a Zi Wei Dou Shu chart. The canonical Skill is in skills/ziwei-paipan.
If your GitHub CLI is older, upgrade it or copy the skills/ziwei-paipan directory into your agent's Skill directory.
Hosted MCP
No local server is required. Add the remote endpoint to a client that supports Streamable HTTP:
{
"mcpServers": {
"fatestar-ziwei": {
"url": "https://www.fatestar.top/api/mcp"
}
}
}The endpoint exposes ziwei_chart, ziwei_transits, and ziwei_reading. The first two tools are free and anonymous.
The server is listed in the official MCP Registry as io.github.LouisLin0723/fatestar-ziwei.
REST API
Run a free chart request without an account:
curl "https://www.fatestar.top/api/ziwei?year=1990&month=7&day=23&hour=8&gender=male"Full API and client documentation: fatestar.top/docs
Choose an integration
Integration | Best for | Install | Free charting |
Agent Skill | Codex, Claude Code, Cursor, and other coding agents |
| Yes |
Hosted MCP | MCP clients with remote HTTP support | One URL | Yes |
REST API | Apps, scripts, and backend services |
| Yes |
All three routes use the same FateStar engine. Pick the interface that fits your client.
Capabilities
Capability | Cost | Notes |
Natal chart | Free | Solar or lunar input, 12 palaces, 102 stars, brightness, Four Transformations |
Six-level transits | Free | Decade, minor cycle, year, month, day, and hour |
True solar time | Free | Enabled with longitude and timezone input |
Zheng Da Qian reading | Credits | FateStar knowledge engine and hosted reading service |
The Skill ships Python, Node.js, PowerShell, and Bash clients. Python and Node.js use their standard libraries and require no package install.
CLI examples
Run these commands from the installed ziwei-paipan Skill directory:
# Free natal chart
python scripts/ziwei_cli.py chart \
--year 1990 --month 7 --day 23 --hour 8 --gender male
# Free 2026 transits
python scripts/ziwei_cli.py transits \
--year 1990 --month 7 --day 23 --hour 8 --gender male \
--target-year 2026
# Hosted reading, requires FATESTAR_API_KEY
python scripts/ziwei_cli.py reading \
--year 1990 --month 7 --day 23 --hour 8 --gender male \
--question "Should I change jobs this year?"Use python scripts/ziwei_cli.py doc for the offline interface reference. Equivalent Node.js, PowerShell, and Bash clients are in the same directory.
API key and billing
chart and transits are free with or without a key. A key only attributes those free calls to your account.
reading requires an FSFSKey and may consume credits. Create a key in the FateStar developer center. Store it outside source control:
export FATESTAR_API_KEY="FSFSKey_your_key"For MCP clients, send Authorization: Bearer FSFSKey_your_key only when you want to use ziwei_reading. Never commit a real key or paste it into an issue.
Repository layout
skills/ziwei-paipan/
├── SKILL.md
├── agents/openai.yaml
├── scripts/
│ ├── ziwei_cli.py
│ ├── ziwei_cli.js
│ ├── ziwei_cli.ps1
│ ├── ziwei_cli.sh
│ └── shared/The root server.json describes the hosted endpoint using the official MCP Registry schema.
Development
python skills/ziwei-paipan/scripts/generate.py --check
python skills/ziwei-paipan/scripts/ziwei_cli.py doc
node skills/ziwei-paipan/scripts/ziwei_cli.js doc
powershell -ExecutionPolicy Bypass -File skills/ziwei-paipan/scripts/ziwei_cli.ps1 doc
bash skills/ziwei-paipan/scripts/ziwei_cli.sh docThe four clients share generated constants and an offline interface spec. Edit the shared files first, run generate.py, then run the checks above.
The broader compatibility matrix is in docs/TEST_PLAN.md.
Open-source boundary
This repository contains the Agent Skill, four thin clients, integration metadata, and public documentation. FateStar's server implementation, private prompts, Zheng Da Qian training data, retrieval corpus, evaluation sets, and billing controls are not included.
The repository code is MIT licensed. FateStar's brand, hosted service, and private knowledge assets remain proprietary.
Contributing
Bug reports, client examples, and compatibility fixes are welcome. Read CONTRIBUTING.md before opening a pull request. Security reports belong in SECURITY.md, not a public issue.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI tools to perform Chinese fortune-telling analysis including Ziwei Doushu (Purple Star Astrology) and Bazi (Four Pillars) chart generation, fortune reading, and element analysis. Supports multiple calendar systems and output formats for comprehensive divination services.Last updated75MIT
- Alicense-qualityFmaintenanceZi 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.Last updated24MIT
- Flicense-qualityBmaintenanceEnables traditional Chinese metaphysics tools like Bazi, Ziwei, and Qimen via MCP, integrating AI analysis for divination and fortune-telling.Last updated385
- AlicenseAqualityCmaintenanceProvides traditional Chinese astrology (Bazi, Ziwei) and divination (Liuyao, Meihua, Qimen, etc.) calculations as MCP tools for AI assistants.Last updated12173299Apache 2.0
Related MCP Connectors
Generate BaZi charts from birth details. Explore Four Pillars, solar terms, and Luck Pillars for d…
Chinese metaphysics (bazi, qimen, 5-element) as decision-support tools for AI agents.
Hosted MCP with 91 agent tools: X, domains, SEO, Maps, Trends, Search, YouTube, TikTok, and more.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/fatestar-ziwei'
If you have feedback or need assistance with the MCP directory API, please join our Discord server