Official open-source MCP by BaziWei

Ground your AIin real calculation.

Let a deterministic engine calculate the pillars, calendar and star placements. Leave interpretation to the AI you choose.

See a real tool call

Official remote endpoint · No account or API key

18 MCP tools
6 metaphysics and divination systems
1900–2100 primary year range
Apache-2.0 open-source license

Real tool call

From one question to an inspectable chart.

This public fictional input was sent to the official remote MCP. Mingpan returns calculated facts; your chosen AI supplies the interpretation.

01 / User prompt

Birth data and a question, in plain language

"Chart the BaZi and Zi Wei for a man born 1990-05-15 at 10:00 in Taipei, then talk me through his career direction."

02 / bazi_basic

{
  "year": 1990,
  "month": 5,
  "day": 15,
  "hour": 10,
  "minute": 0,
  "gender": "male",
  "timezone": "Asia/Taipei"
}

03 / Original tool output

Mingpan returns deterministic chart facts only — Chinese structured text, as the tool emits it

> 注:輸入時間(Asia/Taipei)已換算為北京時間後排盤。

=== 命主資料 ===
性別:男
公曆:1990-05-15 10:00:00
農曆:庚午年四月廿一巳時

=== 八字命盤 ===
年柱:庚午(路旁土)  月柱:辛巳(白蜡金)  日柱:庚辰(白蜡金)  時柱:辛巳(白蜡金)
日柱旬空:申酉
命宮:癸未 胎元:壬申
天干十神:年干金=比肩 月干金=劫財 時干金=劫財
藏干十神(※本氣):年午[丁正官※ 己正印] 月巳[丙七殺※ 戊偏印 庚比肩] 日辰[戊偏印※ 乙正財 癸傷官] 時巳[丙七殺※ 戊偏印 庚比肩]
十二長生(自坐):年沐浴 月死 日养 時死
Inspect the full Ziwei output for this birth
> 注:輸入時間(Asia/Taipei)已換算為北京時間後排盤。

=== 命主資料 ===
性別:男
公曆:1990-05-15 10:00:00
農曆:庚午年四月廿一巳時

=== 紫微命盘 ===
本命命宮 戊子:破軍(廟)、恩光、天刑、天哭、天虛
本命身宮:夫妻
五行局:火六局 命主:貪狼 身主:火星

十二宮位:
戊子 本命命宮 (6-15歲):破軍(廟)、恩光、天刑、天哭、天虛
丁亥 本命兄弟 (116-125歲):太陽(陷)、八座、台輔、天巫、天官、月德
丙戌 本命夫妻 (106-115歲) [身]:武曲(廟)、解神、龍池、華蓋、旬空
乙酉 本命子女 (96-105歲):天同(平)、文曲、擎羊、紅鸞
甲申 本命財帛 (86-95歲):七殺(廟)、祿存、天馬、鈴星、孤辰、陰煞
癸未 本命疾厄 (76-85歲):天梁(旺)、左輔、右弼、天鉞、陀羅、封誥
壬午 本命遷移 (66-75歲):廉貞(平)、天相(廟)、地空、火星、天才、天福、截路
辛巳 本命僕役 (56-65歲):巨門(旺)、文昌、破碎、天傷
庚辰 本命官祿 (46-55歲):貪狼(廟)、地劫、天姚、天貴、鳳閣、天壽
己卯 本命田宅 (36-45歲):太陰(陷)、天喜、咸池、三台、天德
戊寅 本命福德 (26-35歲):紫微(旺)、天府(廟)、天廚、天月、蜚廉
己丑 本命父母 (16-25歲):天機(陷)、天魁

四化系統:
本命四化:化祿-太陽 化權-武曲 化科-太陰 化忌-天同

Public fictional data. Original Chinese tool output, not an AI interpretation · v0.1.7 · Streamable HTTP

Why Mingpan

Open calculations. Clear boundaries.

Mingpan is not another fortune-telling bot. It supplies reproducible chart facts and leaves contextual, human interpretation to the AI you choose.

Inspectable

Source code, calculation conventions and tool parameters are open to inspection by version.

No personal archive

The official MCP is stateless and does not build a birth-profile database. Check your client’s data policy separately.

Your AI, your interpretation

No life conclusions, and no promise of free AI access. Choose the client and model that suit you.

18 tools. One endpoint.

Natal charts, timing cycles, and divination through one endpoint

Every tool returns structured text designed for AI consumption. Mingpan deliberately avoids fortune scores, pattern verdicts, and life conclusions.

5 tools

BaZi

Four pillars, ten gods, hidden stems, na yin, growth stages, decade luck, and annual, monthly, and daily cycles.

6 tools

Zi Wei Dou Shu

Twelve palaces, major and auxiliary stars, four transformations, five-element bureau, and multi-level timing cycles.

1 tool

LiuYao

Primary and transformed hexagrams, Najia, six relatives, six spirits, host/guest lines, void, and hidden spirits.

1 tool

MeiHua YiShu

Time- or number-based casting with primary, mutual, transformed hexagrams and body–function relations.

1 tool

Da Liu Ren

Derives calendar primitives from Gregorian time and returns the heaven–earth plate, four lessons, three transmissions, and generals.

2 tools

Qi Men Dun Jia

Multiple chart styles and intercalation methods, with the nine-palace chart and deterministic yong-shen facts by subject.

Plus 2 calendar primitives: precise times for the 24 solar terms and Gregorian–lunar conversion.

Connect

Copy the endpoint. Complete the connection.

Use a Remote MCP / Streamable HTTP client. Mingpan needs no key; your AI client may have its own fees.

Official remote service

Streamable HTTP

Stateless pure computation: no chart database, no logging of birth parameters or results. Currently free for fair use.

  1. Add a remote HTTP MCP server
  2. Paste the endpoint; no API key
  3. Check the tool list, then try fictional data

The tool list should include bazi_basic and ziwei_basic. With the fictional input below, expect these four pillars: 庚午 · 辛巳 · 庚辰 · 辛巳. Try these after connecting ↓

Claude Code
claude mcp add --transport http mingpan https://mingpan.bzwai.com/mcp

Use /mcp in Claude Code to inspect the connection and tools. If unavailable, check the transport and URL first.

Official connection guide ↗
If the connection fails

Include /mcp in the URL. The client needs remote HTTP support, not just stdio. Retry later after temporary errors or rate limiting. Copying is not a connection test.

Local stdio (optional)

Calculation runs locally. A cloud-based AI client may still send the results to its provider. Requires Node.js.

Per-client configuration locations and examples live in the GitHub README. Open the README

Try it after connecting

Try these after connecting

  • Use Mingpan bazi_basic for a fictional male born 1990-05-15 at 10:00, timezone Asia/Taipei. Return the four pillars first, without interpreting them.
  • Find the exact time of LiChun in 2027 and explain whether it changes the year pillar for this birth chart.
  • Cast a Qi Men Dun Jia hourly chart for June 21, 2024 at 10:00. List the computed facts before interpreting them.

Mingpan × BaziWei

Rather start with your own reading?

BaziWei brings charts, AI readings and calendars into a personal archive you can revisit.

Independently operated. No shared accounts or birth profiles.

Visit BaziWei