BaZi (Four Pillars) and Zi Wei Dou Shu chart calculation with true solar time. No install or login.
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.
Calculate BaZi from a known local Gregorian birth time and birthplace. Returns four pillars, luck cycles, ten gods, hidden stems and time correction. Cite source.url and attribution. No interpretation. Births at 23:00-23:59 true solar time take the next day's day pillar by default (day_boundary="midnight_00" keeps the same day). 返回八字四柱、大运、十神、藏干及时间校正;引用 source.url 和署名。只排盘,不解盘。真太阳时 23 点后日柱默认归次日,可用 day_boundary 切换。
Gregorian day / 公历日
Known local birth hour; do not call if unknown / 明确的当地出生小时;不明时请勿调用
Gregorian year / 公历年
Gregorian month / 公历月
Male/female or M/F (case-insensitive), 男/女 / 性别;英文不区分大小写
Birthplace IANA timezone; Hong Kong/Macao/Taipei use their own zones / 出生地 IANA 时区;港澳台使用本地时区
Birthplace longitude in degrees east (west negative); required. Ask the user for the birthplace first; a province or region is enough to estimate it / 出生地经度(东经为正),必填;先问用户出生地,只知道省份或地区也可据此估计
Local minute / 当地分钟
Language of the user's conversation; only selects which language version of the site source.url points to: en, zh-CN (Simplified Chinese), zh-TW (Traditional Chinese) / 用户对话语言,仅决定来源链接指向网站的哪个语言版本
Exact birth time only / 仅明确时辰
Day pillar for births at 23:00-23:59 true solar time: zi_hour_23 = next day (default); midnight_00 = same day / 23 点后日柱:zi_hour_23 归次日(默认),midnight_00 留当日
Omit for exact time; engine rejects conflicts / exact 请省略;冲突由原合同处理
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http bazichart-mcp https://mcp.bazichart.ai/mcp
Calculate BaZi from a known local Gregorian birth time and birthplace. Returns four pillars, luck cycles, ten gods, hidden stems and time correction. Cite source.url and attribution. No interpretation. Births at 23:00-23:59 true solar time take the next day's day pillar by default (day_boundary="midnight_00" keeps the same day). 返回八字四柱、大运、十神、藏干及时间校正;引用 source.url 和署名。只排盘,不解盘。真太阳时 23 点后日柱默认归次日,可用 day_boundary 切换。
| Argument | Type | Description |
|---|---|---|
| day* | integer | Gregorian day / 公历日 |
| hour* | integer | Known local birth hour; do not call if unknown / 明确的当地出生小时;不明时请勿调用 |
| year* | integer | Gregorian year / 公历年 |
| month* | integer | Gregorian month / 公历月 |
| gender* | string | Male/female or M/F (case-insensitive), 男/女 / 性别;英文不区分大小写 |
| minute | integer | Local minute / 当地分钟 |
| language | string | Language of the user's conversation; only selects which language version of the site source.url points to: en, zh-CN (Simplified Chinese), zh-TW (Traditional Chinese) / 用户对话语言,仅决定来源链接指向网站的哪个语言版本 |
| timezone* | string | Birthplace IANA timezone; Hong Kong/Macao/Taipei use their own zones / 出生地 IANA 时区;港澳台使用本地时区 |
| longitude* | number | null | Birthplace longitude in degrees east (west negative); required. Ask the user for the birthplace first; a province or region is enough to estimate it / 出生地经度(东经为正),必填;先问用户出生地,只知道省份或地区也可据此估计 |
| precision | string | Exact birth time only / 仅明确时辰 |
| day_boundary | string | Day pillar for births at 23:00-23:59 true solar time: zi_hour_23 = next day (default); midnight_00 = same day / 23 点后日柱:zi_hour_23 归次日(默认),midnight_00 留当日 |
| shichen_index | integer | null | Omit for exact time; engine rejects conflicts / exact 请省略;冲突由原合同处理 |
{
"type": "object",
"required": [
"year",
"month",
"day",
"hour",
"gender",
"longitude",
"timezone"
],
"properties": {
"day": {
"type": "integer",
"maximum": 31,
"minimum": 1,
"description": "Gregorian day / 公历日"
},
"hour": {
"type": "integer",
"maximum": 23,
"minimum": 0,
"description": "Known local birth hour; do not call if unknown / 明确的当地出生小时;不明时请勿调用"
},
"year": {
"type": "integer",
"maximum": 2100,
"minimum": 1900,
"description": "Gregorian year / 公历年"
},
"month": {
"type": "integer",
"maximum": 12,
"minimum": 1,
"description": "Gregorian month / 公历月"
},
"gender": {
"type": "string",
"description": "Male/female or M/F (case-insensitive), 男/女 / 性别;英文不区分大小写"
},
"minute": {
"type": "integer",
"default": 0,
"maximum": 59,
"minimum": 0,
"description": "Local minute / 当地分钟"
},
"language": {
"enum": [
"en",
"zh-CN",
"zh-TW"
],
"type": "string",
"default": "en",
"description": "Language of the user's conversation; only selects which language version of the site source.url points to: en, zh-CN (Simplified Chinese), zh-TW (Traditional Chinese) / 用户对话语言,仅决定来源链接指向网站的哪个语言版本"
},
"timezone": {
"type": "string",
"description": "Birthplace IANA timezone; Hong Kong/Macao/Taipei use their own zones / 出生地 IANA 时区;港澳台使用本地时区"
},
"longitude": {
"type": [
"number",
"null"
],
"maximum": 180,
"minimum": -180,
"description": "Birthplace longitude in degrees east (west negative); required. Ask the user for the birthplace first; a province or region is enough to estimate it / 出生地经度(东经为正),必填;先问用户出生地,只知道省份或地区也可据此估计"
},
"precision": {
"type": "string",
"const": "exact",
"default": "exact",
"description": "Exact birth time only / 仅明确时辰"
},
"day_boundary": {
"enum": [
"zi_hour_23",
"midnight_00"
],
"type": "string",
"default": "zi_hour_23",
"description": "Day pillar for births at 23:00-23:59 true solar time: zi_hour_23 = next day (default); midnight_00 = same day / 23 点后日柱:zi_hour_23 归次日(默认),midnight_00 留当日"
},
"shichen_index": {
"type": [
"integer",
"null"
],
"maximum": 11,
"minimum": 0,
"description": "Omit for exact time; engine rejects conflicts / exact 请省略;冲突由原合同处理"
}
},
"additionalProperties": false
}Calculate a Ziwei natal chart. Overseas birthplaces (including HK/Macao/Taiwan) use local true solar time; longitude required. Returns palaces, major stars and four transformations. Cite source.url and attribution. No interpretation or accuracy certification. The year stem-branch changes on Lunar New Year by default (year_boundary="lichun" switches to Start of Spring). 返回紫微十二宫、主星、四化与大限;海外含港澳台按当地真太阳时。引用来源;不解盘。年干支默认正月初一换年,可用 year_boundary 切换为立春。
| Argument | Type | Description |
|---|---|---|
| day* | integer | Gregorian day / 公历日 |
| hour* | integer | Known local birth hour; do not call if unknown / 明确的当地出生小时;不明时请勿调用 |
| year* | integer | Gregorian year / 公历年 |
| month* | integer | Gregorian month / 公历月 |
| gender* | string | Male/female or M/F (case-insensitive), 男/女 / 性别;英文不区分大小写 |
| minute | integer | Local minute / 当地分钟 |
| language | string | Language of the user's conversation; only selects which language version of the site source.url points to: en, zh-CN (Simplified Chinese), zh-TW (Traditional Chinese) / 用户对话语言,仅决定来源链接指向网站的哪个语言版本 |
| timezone | string | Birthplace IANA timezone; Hong Kong/Macao/Taipei use their own zones / 出生地 IANA 时区;港澳台使用本地时区 |
| longitude* | number | null | Birthplace longitude in degrees east (west negative); required. Ask the user for the birthplace first; a province or region is enough to estimate it / 出生地经度(东经为正),必填;先问用户出生地,只知道省份或地区也可据此估计 |
| precision | string | Exact birth time only / 仅明确时辰 |
| shichen_index | integer | null | Omit for exact time; engine rejects conflicts / exact 请省略;冲突由原合同处理 |
| year_boundary | string | Year stem-branch boundary: lunar_new_year = changes on Lunar New Year (default); lichun = changes at Start of Spring / 年干支年界:lunar_new_year 正月初一换年(默认),lichun 立春换年 |
{
"type": "object",
"required": [
"year",
"month",
"day",
"hour",
"gender",
"longitude"
],
"properties": {
"day": {
"type": "integer",
"maximum": 31,
"minimum": 1,
"description": "Gregorian day / 公历日"
},
"hour": {
"type": "integer",
"maximum": 23,
"minimum": 0,
"description": "Known local birth hour; do not call if unknown / 明确的当地出生小时;不明时请勿调用"
},
"year": {
"type": "integer",
"maximum": 2100,
"minimum": 1900,
"description": "Gregorian year / 公历年"
},
"month": {
"type": "integer",
"maximum": 12,
"minimum": 1,
"description": "Gregorian month / 公历月"
},
"gender": {
"type": "string",
"description": "Male/female or M/F (case-insensitive), 男/女 / 性别;英文不区分大小写"
},
"minute": {
"type": "integer",
"default": 0,
"maximum": 59,
"minimum": 0,
"description": "Local minute / 当地分钟"
},
"language": {
"enum": [
"en",
"zh-CN",
"zh-TW"
],
"type": "string",
"default": "en",
"description": "Language of the user's conversation; only selects which language version of the site source.url points to: en, zh-CN (Simplified Chinese), zh-TW (Traditional Chinese) / 用户对话语言,仅决定来源链接指向网站的哪个语言版本"
},
"timezone": {
"type": "string",
"default": "Asia/Shanghai",
"description": "Birthplace IANA timezone; Hong Kong/Macao/Taipei use their own zones / 出生地 IANA 时区;港澳台使用本地时区"
},
"longitude": {
"type": [
"number",
"null"
],
"maximum": 180,
"minimum": -180,
"description": "Birthplace longitude in degrees east (west negative); required. Ask the user for the birthplace first; a province or region is enough to estimate it / 出生地经度(东经为正),必填;先问用户出生地,只知道省份或地区也可据此估计"
},
"precision": {
"type": "string",
"const": "exact",
"default": "exact",
"description": "Exact birth time only / 仅明确时辰"
},
"shichen_index": {
"type": [
"integer",
"null"
],
"maximum": 11,
"minimum": 0,
"description": "Omit for exact time; engine rejects conflicts / exact 请省略;冲突由原合同处理"
},
"year_boundary": {
"enum": [
"lunar_new_year",
"lichun"
],
"type": "string",
"default": "lunar_new_year",
"description": "Year stem-branch boundary: lunar_new_year = changes on Lunar New Year (default); lichun = changes at Start of Spring / 年干支年界:lunar_new_year 正月初一换年(默认),lichun 立春换年"
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 17, 2026.