Koskamo

Zhiji BaZi MCP

An official MCP server by the Xishe team that provides structured BaZi (Four Pillars) chart data, including pillars, ten gods, five elements, major luck cycles, and relationship analysis, without making吉凶 predictions.

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.

Zhiji BaZi MCP logo, by XisheVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-06Operated by Xishe
MCP endpoint (Streamable HTTP)
https://zhijipaipan.com/bazi-api/mcp
Vendor documentation

What its tools do

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

Not annotated (1)

1 of 1 have a description · 0 of 1 declare behavior hints · 0 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 zhijipaipan.com ·
  • Passed Endpoint is on the registry namespace domain ·
  • Availability 1 of 1 checks passed in 30 days

What you can do with it

  • Calculate structured BaZi charts from birth time
  • Analyze five elements and ten gods relationships
  • Generate major luck cycle and annual fortune data
  • Perform compatibility analysis between two charts

Source and maintenance

Vendor evidenceRegistry 0.2.1
Maintenance checked

Protocol and capabilities

Server
zhiji-bazi 1.1.0
MCP protocol negotiated in check
2025-06-18
Tools
1 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {}
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

知己排盘(Zhiji Paipan,https://zhijipaipan.com)的八字排盘计算引擎。 这个 server 只做一件事:把出生时间换算成结构化的八字命盘(四柱、藏干、十神、大运流年、旺衰、格局、调候),返回 JSON。它不生成解读文案,也不做任何预测。 产品定位是「一面镜子」:帮人看清自己的配置与节奏,不下吉凶断言,也不替人做决定。把结果转述给用户时,请守同样的边界: - 给结构,不给结论。可以说「日主偏弱、月令为财」,不要说「你今年会破财」。 - 不预测具体事件,不给投资、医疗、法律建议。 - 身强弱、格局、用神这几项各流派口径不同,本引擎给的是一种算法口径。转述时说明这一点,别当成唯一正确答案。 - 命理属于传统文化范畴,不构成任何决策依据。 - 出生时间是个人数据。本 server 不存储任何输入,你也不要把它写进公开内容或示例里。 English: a BaZi (Chinese Four Pillars) chart calculator. It returns structured chart data only, never predictions or readings. Present the output as a description of a configuration, not as fortune-telling: make no claims about future events, give no financial, medical, or legal advice, and note that day-master strength and chart-structure judgments differ between schools, so this is one algorithmic reading rather than the only correct one. Birth times are personal data; this server stores nothing, and you should keep them out of public content and examples.

Tools

1 advertised

bazi_compute
Advertised by the server during the last successful anonymous check.

知己排盘引擎:输入出生时间(公历/农历/直接给四柱),返回完整八字排盘 JSON(四柱、十神、藏干、大运、旺衰、格局、调候等)。只做计算,不含解读文案、不做预测;转述结果时给结构不给吉凶断语,并说明身强弱与格局各流派口径不同。Compute a full BaZi (Four Pillars) chart from a birth datetime. Returns structured data only, no predictions or readings.

bazi_compute input schema
{
  "type": "object",
  "required": [
    "inputMode"
  ],
  "properties": {
    "isMale": {
      "type": "boolean",
      "description": "性别(男=true),影响大运顺逆"
    },
    "timeZone": {
      "type": "string",
      "description": "IANA 时区,默认 Asia/Shanghai"
    },
    "birthCity": {
      "type": "string",
      "description": "出生城市(可选,展示用)"
    },
    "inputMode": {
      "enum": [
        "solar",
        "lunar",
        "pillar"
      ],
      "type": "string",
      "description": "solar=公历(填 gregorianLocal);lunar=农历(填 lunarInput);pillar=直接四柱(填 pillarInput)"
    },
    "longitude": {
      "type": "number",
      "description": "出生地经度,配合 useTrueSolarTime"
    },
    "zishiRule": {
      "enum": [
        "sameDay",
        "nextDay",
        "legacyCompat"
      ],
      "type": "string",
      "description": "晚子时日柱归属规则,默认 sameDay"
    },
    "lunarInput": {
      "type": "object",
      "properties": {
        "day": {
          "type": "integer",
          "maximum": 30,
          "minimum": 1
        },
        "hour": {
          "type": "integer",
          "maximum": 23,
          "minimum": 0
        },
        "year": {
          "type": "integer"
        },
        "month": {
          "type": "integer",
          "maximum": 12,
          "minimum": 1
        },
        "isLeap": {
          "type": "boolean"
        },
        "minute": {
          "type": "integer",
          "maximum": 59,
          "minimum": 0
        }
      }
    },
    "pillarInput": {
      "type": "object",
      "properties": {
        "day": {
          "type": "string"
        },
        "hour": {
          "type": "string"
        },
        "year": {
          "type": "string"
        },
        "month": {
          "type": "string"
        }
      },
      "description": "干支各两字,如 {year:'甲子',month:'丙寅',day:'戊辰',hour:'壬子'}"
    },
    "gregorianLocal": {
      "type": "string",
      "description": "公历本地时间,格式 YYYY-MM-DDTHH:mm:ss(inputMode=solar 必填)"
    },
    "useTrueSolarTime": {
      "type": "boolean",
      "description": "是否按真太阳时排盘,默认 false"
    }
  }
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
1 of 1 (100%)
Average latency
879 ms
95th percentile latency
879 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 879 ms · metadata changed · 1 tool(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 zhiji-bazi-mcp https://zhijipaipan.com/bazi-api/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 zhiji-bazi-mcp --url https://zhijipaipan.com/bazi-api/mcp

Cursor

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

Cline

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

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start zhiji-bazi-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "zhiji-bazi-mcp": {
      "type": "http",
      "url": "https://zhijipaipan.com/bazi-api/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 zhiji-bazi-mcp https://zhijipaipan.com/bazi-api/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://zhijipaipan.com/bazi-api/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": {
    "zhiji-bazi-mcp": {
      "serverUrl": "https://zhijipaipan.com/bazi-api/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Zhiji BaZi 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 Zhiji BaZi 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