Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"Bazi": {
"args": [
"bazi-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Unlock precise Bazi insights with the Bazi MCP, the first AI-powered Bazi calculator. Built to address inaccuracies in existing AI fortune-telling tools like GPT and DeepSeek, our MCP delivers reliable Bazi data for personality analysis, destiny forecasting, and more.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y '@cantian-ai/bazi-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked @cantian-ai/bazi-mcp against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in other
Pi Coding Agent extension (CLI-first) — routes bash/read/grep/find/ls through lean-ctx CLI for strong token savings. Optional MCP bridge can register advanced tools.
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 60-95% fewer tokens, same answers. Library, proxy, MCP server.
97% token reduction for AI coding sessions — zero deps, 21 languages, MCP server
Autonomous spec-to-product coding-agent CLI with an MCP server exposing 34 tools over stdio.
MCP Security Weekly
Get CVE alerts and security updates for Bazi Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Unlock precise Bazi insights with the Bazi MCP, the first AI-powered Bazi calculator. Built to address inaccuracies in existing AI fortune-telling tools like GPT and DeepSeek, our MCP delivers reliable Bazi data for personality analysis, destiny forecasting, and more.
Originating from the popular Chinese Bazi Fortune Teller GPTs in the GPT Store, this project is now integrated with Cantian AI (cantian.ai). We invite Bazi practitioners and AI enthusiasts to collaborate, share insights, and contribute to our open-source community.
八字 MCP是参天 AI 推出的首个面向玄学领域的 MCP,针对 GPT 和 DeepSeek 等算命工具常出现的排盘错误,提供精准的八字数据,助力性格分析、命运预测等应用。
项目源于 GPT Store 热门应用Chinese Bazi Fortune Teller,现已融入参天 AI平台 (cantian.ai)。我们诚邀命理研究者与 AI 开发者加入,共同推动中国传统文化的传承与创新。
微信:
Node.js 22 版本或以上。
Node.js 22 or above.
npm start
配置 AI 应用(例如 Claude Descktop)。
Configure AI application (e.g. Claude Desktop).
{
"mcpServers": {
"Bazi": {
"command": "npx",
"args": ["bazi-mcp"]
}
}
}
To install bazi-mcp for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @cantian-ai/bazi-mcp --client claude
根据给定的公历或农历时间计算八字信息。 Calculate the Bazi results based on the solar/lunar datetime.
solarDatetime: String
ISO 格式的阳历时间。例如:
2000-05-15T12:00:00+08:00。
Solar datetime in ISO format. Example:2000-05-15T12:00:00+08:00.
lunarDatetime: String
农历时间。例如:
2000-05-15 12:00:00。
Lunar datetime. Example:2000-05-15 12:00:00.
gender: Number
性别。可选。0 - 女,1-男。默认 1。
Gender. Optional. 0 for female, 1 for male. 1 by default.
eightCharProviderSect: Number
早晚子时配置。可选。1 - 表示 23:00-23:59 日干支为明天,2 - 表示 23:00-23:59 日干支为当天。默认 2。 Configuration for eight char provider. Optional. 1 for meaning the day stem of 23:00-23:59 is for tomorrow, 2 for meaning the day stem of 23:00-23:59 is for today. 2 by default.
{
"性别": "男",
"阳历": "1998年7月31日 14:10:00",
"农历": "农历戊寅年六月初九辛未时",
"八字": "戊寅 己未 己卯 辛未",
"生肖": "虎",
"日主": "己",
"年柱": {
"天干": {
"天干": "戊",
"五行": "土",
"阴阳": "阳",
"十神": "劫财"
},
"地支": {
"地支": "寅",
"五行": "木",
"阴阳": "阳",
"藏干": {
"主气": {
"天干": "甲",
"十神": "正官"
},
"中气": {
"天干": "丙",
"十神": "正印"
},
"余气": {
"天干": "戊",
"十神": "劫财"
}
}
},
"纳音": "城头土",
"旬": "甲戌",
"空亡
... [View full README on GitHub](https://github.com/cantian-ai/bazi-mcp#readme)