Freebazi MCP server
io.github.alexsu1212/freebazi·v1.0.1Offline Bazi (八字, Four Pillars) chart: True Solar Time, Ten Gods, Shen Sha, luck pillars.
0 stars32 downloads/wk
Reviews
Write oneNobody has reviewed Freebazi yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Freebazi tools (2)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
compute_bazi_chartCompute a full Chinese Bazi (八字, Four Pillars of Destiny) chart from a birth date, time, and place. Returns the four pillars, Day Master, Ten Gods, Hidden Stems, Five Elements, Na Yin, Growth Stages, Shen Sha, branch relations, Luck Pillars, and the current year, computed with True Solar Time and historical daylight-saving handling. Provide a birth city (use search_cities to resolve it) for accura
search_citiesSearch the built-in city list (about 490 major world cities) by English or Chinese name. Returns matches with their country, longitude, and IANA time zone, so you can pass an exact city to compute_bazi_chart for accurate True Solar Time.
Public scan report
scanner v0.1.10 · 2026-10-28 · same rubric, same numbers if you re-run it
- Code scan4 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 56 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Freebazi compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 75% of 48,243 servers
- Tools
- 2
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 32
- more than 20% of 12,306 servers with a package
What its tools let an agent do: 2 read
Install Freebazi in Claude Code, Cursor or VS Code
Runs npx -y freebazi-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add freebazi -- npx -y freebazi-mcp
What the publisher says
From the Freebazi repository's README, as published. We do not edit it. Read it on GitHub
freebazi-mcp
English | 繁體中文
A Model Context Protocol server that computes a full Chinese Bazi (八字, Four Pillars of Destiny) chart from a birth date, time, and place.
It wraps the same calculation engine that powers freebazi.com: an offline engine that corrects for True Solar Time and historical daylight saving, and is cross-validated against established Bazi libraries. No API key, no network calls, everything runs locally.
What it returns
Give it a birth moment and a city, and computebazichart returns:
- The Four Pillars (Year, Month, Day, Hour), each as a Heavenly Stem and Earthly Branch
- Your Day Master (日干) and the Ten Gods (十神) of every character
- Hidden Stems (藏干), Na Yin (纳音), and the Twelve Growth Stages (十二长生)
- Five Elements distribution, both visible and including hidden stems
- Shen Sha (神煞) and branch relations (合冲刑害)
- Luck Pillars (大运) with the current period flagged, and the current year's pillar
- A link to the full interactive chart on freebazi.com
Install
Requires Node.js 18+.
Run directly with npx:
npx freebazi-mcpClaude Desktop
Add to your claudedesktopconfig.json:
{
"mcpServers": {
"freebazi": {
"command": "npx",
"args": ["-y", "freebazi-mcp"]
}
}
}Other MCP clients (Cline, Continue, Cursor, etc.) take the same command / args.
Tools
computebazichart
Compute a full chart.
search_cities
Search about 490 major world cities by English or Chinese name. Returns each match's country, longitude, and IANA time zone, so you can pass an exact city to computebazichart.
Example
Compute the Bazi chart for someone born 15 June 1990, 9:30 AM, in New York.
The server resolves New York, applies True Solar Time (9:30 AM becomes 8:34 AM, 56 minutes earlier, which shifts the Hour pillar), and returns the four pillars 庚午 壬午 辛亥 壬辰 with a Xin (辛) yin Metal Day Master, all Ten Gods, elements, luck pillars, and more.
Accuracy and honesty
Solar-term boundaries are computed from the sun's apparent longitude with standard astronomical formulas, and time zones (including historical daylight saving) are resolved from the IANA database. The engine's four pillars match established libraries character for character across thousands of test charts.
Bazi is a traditional framework for reflection on temperament, tendencies, and timing. This tool describes a chart; it does not predict events.
Links
- Interactive calculator, guides, and full charts: freebazi.com
- What Bazi is and how to read it: freebazi.com/what-is-bazi
- How a Bazi chart is built: freebazi.com/bazi-chart
- The Five Elements (Wu Xing): freebazi.com/chinese-elements
- What a Day Master is: freebazi.com/day-master
- The Ten Gods explained: freebazi.com/ten-gods
Credits
City data from GeoNames (CC BY 4.0). Simplified to Traditional conversion via OpenCC.
License
MIT
繁體中文
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Freebazi: common questions
- Is Freebazi MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the Freebazi safety report
- How do I install Freebazi?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Freebazi need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Freebazi maintained?
- The last commit was 64 days ago (2026-09-02). The latest release is v1.0.1.
- How does Freebazi compare with other MCP servers?
- safety score 88/100 (higher than 75% of 48,243 servers); tools 2 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.