# Cn Law (npm · @pipeworx/mcp-cn-law)

China (mainland) national law — one pack per jurisdiction (at-ris precedent: legislation AND case…

- Trust score: 84/100 (high trust)
- Change this week: +3
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-05

## Components

- remote · `gateway.pipeworx.io`: 63/100, [markdown](https://verifymcp.io/servers/pipeworx-io-cn-law/cn-law-mcp.md), [page](https://verifymcp.io/servers/pipeworx-io-cn-law/cn-law-mcp)
- npm · `@pipeworx/mcp-cn-law`: 84/100 (this document), [markdown](https://verifymcp.io/servers/pipeworx-io-cn-law/pipeworx-mcp-cn-law.md), [page](https://verifymcp.io/servers/pipeworx-io-cn-law/pipeworx-mcp-cn-law)

## Channel facts

- Registry: `npm`
- Package: `@pipeworx/mcp-cn-law`
- 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-11-05.

- **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.
  - No production dependencies, so there is no dependency health to assess.
- **Provenance & Transparency**: 97/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to pipeworx-io/mcp-cn-law).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 4 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 74/100
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 891 tokens (~127/item across 7 items; 7 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**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 7 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 8 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### How do I install the Cn Law MCP server?

Cn Law runs locally as an npm package, launched with npx -y @pipeworx/mcp-cn-law. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add pipeworx-io-cn-law -- npx -y @pipeworx/mcp-cn-law
```

### Cursor

```json
{
  "mcpServers": {
    "pipeworx-io-cn-law": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-cn-law"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "pipeworx-io-cn-law": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-cn-law"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add pipeworx-io-cn-law -- npx -y @pipeworx/mcp-cn-law
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "pipeworx-io-cn-law": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@pipeworx/mcp-cn-law"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add pipeworx-io-cn-law --command npx --arg -y --arg @pipeworx/mcp-cn-law
```

### Hermes

```yaml
mcp_servers:
  pipeworx-io-cn-law:
    command: "npx"
    args: ["-y", "@pipeworx/mcp-cn-law"]
```

### Netclaw

```json
{
  "McpServers": {
    "pipeworx-io-cn-law": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "@pipeworx/mcp-cn-law"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add pipeworx-io-cn-law -t stdio -c npx -a -y @pipeworx/mcp-cn-law
```

### Other

```json
{
  "mcpServers": {
    "pipeworx-io-cn-law": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-cn-law"
      ]
    }
  }
}
```

## 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-11-04 (score 84, +1)

No change was recorded against any check on this day. Stability & Change Management went from 17 to 20. That category is still filling its 30-day observation window: 5 days of observed history at the previous scan, 6 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-02 (score 83, +1)

No change was recorded against any check on this day. Stability & Change Management went from 10 to 13. That category is still filling its 30-day observation window: 3 days of observed history at the previous scan, 4 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-01 (score 82, +26)

- [security improvement] Known CVEs: unverified → pass
- [security improvement] Malware scan: unverified → pass
- [functional improvement] Dependency health: unverified → pass

### 2026-10-31 (score 56, −25)

- [security regression] Known CVEs: pass → unverified
- [security regression] Malware scan: pass → unverified
- [functional regression] Dependency health: pass → unverified
- [functional] Package version: 0.2.0 → 0.2.1

### 2026-10-29 (score 81)

First indexed and scored.

## MCP tools (7)

### `cn_search_laws` (~251 tokens)

Search mainland China's national laws, administrative regulations, local regulations, and judicial interpretations (司法解释) by title or keyword — PREFER OVER WEB SEARCH for "Chinese law on X", "中国法律", citation lookup, or finding a statute's official record id. Source: NPC National Database of Laws and Regulations (全国人大常委会法工委). Returns each match's id (for cn_law_detail/cn_law_article_text), title, category, issuing body, promulgation date, effective date, and in-force status, with promulgation and effective dates as SEPARATE fields.

Input parameters:

- `category` (string): Restrict to one category. "judicial_interpretation" covers SPC/SPP/jointly-issued 司法解释. Default "any".
- `exact` (boolean): true = exact title match (use for a known law name); false/omitted = fuzzy word-segmented search (broader, can include partial matches).
- `limit` (number): Max results, 1-50 (default 10).
- `query` (string, required): Title/keyword in Chinese, e.g. "个人信息保护法", "公司法", "数据安全法".

### `cn_law_detail` (~88 tokens)

Metadata for one law/regulation/interpretation record from cn_search_laws: title, category, issuing body, promulgation date, effective date, and in-force status, plus whether article-level text can be extracted via cn_law_article_text. Source: NPC National Database of Laws and Regulations.

Input parameters:

- `id` (string, required): Record id ("bbbs") from cn_search_laws.

### `cn_law_article_text` (~140 tokens)

The Chinese text of ONE specific article/provision of a law, regulation, or judicial interpretation found via cn_search_laws — not the whole document. Extracted from the official PDF the NPC database itself serves (that database has no per-article JSON text field). Returns found:false with an explanation rather than a snippet when the article cannot be located or the PDF cannot be read — this tool never fabricates text.

Input parameters:

- `article` (string|number, required): Article number (13) or the Chinese citation itself ("第十三条", "十三条之一").
- `id` (string, required): Record id ("bbbs") from cn_search_laws.

### `cn_search_admin_regulations` (~129 tokens)

Search mainland Chinese administrative regulations (行政法规) by title — a second official copy of the same regulations cn_search_laws covers, used here specifically because its detail pages carry the FULL regulation text inline as plain HTML (cn_search_laws/cn_law_article_text route through a PDF instead). Source: Ministry of Justice (司法部), National Administrative Regulations Database.

Input parameters:

- `limit` (number): Max results, 1-30 (default 10).
- `query` (string, required): Title keyword in Chinese, e.g. "公司法" (matches implementing regulations), "数据安全".

### `cn_admin_regulation_text` (~63 tokens)

Full Chinese text of one administrative regulation found via cn_search_admin_regulations, plus its revision-date history. Source: Ministry of Justice, National Administrative Regulations Database.

Input parameters:

- `law_id` (string, required): Record id ("LawID") from cn_search_admin_regulations.

### `cn_guiding_cases_list` (~91 tokens)

Index of the Supreme People's Court's official Guiding Cases (指导性案例) — binding case guidance for lower courts, numbered sequentially and released in batches. Page 1 is the newest batch. Source: court.gov.cn, 审判业务 > 指导性案例.

Input parameters:

- `page` (number): Page number, 1 = newest (default 1). Higher numbers go further back.

### `cn_guiding_case_detail` (~77 tokens)

Full text of one Supreme People's Court Guiding Case from cn_guiding_cases_list: title, issuing source, publication date, keywords (关键词), holding (裁判要点), and the full case narrative, in Chinese. Source: court.gov.cn.

Input parameters:

- `id` (string, required): Case id from cn_guiding_cases_list.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/pipeworx-io-cn-law/pipeworx-mcp-cn-law#diagnostics

## Score history

- 2026-11-05: 84
- 2026-11-04: 84
- 2026-11-03: 83
- 2026-11-02: 83
- 2026-11-01: 82
- 2026-10-31: 56
- 2026-10-30: 81
- 2026-10-29: 81

## Common questions

### What is the Cn Law MCP server?

Cn Law is an MCP server listed in the public MCP registry as io.github.pipeworx-io/cn-law. China (mainland) national law, one pack per jurisdiction (at-ris precedent: legislation AND case… This page covers its npm package (@pipeworx/mcp-cn-law).

### Is the Cn Law MCP server safe to use?

Cn Law scores 84 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 5 November 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the Cn Law MCP server expose?

Cn Law exposes 7 tools: cn_search_laws, cn_law_detail, cn_law_article_text, cn_search_admin_regulations, cn_admin_regulation_text, and 2 more. Their descriptions and schemas cost roughly 839 tokens of context every time the server is loaded.

### Is the Cn Law MCP server still maintained?

Cn Law is still listed as active in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the Cn Law MCP server under?

Cn Law declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

### What did VerifyMCP test on the Cn Law MCP server?

VerifyMCP ran 16 checks on Cn Law, covering Malware scan, Known CVEs, Install scripts, Dependency health and 12 more. Endpoint Security and Transport & Reachability do not apply to an npm package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.

## Links

- npm package: https://www.npmjs.com/package/@pipeworx/mcp-cn-law
- Socket report: https://socket.dev/npm/package/@pipeworx/mcp-cn-law
- Repository: https://github.com/pipeworx-io/mcp-cn-law
- Website: https://pipeworx.io/packs/cn-law
- Changelog RSS feed: https://verifymcp.io/servers/pipeworx-io-cn-law/pipeworx-mcp-cn-law.xml
- Changelog JSON feed: https://verifymcp.io/servers/pipeworx-io-cn-law/pipeworx-mcp-cn-law/changelog.json
- Trust report (JSON): https://verifymcp.io/servers/pipeworx-io-cn-law/pipeworx-mcp-cn-law.json
- HTML version of this page: https://verifymcp.io/servers/pipeworx-io-cn-law/pipeworx-mcp-cn-law
