# 知己排盘 BaZi (npm · zhiji-bazi)

BaZi (Chinese Four Pillars) chart calculator. Structured chart data only, no predictions.

- Trust score: 64/100 (medium)
- Change this week: +12
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-20

## Components

- remote · `zhijipaipan.com`: 60/100, [markdown](https://verifymcp.io/servers/com-zhijipaipan-zhiji-bazi/bazi-api-mcp.md), [page](https://verifymcp.io/servers/com-zhijipaipan-zhiji-bazi/bazi-api-mcp)
- npm · `zhiji-bazi`: 64/100 (this document), [markdown](https://verifymcp.io/servers/com-zhijipaipan-zhiji-bazi/zhiji-bazi.md), [page](https://verifymcp.io/servers/com-zhijipaipan-zhiji-bazi/zhiji-bazi)

## Channel facts

- Registry: `npm`
- Package: `zhiji-bazi`
- Version: `0.2.1`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-20.

- **Supply Chain Security**: 100/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - 0 of 1 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (Apache-2.0).
  - Actively maintained (last published 6 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 52/100
  - AI-judged instruction clarity (good).
  - Context-footprint check failed: tool/resource definitions use about 623 tokens (~623/item across 1 items; 1 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 23/100
  - Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 86/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 58% of tool parameters carry a description.
- **Capabilities**: 60/100
  - Spec-recency check failed: implements MCP spec 2025-06-18; the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add com-zhijipaipan-zhiji-bazi -- npx -y zhiji-bazi
```

### Codex

```bash
codex mcp add com-zhijipaipan-zhiji-bazi -- npx -y zhiji-bazi
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "com-zhijipaipan-zhiji-bazi": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "zhiji-bazi"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add com-zhijipaipan-zhiji-bazi --command npx --arg -y --arg zhiji-bazi
```

### Hermes

```yaml
mcp_servers:
  com-zhijipaipan-zhiji-bazi:
    command: "npx"
    args: ["-y", "zhiji-bazi"]
```

### Other

```json
{
  "mcpServers": {
    "com-zhijipaipan-zhiji-bazi": {
      "command": "npx",
      "args": [
        "-y",
        "zhiji-bazi"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-20 (score 64, +3)

- [functional improvement] Stability: unverified → 0.23

### 2026-08-14 (score 61, +9)

- [functional improvement] Schema quality: unverified → good

### 2026-08-13 (score 52)

First indexed and scored.

## MCP tools (1)

### `bazi_compute` (~285 tokens)

输入出生时间（公历、农历或直接给四柱），返回八字命盘 JSON：四柱、身强弱、格局、用神。只做计算，不含解读文案、不做预测；转述结果时给结构不给吉凶断语，并说明身强弱与格局各流派口径不同。Compute a BaZi (Four Pillars) chart from a birth datetime. Returns structured data only, no predictions or readings.

Input parameters:

- `day` (integer)
- `hour` (integer)
- `inputMode` (string, required): solar=公历，lunar=农历，pillar=直接四柱
- `isLeapMonth` (boolean): 农历闰月，inputMode=lunar 时用
- `isMale` (boolean): 男=true，影响大运顺逆
- `longitude` (number): 出生地经度。给了就按真太阳时校正
- `minute` (integer)
- `month` (integer)
- `pillars` (object): inputMode=pillar 时用，干支各两字
- `timeZone` (string): IANA 时区，默认 Asia/Shanghai
- `year` (integer)
- `zishiRule` (string): 晚子时日柱归属，默认 sameDay

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/com-zhijipaipan-zhiji-bazi/zhiji-bazi#diagnostics

## Score history

- 2026-08-20: 64
- 2026-08-19: 61
- 2026-08-18: 61
- 2026-08-17: 61
- 2026-08-16: 61
- 2026-08-15: 61
- 2026-08-14: 61
- 2026-08-13: 52

## Links

- npm package: https://www.npmjs.com/package/zhiji-bazi
- Socket report: https://socket.dev/npm/package/zhiji-bazi
- Repository: https://github.com/AmsonntagChow/zhiji-bazi
- Website: https://zhijipaipan.com/
- Changelog RSS feed: https://verifymcp.io/servers/com-zhijipaipan-zhiji-bazi/zhiji-bazi.xml
- Changelog JSON feed: https://verifymcp.io/servers/com-zhijipaipan-zhiji-bazi/zhiji-bazi.json
- HTML version of this page: https://verifymcp.io/servers/com-zhijipaipan-zhiji-bazi/zhiji-bazi
