Skip to main content
Glama

BaZi MCP Server

Server Details

Deterministic Chinese BaZi (Four Pillars) astrology MCP server with true solar time correction.

Ownership verified
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

A3.9/5.0

Scored across 6 tools

Disambiguation4/5

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.

Naming Consistency4/5

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.

Tool Count5/5

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.

Completeness4/5

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 tools
calculate_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

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      MCP 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.
      1
      1
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Deterministic 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 npm
      MIT
    • A
      license
      Not graded
      quality
      F
      maintenance
      Zi 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
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.