Calculates Bazi charts and Chinese almanac data through MCP, with true solar time correction and support for major MCP clients.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Bazi Reader MCP.
The shunshi-ai/bazi-reader-mcp MCP server provides an MCP interface to a TypeScript calculation engine for Bazi, also known as Four Pillars, εζ±ζ¨ε½, or μ¬μ£Όνμ. It calculates a chart from a person's birth date, birth time, gender, and place information. Results can include the Four Pillars, Ten Gods, major luck periods, Five Elements balance, and additional relationship and deity data supported by the underlying library.
It also provides Huangli, or traditional Chinese almanac, lookups. A request can use a Gregorian or lunar-calendar date, or omit the date to request today's data. Huangli results cover items such as recommended and unsuitable activities, Pengzu taboos, deities, construction-day classifications, lunar mansions, auspicious directions, and time-period guidance.
The MCP package is a thin server around the separately published shunshi-bazi-core package. MCP clients start the server as a local stdio process and invoke its tools using structured requests. The server exposes two tools:
getBaziChart calculates a complete Bazi chart and related information.getHuangli returns almanac information for a specified day or for today.For chart requests, true solar time correction is enabled by default when a city or longitude and latitude are provided. The implementation also uses sect=1 by default, which places the 23:00 hour in the following day's pillar according to the project's documented convention. The calculation library is written in TypeScript and can also be used independently in Node.js or browser applications, but that direct library use is separate from the MCP server.
Install and run the MCP server with Node.js 20 or newer using:
Add that command to an MCP client's server configuration. For Claude Desktop, Cursor, and Cline, the configuration uses npx as the command and -y shunshi-bazi-mcp as its arguments. Restart the client after saving the configuration, then send a natural-language request for a chart or almanac lookup.
The shunshi-ai/bazi-reader-mcp MCP server does not document API keys, tokens, external service credentials, or required environment variables. Its documented quick-start path runs the published npm package locally.
The chart tool includes true solar time correction, major luck periods, and relationship information such as combinations, clashes, punishments, harms, breaks, and controls where applicable. The README states that the calculation engine has been parity-tested against selected Shunshi.AI backend cases and relation results from cantian-tymext.
The almanac tool accepts either solar or lunar dates. Its documented output includes daily recommendations and taboos, auspicious directions, and guidance for the twelve traditional time periods. The project describes terminology and usage for Chinese, English, Japanese, and Korean audiences, including the terms εζ±ζ¨ε½ and μ¬μ£Όνμ.
The documented server transport is local stdio; no hosted endpoint is provided. The project does not describe a natural-language interpretation or consultation tool beyond returning calculated chart and almanac data. Chart results depend on the supplied birth details and location, and the project's stated day-pillar behavior follows its sect=1 default. The repository is MIT licensed, while the separate Shunshi.AI product is described independently from this open-source package.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/shunshi-ai-bazi-reader-mcp)<a href="https://allmcps.com/mcp/shunshi-ai-bazi-reader-mcp"><img src="https://allmcps.com/api/badge/shunshi-ai-bazi-reader-mcp?style=directory" alt="Bazi Reader MCP on AllMCPs" /></a>