
Calculate Zi Wei Dou Shu 12-palace natal charts, stars, Four Transformations, and decadal luck.
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.
Compute a complete Zi Wei Dou Shu (紫微斗數) natal chart from birth date, birth time or shichen index, and gender. Returns Ming Palace (命宮), Body Palace (身宮), Five Elements Bureau (五行局), Soul/Body Masters, BaZi pillars, Ming Palace San Fang Si Zheng (三方四正), all 12 palaces with stars/brightness/Four Transformations (四化), and all 12 Decadal Luck periods (十年大限).
Birth gender ('male' or 'female'), used to determine clockwise/counterclockwise Decadal Luck (大限) order.
Birth date in YYYY-MM-DD format (1900-01-01 to 2100-12-31), e.g. '1992-08-15'. Interpreted as Gregorian solar date unless calendar is 'lunar'.
Optional birthplace city slug (e.g. 'taipei', 'hongkong', 'beijing', 'shanghai', 'tokyo', 'seoul', 'singapore', 'newyork', 'losangeles', 'london') to apply historical timezone/DST and longitude true-solar-time adjustment when birthTime is provided.
Optional calendar system for birthDate: 'solar' (Gregorian, default) or 'lunar' (Chinese lunar calendar).
24-hour local birth time in HH:mm format (00:00 to 23:59), e.g. '14:30'. Provide either birthTime or timeIndex.
Optional leap-month flag when calendar is 'lunar'. Must be false or omitted when calendar is 'solar'.
Traditional Chinese shichen (時辰) index 0-12 (0=早子時 00:00-00:59, 1=丑時, 2=寅時, 3=卯時, 4=辰時, 5=巳時, 6=午時, 7=未時, 8=申時, 9=酉時, 10=戌時, 11=亥時, 12=晚子時 23:00-23:59). Provide either timeIndex or birthTime.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http ziwei-chart https://ziweihome.com/api/mcp
Compute a complete Zi Wei Dou Shu (紫微斗數) natal chart from birth date, birth time or shichen index, and gender. Returns Ming Palace (命宮), Body Palace (身宮), Five Elements Bureau (五行局), Soul/Body Masters, BaZi pillars, Ming Palace San Fang Si Zheng (三方四正), all 12 palaces with stars/brightness/Four Transformations (四化), and all 12 Decadal Luck periods (十年大限).
| Argument | Type | Description |
|---|---|---|
| cityId | string | Optional birthplace city slug (e.g. 'taipei', 'hongkong', 'beijing', 'shanghai', 'tokyo', 'seoul', 'singapore', 'newyork', 'losangeles', 'london') to apply historical timezone/DST and longitude true-solar-time adjustment when birthTime is provided. |
| gender* | string | Birth gender ('male' or 'female'), used to determine clockwise/counterclockwise Decadal Luck (大限) order. |
| calendar | string | Optional calendar system for birthDate: 'solar' (Gregorian, default) or 'lunar' (Chinese lunar calendar). |
| birthDate* | string | Birth date in YYYY-MM-DD format (1900-01-01 to 2100-12-31), e.g. '1992-08-15'. Interpreted as Gregorian solar date unless calendar is 'lunar'. |
| birthTime | string | 24-hour local birth time in HH:mm format (00:00 to 23:59), e.g. '14:30'. Provide either birthTime or timeIndex. |
| lunarLeap | boolean | Optional leap-month flag when calendar is 'lunar'. Must be false or omitted when calendar is 'solar'. |
| timeIndex | integer | Traditional Chinese shichen (時辰) index 0-12 (0=早子時 00:00-00:59, 1=丑時, 2=寅時, 3=卯時, 4=辰時, 5=巳時, 6=午時, 7=未時, 8=申時, 9=酉時, 10=戌時, 11=亥時, 12=晚子時 23:00-23:59). Provide either timeIndex or birthTime. |
{
"type": "object",
"required": [
"birthDate",
"gender"
],
"properties": {
"cityId": {
"type": "string",
"maxLength": 32,
"minLength": 1,
"description": "Optional birthplace city slug (e.g. 'taipei', 'hongkong', 'beijing', 'shanghai', 'tokyo', 'seoul', 'singapore', 'newyork', 'losangeles', 'london') to apply historical timezone/DST and longitude true-solar-time adjustment when birthTime is provided."
},
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "Birth gender ('male' or 'female'), used to determine clockwise/counterclockwise Decadal Luck (大限) order."
},
"calendar": {
"enum": [
"solar",
"lunar"
],
"type": "string",
"default": "solar",
"description": "Optional calendar system for birthDate: 'solar' (Gregorian, default) or 'lunar' (Chinese lunar calendar)."
},
"birthDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Birth date in YYYY-MM-DD format (1900-01-01 to 2100-12-31), e.g. '1992-08-15'. Interpreted as Gregorian solar date unless calendar is 'lunar'."
},
"birthTime": {
"type": "string",
"pattern": "^\\d{2}:\\d{2}$",
"description": "24-hour local birth time in HH:mm format (00:00 to 23:59), e.g. '14:30'. Provide either birthTime or timeIndex."
},
"lunarLeap": {
"type": "boolean",
"default": false,
"description": "Optional leap-month flag when calendar is 'lunar'. Must be false or omitted when calendar is 'solar'."
},
"timeIndex": {
"type": "integer",
"maximum": 12,
"minimum": 0,
"description": "Traditional Chinese shichen (時辰) index 0-12 (0=早子時 00:00-00:59, 1=丑時, 2=寅時, 3=卯時, 4=辰時, 5=巳時, 6=午時, 7=未時, 8=申時, 9=酉時, 10=戌時, 11=亥時, 12=晚子時 23:00-23:59). Provide either timeIndex or birthTime."
}
},
"additionalProperties": false
}Compute Zi Wei Dou Shu time-layer overlays — Decadal (大限), Yearly (流年), Monthly (流月), and Daily (流日) luck palaces, heavenly stems, earthly branches, and Four Transformations (四化) — for a natal chart on a target date (defaults to today in UTC+8).
| Argument | Type | Description |
|---|---|---|
| cityId | string | Optional birthplace city slug (e.g. 'taipei', 'hongkong', 'beijing', 'shanghai', 'tokyo', 'seoul', 'singapore', 'newyork', 'losangeles', 'london') to apply historical timezone/DST and longitude true-solar-time adjustment when birthTime is provided. |
| gender* | string | Birth gender ('male' or 'female'), used to determine clockwise/counterclockwise Decadal Luck (大限) order. |
| calendar | string | Optional calendar system for birthDate: 'solar' (Gregorian, default) or 'lunar' (Chinese lunar calendar). |
| birthDate* | string | Birth date in YYYY-MM-DD format (1900-01-01 to 2100-12-31), e.g. '1992-08-15'. Interpreted as Gregorian solar date unless calendar is 'lunar'. |
| birthTime | string | 24-hour local birth time in HH:mm format (00:00 to 23:59), e.g. '14:30'. Provide either birthTime or timeIndex. |
| lunarLeap | boolean | Optional leap-month flag when calendar is 'lunar'. Must be false or omitted when calendar is 'solar'. |
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 27, 2026.
| timeIndex | integer | Traditional Chinese shichen (時辰) index 0-12 (0=早子時 00:00-00:59, 1=丑時, 2=寅時, 3=卯時, 4=辰時, 5=巳時, 6=午時, 7=未時, 8=申時, 9=酉時, 10=戌時, 11=亥時, 12=晚子時 23:00-23:59). Provide either timeIndex or birthTime. |
| targetDate | string | Optional Gregorian solar target date in YYYY-MM-DD format (1900-01-01 to 2100-12-31), e.g. '2026-11-27'. Defaults to today (Asia/Taipei). |
{
"type": "object",
"required": [
"birthDate",
"gender"
],
"properties": {
"cityId": {
"type": "string",
"maxLength": 32,
"minLength": 1,
"description": "Optional birthplace city slug (e.g. 'taipei', 'hongkong', 'beijing', 'shanghai', 'tokyo', 'seoul', 'singapore', 'newyork', 'losangeles', 'london') to apply historical timezone/DST and longitude true-solar-time adjustment when birthTime is provided."
},
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "Birth gender ('male' or 'female'), used to determine clockwise/counterclockwise Decadal Luck (大限) order."
},
"calendar": {
"enum": [
"solar",
"lunar"
],
"type": "string",
"default": "solar",
"description": "Optional calendar system for birthDate: 'solar' (Gregorian, default) or 'lunar' (Chinese lunar calendar)."
},
"birthDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Birth date in YYYY-MM-DD format (1900-01-01 to 2100-12-31), e.g. '1992-08-15'. Interpreted as Gregorian solar date unless calendar is 'lunar'."
},
"birthTime": {
"type": "string",
"pattern": "^\\d{2}:\\d{2}$",
"description": "24-hour local birth time in HH:mm format (00:00 to 23:59), e.g. '14:30'. Provide either birthTime or timeIndex."
},
"lunarLeap": {
"type": "boolean",
"default": false,
"description": "Optional leap-month flag when calendar is 'lunar'. Must be false or omitted when calendar is 'solar'."
},
"timeIndex": {
"type": "integer",
"maximum": 12,
"minimum": 0,
"description": "Traditional Chinese shichen (時辰) index 0-12 (0=早子時 00:00-00:59, 1=丑時, 2=寅時, 3=卯時, 4=辰時, 5=巳時, 6=午時, 7=未時, 8=申時, 9=酉時, 10=戌時, 11=亥時, 12=晚子時 23:00-23:59). Provide either timeIndex or birthTime."
},
"targetDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Optional Gregorian solar target date in YYYY-MM-DD format (1900-01-01 to 2100-12-31), e.g. '2026-11-27'. Defaults to today (Asia/Taipei)."
}
},
"additionalProperties": false
}