BaZi MCP Server
Server Details
Deterministic Chinese BaZi (Four Pillars) astrology MCP server with true solar time correction.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- Zsmboom/bazi-lab-mcp
- GitHub Stars
- 0
- Server Listing
- bazi-lab-mcp
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 6 tools
Each tool targets a clearly different artifact: chart calculation, almanac date lookup, yearly candles, 10-year luck cycles, two-person compatibility, and documentation search. The only borderline pair is life_trajectory vs luck_pillars, both of which address timing and 'good/bad years', but their descriptions (per-year OHLC candles vs. 10-year pillars with direction and strength) make the split workable.
Four tools follow a verb_noun pattern (calculate_chart, get_almanac, match_compatibility, search_knowledge) and two are noun phrases (life_trajectory, luck_pillars). It is all snake_case and readable, but the verb-less pair is a minor deviation from the dominant convention.
Six tools is well-scoped for a specialized BaZi domain, with each tool covering a distinct analytical output rather than being redundant. Nothing feels padded or conspicuously missing at the count level.
The surface covers the core lifecycle: natal chart, almanac/date selection, long-range trajectory, luck pillars, compatibility, and conceptual reference. Gaps are minor — there is no tool for a focused single-year transit (流年) reading or for non-romantic relationship analysis, but the existing tools let an agent approximate those.
Available Tools
6 toolscalculate_chartCalculate BaZi chartAInspect
Calculate a BaZi Four Pillars chart from birth data. The engine applies the true solar time correction (birthplace legal timezone, including historical DST, plus longitude) and returns the four pillars with ten gods, day master element and zodiac. Never compute pillars from memory — call this.
Inputs: birth, chartId.
get_almanacChinese almanac (黄历)AInspect
Chinese almanac for a date range: day pillar, lunar date and the do (宜) / avoid (忌) lists. For "which day is good for X", pass activity as an almanac term, e.g. 移徙/入宅 (moving house), 嫁娶 (wedding), 开市 (opening a business), 立券/交易 (signing contracts). Max 31 days per call.
Inputs: startDate (required), days, activity.
life_trajectoryLife trajectory OHLCAInspect
Year-by-year life trajectory for roughly 96 years: one OHLC candle per year on a fixed 0-100 scale (open/close from the year first/last flow month, high/low from all twelve), deterministic and comparable across people. Same input as calculate_chart.
Inputs: birth (required).
luck_pillarsLuck pillars (大运)AInspect
Compute the ten 10-year luck pillars (大运): direction, start age, day-master strength with favourable/unfavourable elements, and the best and worst years on a fixed 0-100 scale. Use for any question about timing, luck cycles, good or bad years.
Inputs: birth, chartId.
match_compatibilityLove compatibilityAInspect
Score love compatibility (0-100) between two people: their year-branch relation (six harmony, triple harmony, clash, harm) and the two day masters. Call once with both birth datasets.
Inputs: personA (required), personB (required).
search_knowledgeSearch BaZi Lab guidesAInspect
Search BaZi Lab's own bilingual guides — ten gods, true solar time, BaZi basics, luck pillars and blog articles — for concept explanations. Returns excerpts with page URLs; it does not search the web.
Inputs: query (required), locale.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Hosted remote MCP server for BaZi (Four Pillars) charts and the Chinese almanac. No install.
BaZi, Zi Wei, Qi Zheng Si Yu, divination and almanac from a deterministic engine. Pay per call.
Free Qimen Dunjia and BaZi charts via MCP - deterministic engine, nine palaces and four pillars.
Accurate BaZi (Four Pillars) charts with time zones, DST, True Solar Time and solar terms.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for computing BaZi (Four Pillars) charts. Supports Gregorian, lunar, or direct Four Pillars input, with optional true solar time correction, and outputs strength, pattern, and useful god.11Apache 2.0
- AlicenseNot gradedqualityDmaintenanceDeterministic Zi Wei Dou Shu astrology MCP server that generates accurate birth charts with precise timezone and solar-time handling, exposing all school conventions as explicit parameters.37 npmMIT
- AlicenseAqualityBmaintenanceDeterministic True Solar Time (VSOP87D ±5s, 1986-1991 China DST), Four Pillars Bazi, classical texts & Jingfang Liuyao MCP Server in pure Python stdlib.22MIT
- AlicenseNot gradedqualityFmaintenanceZi Wei Dou Shu (Chinese astrology) charting MCP server. Generates complete ziwei natal charts and transit overlays (12 palaces, 14 major stars, sihua) from birth date and time, powered by FateStar's reversible charting engine.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.