
Security News
upm Launches as a Fast, Tiny Package Manager Written in TypeScript
upm uses Node.js to deliver fast npm installs in about 250 KB, with a JavaScript API and security defaults.
freebazi-mcp
Advanced tools
Bazi (八字, Four Pillars of Destiny) MCP server: compute a full Chinese astrology chart with True Solar Time. Powered by the freebazi.com engine.
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.
Give it a birth moment and a city, and compute_bazi_chart returns:
Requires Node.js 18+.
Run directly with npx:
npx freebazi-mcp
Add to your claude_desktop_config.json:
{
"mcpServers": {
"freebazi": {
"command": "npx",
"args": ["-y", "freebazi-mcp"]
}
}
}
Other MCP clients (Cline, Continue, Cursor, etc.) take the same command / args.
compute_bazi_chartCompute a full chart.
| Argument | Type | Notes |
|---|---|---|
year, month, day | number | Birth date |
hour, minute | number | Local clock time as recorded (omit if timeUnknown) |
gender | "male" | "female" | Needed for luck-pillar direction |
city | string | e.g. "Taipei", "New York". Resolved to longitude + time zone for True Solar Time |
longitude, utcOffset | number | Alternative to city |
timeUnknown | boolean | Hour pillar becomes tentative |
trueSolarTime | boolean | Default true |
dayRule | "zi23" | "midnight" | Day boundary, default 23:00 |
yearRule | "lichun" | "cny" | Year boundary, default Li Chun |
search_citiesSearch 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 compute_bazi_chart.
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.
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.
City data from GeoNames (CC BY 4.0). Simplified to Traditional conversion via OpenCC.
MIT
FAQs
Bazi (八字, Four Pillars of Destiny) MCP server: compute a full Chinese astrology chart with True Solar Time. Powered by the freebazi.com engine.
The npm package freebazi-mcp receives a total of 33 weekly downloads. As such, freebazi-mcp popularity was classified as not popular.
We found that freebazi-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
upm uses Node.js to deliver fast npm installs in about 250 KB, with a JavaScript API and security defaults.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.