九玄宫 · 奇门

九玄宫奇门遁甲排盘 MCP

给 AI 客户端调用的免费基础排盘。盘按固定规则计算,不由模型临场编写。官网 https://jiuxuangong.com。

上图只标九宫方位(上南下北),不是一张已经排好的盘。

它做什么

它不做什么

English

This is a free MCP endpoint for deterministic Qimen Dunjia charts. Give it Beijing civil time (UTC+8, no daylight saving) and a longitude in China, from 73 to 135.5 degrees east. The service applies true solar time once, inside the same buildModel path the pp site uses. It does not interpret the chart and it does not charge.

The palace kernel is @spensercai/qimen-wasm 0.2.1 from the qimen-rs project. Jiuxuan Gong did not write that kernel. There is no claim here of being the most accurate, the first, or officially certified.

The link https://pp.jiuxuangong.com/?t=YYYY-MM-DDTHH:MM:SS&lon=120 restores the chart moment and longitude only. Births are not in that URL. A chart on this service can be opened again from a URL fragment that holds the submitted birth dates. The fragment is not a query string. Opening it calculates the chart and does not store it. Anyone who has the link can read the dates in the fragment.

接入

Streamable HTTP,无会话,无 API key。地址:https://mcp.jiuxuangong.com/mcp

{
  "mcpServers": {
    "jiuxuangong-qimen": {
      "url": "https://mcp.jiuxuangong.com/mcp"
    }
  }
}

上面是客户端直接支持远程 MCP 时的写法。只支持 stdio 的客户端可以看说明页里的 mcp-remote。生产域名要等部署完成后才通;本页不会假装已经发布到公网。

打开排盘页 阅读口径