BaZi (Chinese Four Pillars) chart calculator. Structured chart data only, no predictions.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
知己排盘引擎:输入出生时间(公历/农历/直接给四柱),返回完整八字排盘 JSON(四柱、十神、藏干、大运、旺衰、格局、调候等)。只做计算,不含解读文案、不做预测;转述结果时给结构不给吉凶断语,并说明身强弱与格局各流派口径不同。Compute a full BaZi (Four Pillars) chart from a birth datetime. Returns structured data only, no predictions or readings.
solar=公历(填 gregorianLocal);lunar=农历(填 lunarInput);pillar=直接四柱(填 pillarInput)
性别(男=true),影响大运顺逆
IANA 时区,默认 Asia/Shanghai
出生城市(可选,展示用)
出生地经度,配合 useTrueSolarTime
晚子时日柱归属规则,默认 sameDay
干支各两字,如 {year:'甲子',month:'丙寅',day:'戊辰',hour:'壬子'}
公历本地时间,格式 YYYY-MM-DDTHH:mm:ss(inputMode=solar 必填)
是否按真太阳时排盘,默认 false
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
知己排盘引擎:输入出生时间(公历/农历/直接给四柱),返回完整八字排盘 JSON(四柱、十神、藏干、大运、旺衰、格局、调候等)。只做计算,不含解读文案、不做预测;转述结果时给结构不给吉凶断语,并说明身强弱与格局各流派口径不同。Compute a full BaZi (Four Pillars) chart from a birth datetime. Returns structured data only, no predictions or readings.
| Argument | Type | Description |
|---|
| isMale | boolean | 性别(男=true),影响大运顺逆 |
| timeZone | string | IANA 时区,默认 Asia/Shanghai |
| birthCity | string | 出生城市(可选,展示用) |
| inputMode* | string | solar=公历(填 gregorianLocal);lunar=农历(填 lunarInput);pillar=直接四柱(填 pillarInput) |
| longitude | number | 出生地经度,配合 useTrueSolarTime |
| zishiRule | string | 晚子时日柱归属规则,默认 sameDay |
| lunarInput | object |
| pillarInput | object | 干支各两字,如 {year:'甲子',month:'丙寅',day:'戊辰',hour:'壬子'} |
| gregorianLocal | string | 公历本地时间,格式 YYYY-MM-DDTHH:mm:ss(inputMode=solar 必填) |
| useTrueSolarTime | boolean | 是否按真太阳时排盘,默认 false |
{
"type": "object",
"required": [
"inputMode"
],
"properties": {
"isMale": {
"type": "boolean",
"description": "性别(男=true),影响大运顺逆"
},
"timeZone": {
"type": "string",
"description": "IANA 时区,默认 Asia/Shanghai"
},
"birthCity": {
"type": "string",
"description": "出生城市(可选,展示用)"
},
"inputMode": {
"enum": [
"solar",
"lunar",
"pillar"
],
"type": "string",
"description": "solar=公历(填 gregorianLocal);lunar=农历(填 lunarInput);pillar=直接四柱(填 pillarInput)"
},
"longitude": {
"type": "number",
"description": "出生地经度,配合 useTrueSolarTime"
},
"zishiRule": {
"enum": [
"sameDay",
"nextDay",
"legacyCompat"
],
"type": "string",
"description": "晚子时日柱归属规则,默认 sameDay"
},
"lunarInput": {
"type": "object",
"properties": {
"day": {
"type": "integer",
"maximum": 30,
"minimum": 1
},
"hour": {
"type": "integer",
"maximum": 23,
"minimum": 0
},
"year": {
"type": "integer"
},
"month": {
"type": "integer",
"maximum": 12,
"minimum": 1
},
"isLeap": {
"type": "boolean"
},
"minute": {
"type": "integer",
"maximum": 59,
"minimum": 0
}
}
},
"pillarInput": {
"type": "object",
"properties": {
"day": {
"type": "string"
},
"hour": {
"type": "string"
},
"year": {
"type": "string"
},
"month": {
"type": "string"
}
},
"description": "干支各两字,如 {year:'甲子',month:'丙寅',day:'戊辰',hour:'壬子'}"
},
"gregorianLocal": {
"type": "string",
"description": "公历本地时间,格式 YYYY-MM-DDTHH:mm:ss(inputMode=solar 必填)"
},
"useTrueSolarTime": {
"type": "boolean",
"description": "是否按真太阳时排盘,默认 false"
}
}
}