Server data from the Official MCP Registry
Generate BaZi charts from birth details. Explore Four Pillars, solar terms, and Luck Pillars for d…
About
Generate BaZi charts from birth details. Explore Four Pillars, solar terms, and Luck Pillars for d…
Remote endpoints: streamable-http: https://server.smithery.ai/@minionszyw/bazi/mcp
Security Report
Valid MCP server (0 strong, 3 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.
5 files analyzed · No 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": {
"ai-smithery-minionszyw-bazi": {
"url": "https://server.smithery.ai/@minionszyw/bazi/mcp"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
bazi-read · 八字排盘与 AI 解读
面向 AI Agent 的八字(BaZi)排盘与命理分析工具,提供 Agent Skill 和独立 CLI。
BaZi / Four Pillars of Destiny chart calculation and interpretation workflow for AI agents.
用自然语言提供出生资料,由本地引擎计算原局与岁运,Agent 依据古籍分析指南生成报告、讲解命盘,并接续追问。
出生资料 → 排盘 → 分析报告 → 解盘 → 追问
特性
- 对话分析:解析出生资料,依次分析原局、岁运和性情、学习、事业、财务、婚恋、六亲。
- 本地排盘:支持公历与农历输入,计算四柱、藏干、十神、节令、大运与指定流年,按需展开流月。
- 规则可查:支持真太阳时、平太阳时和民用时间,明确换年、换月、换日及晚子时口径,可对照不同规则。
- 依据可追溯:内置六部古籍检索参考文本;报告区分排盘事实、所用论法、古籍出处、成立条件及未决因素。
- 资料可复用:使用统一 JSON 报告保存分析,支持多份出生资料与报告版本,继续追问时复用已有资料。
引擎负责可计算资料,Agent 负责命理解释;分析能力由技能、指南和模板组织。
快速开始
要求 Python 3.10+。进入项目根目录后,创建虚拟环境并安装:
python3 -m venv .venv
.venv/bin/pip install -e .
已有环境时可复用;Agent 会先检查依赖,仅在缺少时安装。安装完成后,可通过下面的 Agent 或 CLI 入口使用。
Agent 使用
Codex:技能位于项目级目录 .agents/skills/bazi-read/SKILL.md。在项目根目录打开 Codex,输入 $bazi-read 选择技能并提供出生资料;若技能未出现,重启 Codex 后再试。目录与调用方式见官方说明。
其他 Agent:将 .agents/skills/bazi-read/ 整个目录移至对应的技能目录,按该 Agent 的方式加载。保留完整项目并在项目根目录工作;技能安装在项目外时,仍按项目根定位源码、指南和模板。
提供出生资料
提供性别、历法、出生年月日时分、出生地或经度,以及出生记录的时区;姓名可选。例如:
在 Codex 中使用 $bazi-read 指定技能,例如:
$bazi-read 小林,男,公历1990年5月17日14:30,广东深圳出生
Agent 核对资料后排盘,按指南分析日干月令、力量、格局、寒暖燥湿、气势及喜忌,再结合大运、流年完成分项分析。关键资料有歧义时先补问。
首次默认分析十步大运及当前立春年,完整报告保存为 outputs/<case_id>.json。返回文件链接后,Agent 直接用自然语言讲解原局主线、当前岁运和分项重点。
继续追问
刚才为什么这样判断事业?请结合命盘解释。
可继续讨论已有结论,也可指定其他年份或月份。追问单独用自然语言回答,不写入完整报告。
更新报告
请把小林明年的分析更新到报告,保留旧版。
明确要求更新时,另存为 outputs/<case_id>-002.json 等递增版本,保留旧文件。资料识别、复用和修订约定见技能工作流。
CLI 使用
CLI 可独立计算排盘、对照规则和查询地点,结果以 JSON 输出到终端。
准备输入
将以下内容保存为项目根目录下的 case.json:
{
"birth": {
"sex": "male",
"calendar": "solar",
"year": 1990,
"month": 5,
"day": 17,
"hour": 14,
"minute": 30,
"longitude": 116.405285,
"timezone": "Asia/Shanghai"
},
"rules": {
"time_basis": "apparent"
},
"options": {
"luck_count": 10,
"analysis_year": 2026
}
}
luck_count 为大运步数;analysis_year: 2026 指定分析2026立春年,并非自动选择当前年份。case.json 是排盘输入,完整报告模板用于 Agent 分析输出。
字段和可选规则见排盘约定。
执行命令
在项目根目录运行:
# 原局与指定年份的岁运排盘
.venv/bin/bazi-read chart --input case.json
# 对照时间和换日规则
.venv/bin/bazi-read compare --input case.json
# 查询出生地
.venv/bin/bazi-read places 东城区
CLI 提供排盘事实,命理分析、完整报告保存及解盘由 Agent 工作流完成。
文档
| 文档 | 内容 |
|---|---|
| 技能文档 | 环境检查、执行流程、输入字段及排盘约定 |
| 分析指南 | 古籍论法、原局与岁运分析、报告组织及解盘方法 |
| 输出模板 | 完整 JSON 分析报告的统一骨架 |
| 古籍文本 | 六部 UTF-8 TXT,克隆后即可本地检索,无须 PDF 或多模态模型 |
| 来源与校验 | 版本与收录范围、来源链接、章节行号、哈希、校改及待核问题 |
古籍包括《渊海子平》《三命通会》《子平真诠》《神峰通考》《滴天髓》《穷通宝鉴》。Agent 按需检索相关篇章并阅读上下文,具体收录范围和引用方式见古籍依据。
限制与致谢
- 资料与精度:出生公历年支持1900—2100,生时需准确到分钟;太阳时计算需要经度。计算结果的秒数不代表出生记录具有同等精度。
- 古籍与解释:内置文本为检索参考本,尚非逐字精校本;PDF 不随仓库提供,仅作可选复核。电子整理文本的再分发授权尚未确认,来源记录不构成开放许可声明。分析应区分原文、注文与归纳;报告属于传统体系的条件性解释,排盘正确和古籍有载不代表预测必然准确。
- 数据与环境:地点表为近似坐标,来源、坐标系及再分发许可尚待确认;Agent 使用的模型及数据处理方式由实际运行环境决定。
历法计算依赖 sxtwl(BSD-3-Clause),时区数据由 tzdata 提供。感谢寿星天文历原作者许剑伟及 sxtwl 维护者。 古籍核验与计算口径的详细说明见分析指南。
Reviews
No reviews yet
Be the first to review this server!
More File & Storage MCP Servers
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.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Lharries · Communication
Read, search, and send WhatsApp messages through your AI assistant
FinAgent
Freeby mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.
Memory
Freeby Modelcontextprotocol · Productivity
Knowledge graph-based persistent memory across sessions
