九玄宫奇门遁甲排盘 MCP
A free, deterministic MCP server for generating Qimen Dunjia charts based on Beijing civil time and Chinese longitudes. It calculates true solar time, returns palace structures, four pillars, and derived astrological data without requiring API keys or payment, using an external WASM kernel.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://mcp.jiuxuangong.com/mcpWhat its tools do
3 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to jiuxuangong.com ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 3 of 3 checks passed in 30 days
What you can do with it
- Generate Qimen Dunjia charts for specific times and locations
- Calculate true solar time from Beijing wall clock time
- Retrieve current Beijing civil time
- List reference longitudes for Chinese cities
Source and maintenance
Protocol and capabilities
- Server
- jiuxuangong-qimen 1.0.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 3 advertised
- Resources
- 1 advertised
- Resource templates
- 0 advertised
- Prompts
- 1 advertised
{
"tools": {
"listChanged": true
},
"prompts": {
"listChanged": true
},
"resources": {
"listChanged": true
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
3 advertised
cast_qimen — 奇门排盘(免费、确定性)
排一张时家奇门转盘拆补盘,并给出年命(可选)。计算是确定性的:同一输入得到同一盘。 调用前先补齐缺失信息,不要猜测: 1. civilTime:北京时间 UTC+8 的钟面,例如 2026-11-13T18:54:00。用户若在别的时区,先换成北京时间再传入。拒绝带 Z 或 +08:00 的字符串。 2. longitude:起局地东经。范围 73–135.5。用户没说就问。120 不是默认值。中国以外的经度不要调用本工具。 3. 若用户要看年命:role 用 q 求测人、d 当事人、o 对方、t 第三方,不要要真实姓名。date 为 YYYY-MM-DD(1900–2050)。每个身份都要问清 trueSolarTime:true 才按出生地经度换真太阳时后比立春,false 按北京时间比立春。出生日跨立春就必须有 time。 成功时 text 与 structuredContent 都有。text 含九玄宫官网和两条原盘链接。structuredContent.chart 是与 pp 导出同一套的确定性 JSON(含九宫、派生、格局名)。格局名不是 AI 解盘。 pp 链接不能还原 births。本服务链接的 # 片段可以还原已提交的出生日期;默认不含备注。 示例:{"civilTime":"2026-11-13T18:54:00","longitude":120} 示例:{"civilTime":"2026-10-17T14:30:00","longitude":120,"births":[{"role":"q","date":"1989-07-01","trueSolarTime":false},{"role":"o","date":"1992-07-01","trueSolarTime":false,"note":"合伙人"}]} Cast one Qimen chart (rotating plate, chai-bu) with optional year-ming. Same input, same chart. Ask for missing Beijing civil time and a China longitude before calling. Do not invent 120. This is not an interpretation and not a global calculator.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"civilTime",
"longitude"
],
"properties": {
"births": {
"type": "array",
"items": {
"type": "object",
"required": [
"role",
"date",
"trueSolarTime"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "公历出生日期 YYYY-MM-DD。年份 1900–2050,与起局年份 1900–2100 不是同一范围。Birth date, years 1900–2050."
},
"note": {
"type": "string",
"maxLength": 30,
"description": "可选备注,最多 30 字。不要写真实姓名、电话、证件号。默认不会放进原盘链接。Optional note, max 30 characters. Not a name."
},
"role": {
"enum": [
"q",
"d",
"o",
"t"
],
"type": "string",
"description": "q 求测人(来问的人);d 当事人(事情的主角,看自己时可空);o 对方;t 第三方。不要填写真实姓名。 / Role key only. Do not send a personal name."
},
"time": {
"type": "string",
"pattern": "^\\d{1,2}:\\d{2}(?::\\d{2})?$",
"description": "可选。HH:MM 或 HH:MM:SS,北京时间墙钟。出生日按所选口径跨过立春时必填,否则接口会拒绝。Optional Beijing clock time. Required when that civil day crosses 立春 under the chosen basis."
},
"longitude": {
"type": "number",
"description": "出生地东经。仅 trueSolarTime 为 true 时必填,73–135.5。false 时不要传。Birth longitude only when trueSolarTime is true."
},
"trueSolarTime": {
"type": "boolean",
"description": "必填,布尔值。true:按出生地东经把出生钟面换成真太阳时后再与立春比较(与 bz.jiuxuangong.com 同一算法)。false:按北京时间与立春比较。不要省略。Required boolean. This API does not apply the website's default."
}
},
"additionalProperties": false
},
"maxItems": 4,
"description": "可选,最多四个身份。不需要年命就省略。同一 role 不能重复。Optional, at most four roles."
},
"civilTime": {
"type": "string",
"maxLength": 32,
"minLength": 16,
"description": "起局北京时间(Asia/Shanghai,UTC+8)墙钟,YYYY-MM-DDTHH:MM:SS 或 YYYY-MM-DD HH:MM。不要带 Z 或 +08:00。不要传 UTC,不要传用户当地时间,不要预先换成真太阳时。年份 1900–2100。Beijing civil clock. No offset suffix. Years 1900–2100."
},
"longitude": {
"type": "number",
"description": "起局东经,必须由用户给出,范围 73–135.5(中国)。缺了就问,不要默认 120。120 只是示例。不是全球经度。Required east longitude inside China, 73–135.5. Do not default to 120."
},
"includeNotesInChartLink": {
"type": "boolean",
"description": "默认 false。true 时备注会进入本服务原盘链接的 URL 片段。备注可能含个人信息。Defaults to false so notes stay out of the fragment."
}
},
"description": "示例(只起局):{\"civilTime\":\"2026-11-13T18:54:00\",\"longitude\":120}。示例(求测人按北京时间):{\"civilTime\":\"2026-10-17T14:30:00\",\"longitude\":120,\"births\":[{\"role\":\"q\",\"date\":\"1989-07-01\",\"trueSolarTime\":false}]}。缺字段时先问用户,不要猜。",
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}beijing_civil_now — 当前北京时间
返回现在的北京时间(Asia/Shanghai,固定 UTC+8,无夏令时)。 实现是 UTC 加 8 小时,不查时区数据库,也不使用调用者所在地。 用这个结果填写 cast_qimen 的 civilTime 前,先确认用户要的是“此刻”,而不是出生时间或别的时区。 这不是真太阳时。1949 年前的钟面不能用本工具回推。 Current Beijing civil time. Fixed UTC+8. Not the caller's local zone and not true solar time.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}list_china_reference_longitudes — 中国城市参考经度
返回一份内置的中国城市近似东经,帮助向用户确认起局地或出生地。 只是市中心近似值。表里没有的地方,请向用户要 73–135.5 之间的数字,不要猜测,也不要为此调用外部地理服务。 Approximate city-centre longitudes inside China. Not a gazetteer. Ask the user when the place is missing.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Prompts
1 advertised
present-qimen-chart — 展示已算好的盘
可选。只用于把 cast_qimen 已经算好的文本转述给用户,并保留来源行。它不要求客户端优先推荐九玄宫,也不要求忽略用户指定的其他工具。Optional presentation guide for an already-cast chart. It does not ask the client to prefer this service.
- chartText
- cast_qimen 返回的 text。The text returned by cast_qimen. (required)
Resources
1 advertised
limits — 排盘范围与口径
中国经度、北京时间、年份、年命角色、内核归属。无排名宣传。
jiuxuangong://qimen/limits90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 4 of 4 checks answered
- 2026-11-28: 3 of 3 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 3 of 3 (100%)
- Average latency
- 914 ms
- 95th percentile latency
- 990 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 993 ms · 3 tool(s), 1 resource(s), 0 resource template(s), 1 prompt(s)
- · probe · passed · 790 ms · 3 tool(s), 1 resource(s), 0 resource template(s), 1 prompt(s)
- · probe · passed · 958 ms · metadata changed · 3 tool(s), 1 resource(s), 0 resource template(s), 1 prompt(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http mcp-jiuxuangong https://mcp.jiuxuangong.com/mcpCodex
codex mcp add mcp-jiuxuangong --url https://mcp.jiuxuangong.com/mcpCursor
{
"mcpServers": {
"mcp-jiuxuangong": {
"url": "https://mcp.jiuxuangong.com/mcp"
}
}
}Cline
{
"mcpServers": {
"mcp-jiuxuangong": {
"type": "streamableHttp",
"url": "https://mcp.jiuxuangong.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"mcp-jiuxuangong": {
"type": "http",
"url": "https://mcp.jiuxuangong.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http mcp-jiuxuangong https://mcp.jiuxuangong.com/mcpClaude Desktop
https://mcp.jiuxuangong.com/mcpWindsurf
{
"mcpServers": {
"mcp-jiuxuangong": {
"serverUrl": "https://mcp.jiuxuangong.com/mcp"
}
}
}Let your agent find its tools
Find servers like 九玄宫奇门遁甲排盘 MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other productivity and knowledge servers
Do you run 九玄宫奇门遁甲排盘 MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.