知己排盘 BaZi
BaZi (Chinese Four Pillars) chart calculator. Structured chart data only, no predictions.
我該用這個嗎
品質與安全性
A
根據工具定義與協定合規性的自動化分析。
上下文成本
~579Token(工具定義)
~3.8 KB典型回應大小
極小的注意力影響(128k 上下文的 0.45%)
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"zhiji-bazi": {
"command": "npx",
"args": [
"zhiji-bazi"
]
}
}
}可執行的套件
npmzhiji-bazi
0.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 個工具