知己排盘 BaZi

BaZi (Chinese Four Pillars) chart calculator. Structured chart data only, no predictions.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
98%
命名质量
80%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~579token 数(工具定义)
~3.8 KB典型响应大小
对注意力的影响极小(占 128k 上下文窗口的 0.45%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "zhiji-bazi": {
      "command": "npx",
      "args": [
        "zhiji-bazi"
      ]
    }
  }
}

可运行的软件包

npmzhiji-bazi0.2.1stdio

远程端点

https://zhijipaipan.com/bazi-api/mcpstreamable-http

它能做什么

工具清单

工具(1)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢bazi_compute(inputMode, gregorianLocal, timeZone, birthCity, longitude, ...)

知己排盘引擎:输入出生时间(公历/农历/直接给四柱),返回完整八字排盘 JSON(四柱、十神、藏干、大运、旺衰、格局、调候等)。只做计算,不含解读文案、不做预测;转述结果时给结构不给吉凶断语,并说明身强弱与格局各流派口径不同。Compute a full BaZi (Four Pillars) chart from a birth datetime. Returns structured data only, no predictions or readings.

输入模式

{
  "type": "object",
  "properties": {
    "inputMode": {
      "type": "string",
      "enum": [
        "solar",
        "lunar",
        "pillar"
      ],
      "description": "solar=公历(填 gregorianLocal);lunar=农历(填 lunarInput);pillar=直接四柱(填 pillarInput)"
    },
    "gregorianLocal": {
      "type": "string",
      "description": "公历本地时间,格式 YYYY-MM-DDTHH:mm:ss(inputMode=solar 必填)"
    },
    "timeZone": {
      "type": "string",
      "description": "IANA 时区,默认 Asia/Shanghai"
    },
    "birthCity": {
      "type": "string",
      "description": "出生城市(可选,展示用)"
    },
    "longitude": {
      "type": "number",
      "description": "出生地经度,配合 useTrueSolarTime"
    },
    "useTrueSolarTime": {
      "type": "boolean",
      "description": "是否按真太阳时排盘,默认 false"
    },
    "zishiRule": {
      "type": "string",
      "enum": [
        "sameDay",
        "nextDay",
        "legacyCompat"
      ],
      "description": "晚子时日柱归属规则,默认 sameDay"
    },
    "isMale": {
      "type": "boolean",
      "description": "性别(男=true),影响大运顺逆"
    },
    "lunarInput": {
      "type": "object",
      "properties": {
        "year": {
          "type": "integer"
        },
        "month": {
          "type": "integer",
          "minimum": 1,
          "maximum": 12
        },
        "day": {
          "type": "integer",
          "minimum": 1,
          "maximum": 30
        },
        "isLeap": {
          "type": "boolean"
        },
        "hour": {
          "type": "integer",
          "minimum": 0,
          "maximum": 23
        },
        "minute": {
          "type": "integer",
          "minimum": 0,
          "maximum": 59
        }
      }
    },
    "pillarInput": {
      "type": "object",
      "properties": {
        "year": {
          "type": "string"
        },
        "month": {
          "type": "string"
        },
        "day": {
          "type": "string"
        },
        "hour": {
          "type": "string"
        }
      },
      "description": "干支各两字,如 {year:'甲子',month:'丙寅',day:'戊辰',hour:'壬子'}"
    }
  },
  "required": [
    "inputMode"
  ]
}

社区

评价此服务器

证据

最近观测

已验证未记录版本1 个工具
已验证未记录版本1 个工具
已验证未记录版本1 个工具