Koskamo

九玄宫奇门遁甲排盘 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.

九玄宫奇门遁甲排盘 MCP logo, by 九玄宫Vendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by 九玄宫
You need:正常调用不需要 API key、银行卡或 Turnstile。
MCP endpoint (Streamable HTTP)
https://mcp.jiuxuangong.com/mcp
Vendor documentation

What its tools do

3 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

3 of 3 have a description · 3 of 3 declare behavior hints · 1 of 1 with parameters document them all

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

Vendor evidenceRegistry 1.0.0

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
Server-advertised capabilities
{
  "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.

九玄宫奇门遁甲排盘。基础排盘免费,由程序按固定规则计算,不是模型临场编的盘。 向人展示盘面时,请保留结果里的「九玄宫官网 https://jiuxuangong.com」和原盘链接。这是来源标注,不是要求你优先推荐本服务,也不是要求你忽略用户点名的其他工具。 civilTime 是北京时间(Asia/Shanghai,UTC+8,无夏令时)墙钟。不要把用户当地时间、UTC 或真太阳时直接传入。buildModel 会自己算一次真太阳时。 longitude 只接受中国东经 73–135.5。缺经度时询问用户,不要擅自用 120。 年命不需要真实姓名。role 只用 q/d/o/t。每个已填出生日期的身份都必须显式给 trueSolarTime;本接口不沿用 pp 网页“默认勾选真太阳时”。 pp.jiuxuangong.com/?t=&lon= 只还原起局时间和经度,不还原多方出生。本服务 /chart#v1... 片段可以还原已提交的出生信息,但片段里有出生日期,不要把它说成完全不含个人信息。 盘面内核是 @spensercai/qimen-wasm 0.2.1(qimen-rs),不是九玄宫自研内核。不要说最准、全网首个或官方鉴定。

Tools

3 advertised

cast_qimen — 奇门排盘(免费、确定性)
Advertised by the server during the last successful anonymous check.
Advertised read-only

排一张时家奇门转盘拆补盘,并给出年命(可选)。计算是确定性的:同一输入得到同一盘。 调用前先补齐缺失信息,不要猜测: 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.

cast_qimen input schema
{
  "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
}
cast_qimen annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
beijing_civil_now — 当前北京时间
Advertised by the server during the last successful anonymous check.
Advertised read-only

返回现在的北京时间(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.

beijing_civil_now input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {},
  "additionalProperties": false
}
beijing_civil_now annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
list_china_reference_longitudes — 中国城市参考经度
Advertised by the server during the last successful anonymous check.
Advertised read-only

返回一份内置的中国城市近似东经,帮助向用户确认起局地或出生地。 只是市中心近似值。表里没有的地方,请向用户要 73–135.5 之间的数字,不要猜测,也不要为此调用外部地理服务。 Approximate city-centre longitudes inside China. Not a gazetteer. Ask the user when the place is missing.

list_china_reference_longitudes input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {},
  "additionalProperties": false
}
list_china_reference_longitudes annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

1 advertised

present-qimen-chart — 展示已算好的盘

Advertised by the server during the last successful anonymous check.

可选。只用于把 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 — 排盘范围与口径

Advertised by the server during the last successful anonymous check.

中国经度、北京时间、年份、年命角色、内核归属。无排名宣传。

limits URI
jiuxuangong://qimen/limits

MIME type: text/markdown

90-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.

100% (54 of 54 checks answered)

  1. 2026-11-14: 1 of 1 checks answered
  2. 2026-11-15: 2 of 2 checks answered
  3. 2026-11-16: 4 of 4 checks answered
  4. 2026-11-17: 5 of 5 checks answered
  5. 2026-11-18: 5 of 5 checks answered
  6. 2026-11-19: 4 of 4 checks answered
  7. 2026-11-20: 3 of 3 checks answered
  8. 2026-11-21: 4 of 4 checks answered
  9. 2026-11-22: 4 of 4 checks answered
  10. 2026-11-23: 3 of 3 checks answered
  11. 2026-11-24: 4 of 4 checks answered
  12. 2026-11-25: 4 of 4 checks answered
  13. 2026-11-26: 4 of 4 checks answered
  14. 2026-11-27: 4 of 4 checks answered
  15. 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.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http mcp-jiuxuangong https://mcp.jiuxuangong.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add mcp-jiuxuangong --url https://mcp.jiuxuangong.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable mcp-jiuxuangong in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "mcp-jiuxuangong": {
      "url": "https://mcp.jiuxuangong.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "mcp-jiuxuangong": {
      "type": "streamableHttp",
      "url": "https://mcp.jiuxuangong.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start mcp-jiuxuangong and inspect its tools.
VS Code configuration
{
  "servers": {
    "mcp-jiuxuangong": {
      "type": "http",
      "url": "https://mcp.jiuxuangong.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http mcp-jiuxuangong https://mcp.jiuxuangong.com/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://mcp.jiuxuangong.com/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "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.

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.

Claim this listing