BaZi Four Pillars MCP

v0.1.1
io.github.cdaily1995-create/four-pillars Checked 2 days ago Published 16 days ago

Deterministic BaZi Four Pillars calculation with true solar time and solar terms.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

calculate_four_pillars

Calculate the BaZi (Four Pillars) chart from a local birth date, time, IANA timezone, and decimal longitude. The calculation uses local apparent true solar time, astronomical solar-term boundaries, and the 23:00 Zi-hour next-day boundary. Returns only reproducible chart facts and provenance, not interpretation or prediction.

ParameterTypeDescription
date *stringLocal civil date in YYYY-MM-DD format.
longitude *numberBirth longitude in decimal degrees, east positive.
time *stringLocal civil time in HH:mm format.
timezone *stringIANA time zone, for example Asia/Shanghai or America/Los_Angeles.
latitudenumberOptional birth latitude in decimal degrees.