bazi-mcp

查看源码
2025-5-11
Words 1669Read Time 5 min
Score:85

提供精准的八字排盘服务,支持农历和阳历时间,为AI应用提供可靠的八字数据。

TypeScript

Bazi MCP (八字 MCP) by Cantian AI

通过 Bazi MCP,解锁精准的八字洞察。作为首个由 AI 驱动的八字计算工具,Bazi MCP 旨在解决现有 AI 算命工具(如 GPT 和 DeepSeek)中的不准确问题,提供可靠的八字数据,助力性格分析、命运预测等应用。

为什么选择 Bazi MCP?

  • 精准的八字计算:提供深入的八字信息。
  • AI 智能体集成:为 AI 智能体提供精确的八字数据。
  • 社区驱动:加入爱好者,共同推动中国玄学的发展。
该项目源自 GPT Store 中的热门应用 Chinese Bazi Fortune Teller,现已与 Cantian AI (cantian.ai) 平台整合。我们诚邀八字研究者和 AI 爱好者加入,共同分享见解,为开源社区贡献力量。

参与方式

中文

八字 MCP 是参天 AI 推出的首个面向玄学领域的 MCP,针对 GPT 和 DeepSeek 等算命工具常出现的排盘错误,提供精准的八字数据,助力性格分析、命运预测等应用。

八字 MCP 亮点

  • 精准排盘:提供全面的八字排盘信息。
  • AI 赋能:为 AI 智能体提供可靠八字服务。
  • 社区共建:欢迎命理爱好者参与交流与开发。
项目源于 GPT Store 热门应用 Chinese Bazi Fortune Teller,现已融入 参天 AI 平台 (cantian.ai)。我们诚邀命理研究者与 AI 开发者加入,共同推动中国传统文化的传承与创新。

联系我们

  • 微信

前置需求 | Prerequisite

Node.js 22 版本或以上。
Node.js 22 or above.

开始使用 | Start

配置 AI 应用(例如 Claude Descktop)。
Configure AI application (e.g. Claude Desktop).

通过 Smithery 安装

通过 Smithery 自动为 Claude Desktop 安装 bazi-mcp:

工具列表 | Tools

buildBaziFromLunarDatetime

根据农历时间计算八字结果。Calculate the BaZi results based on the lunar datetime.

参数 | Arguments

  • lunarDatetime: String
    • 农历时间。例如:2000-05-15 12:00:00Lunar 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.

buildBaziFromSolarDatetime

根据阳历时间计算八字结果。Calculate the BaZi results based on the solar datetime.

参数 | Arguments

  • lunarDatetime: String
    • ISO 格式的阳历时间。例如:2000-05-15T12:00:00+08:00Solar datetime in ISO format. Example: 2000-05-15T12:00:00+08:00.
  • gender: Number
    • 性别。可选。0 - 女,1-男。Gender. Optional. 0 for female, 1 for male.
  • 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.

八字结果 | Bazi result

工具返回的八字结果实例:
Example of the result returned from MCP server:
关键词: Bazi MCP, Bazi AI Agent, Fengshui AI Agent, Bazi Calculator MCP, Bazi Calculator AI, Cantian AI
上一篇
kom
下一篇
CAD-MCP