Server data from the Official MCP Registry
Deterministic Chinese BaZi (Four Pillars) astrology MCP server with true solar time correction.
About
Deterministic Chinese BaZi (Four Pillars) astrology MCP server with true solar time correction.
Remote endpoints: streamable-http: https://www.bazi-lab.com/mcp
Security Report
This is a thin stdio bridge that forwards every tool call, including birth data, to the documented hosted engine at bazi-lab.com, and it has no shell execution, filesystem access, or hardcoded secrets. The main points to be aware of are that personal birth data leaves the machine by design and that the BAZI_MCP_URL override could redirect that data to another endpoint. Permissions match the stated purpose, so the server scores well. Supply chain analysis found 6 known vulnerabilities in dependencies (0 critical, 4 high severity).
6 files analyzed ยท 11 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Found in Source Code
Found by scanning the linked source code. This listing connects to a hosted endpoint, so none of this runs on your machine: it describes what the server software does where it is hosted.
How to Connect
Remote Plugin
No local installation needed. Your AI client connects to the remote endpoint directly.
Add this to your MCP configuration to connect:
{
"mcpServers": {
"com-bazi-lab-www-bazi-mcp": {
"url": "https://www.bazi-lab.com/mcp"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
bazi-lab-mcp
MCP server for accurate BaZi (Four Pillars of Destiny) โ bridges Claude, ChatGPT, Cursor and other MCP clients to the free, deterministic engine hosted at bazi-lab.com.
๐ Website: bazi-lab.com โ the free calculator, luck-pillars curve and on-site agent behind this engine ๐ Developer docs: bazi-lab.com/developers/mcp
This process stores nothing and calls no AI model. It is a thin stdio bridge: every tool call is
forwarded to the hosted engine, which computes with calendar code and returns structured JSON. Results
carry a source attribution with canonical page URLs so any answer can be verified on the site.
Why not let the LLM compute BaZi?
LLMs asked from memory reliably get BaZi wrong: the month pillar turns at exact solar-term moments (not month boundaries), the year turns at ็ซๆฅ (not Chinese New Year), and the hour pillar must be corrected to the birthplace's true solar time โ legal UTC offset including historical daylight saving (China used DST in 1986โ1991) plus longitude ร 4 minutes. This server does all of that with calendar code, so the model only interprets โ it never calculates.
Tools
| Tool | What it returns |
|---|---|
calculate_chart | Four pillars with ten gods, day master element, zodiac, true-solar-time correction |
luck_pillars | Ten 10-year pillars (ๅคง่ฟ) with direction, start age, favourable elements, best/worst years |
life_trajectory | Year-by-year OHLC candles on a fixed 0โ100 scale for ~96 years (comparable across people) |
match_compatibility | 0โ100 love score from year-branch relations and the two day masters |
get_almanac | Chinese almanac (้ปๅ): day pillar, lunar date, do (ๅฎ) / avoid (ๅฟ) lists, activity matching |
search_knowledge | BM25 search over BaZi Lab's bilingual guides, returning excerpts with page URLs |
Setup
Hosted (recommended, no install) โ point any client that supports remote MCP at:
https://www.bazi-lab.com/mcp
- Claude (desktop, web, mobile): Settings โ Connectors โ Add custom connector โ paste the URL.
- ChatGPT: enable Developer mode under Settings โ Apps & Connectors โ add the URL as a connector.
- Cursor / other remote-capable clients: add a remote MCP server with the URL.
stdio via this package โ for clients that only support local servers:
{
"mcpServers": {
"bazi-lab": {
"command": "npx",
"args": ["-y", "bazi-lab-mcp"]
}
}
}
Claude Code: claude mcp add bazi-lab -- npx bazi-lab-mcp
Environment: set BAZI_MCP_URL to override the hosted endpoint (defaults to
https://www.bazi-lab.com/mcp; useful for tests).
Privacy & fair use
- No API key, no signup, no account.
- Birth data sent to a tool call is used to compute the response and is not persisted.
- Fair-use rate limits apply per IP: 30 requests/minute and 600/day (one tool call โ 2โ3 requests through this bridge). The server is read-only โ it cannot write data or spend credits. Reports, saved charts and sharing live on the website.
Accuracy notes
- Hour pillar: corrected from the birthplace legal clock time to local solar time (legal UTC offset + longitude ร 4 minutes). Historical DST is included โ a June-1990 Beijing birth is corrected by UTC+9, not UTC+8.
- Year pillar turns at ็ซๆฅ, months at exact solar-term moments.
- The 0โ100 trajectory is a pure function of the twelve flow months of each year: same input, same output, two charts are directly comparable.
- Pass
longitude(andcountry) whenever known โ without them the engine falls back to 120ยฐE and the nominal timezone, which shifts the true solar time by minutes (the four pillars usually stay the same).
Development
npm install
npm run build # tsc -> dist/
npm test # stdio smoke test (initialize + tools/list, no network)
node test/live-check.mjs # optional: one real call through the hosted engine
BAZI_MCP_URL points the bridge elsewhere for local testing.
Related
- BaZi Lab โ the free website calculator, luck-pillars curve and on-site agent
- Developer docs for this server
License
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto ยท Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai ยท Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci ยท Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol ยท Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno ยท Developer Tools
Toleno Network MCP Server โ Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace ยท Developer Tools
Search and install MCP servers from inside your AI client.
