Cn Law
NPM · @PIPEWORX/MCP-CN-LAW · 2 COMPONENTS
China (mainland) national law — one pack per jurisdiction (at-ris precedent: legislation AND case…
Available components
Last scanned (10 hours ago)
Scores higher than 81% of npm servers
Category Education and Research
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. How we score → Why this is hard to score →
Supply Chain Security100
- No malware found by supply-chain analysis.Pass
- No known CVEs affecting this package version or its production dependencies.Pass
- No install/post-install scripts declared.Pass
- No production dependencies, so there is no dependency health to assess. View diagnostics → Pass
Provenance & Transparency97
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to pipeworx-io/mcp-cn-law). View diagnostics → Pass
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 4 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability74
- AI-judged instruction clarity (excellent).Pass
- 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. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management23
- Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- We read all 7 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
- An AI judge read all 8 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 4 Nov 26 +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.
- 2 Nov 26 +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.
- 1 Nov 26 +26
- Known CVEs: unverified → pass ▲ security
- Malware scan: unverified → pass ▲ security
- Dependency health: unverified → pass ▲ functional
- 31 Oct 26 −25
- Known CVEs: pass → unverified ▼ security
- Malware scan: pass → unverified ▼ security
- Dependency health: pass → unverified ▼ functional
- Package version: 0.2.0 → 0.2.1 functional
- 29 Oct 26 81
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 5 Nov 2026 · Analysed npm/@pipeworx/mcp-cn-law@0.2.1
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | npm |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | pipeworx-io/mcp-cn-law |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/pipeworx-io/mcp-cn-law/.github/workflows/publish.yml@refs/heads/main |
| Rekor log index | 3612128065 |
| Predicate type | SLSA build provenance https://slsa.dev/provenance/v1 |
| Subject digest | sha512:0720606591e2e9e205ebec027691f4b22689d49562f83ee6ffb29bfef78aa65e06b0260bafff8210ae766c9c8d61d89940293472c2610b56491beeb9f |
Background: How many MCP packages publish verified provenance →
Dependencies 0 packages
| Packages resolved | 0 |
|---|---|
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
cn_admin_regulation_text ~63
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.
| Name | Type | Req | Description |
|---|---|---|---|
| law_id | string | yes | Record id ("LawID") from cn_search_admin_regulations. |
No output schema declared.
No examples provided.
cn_guiding_case_detail ~77
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.
| Name | Type | Req | Description |
|---|---|---|---|
| id | string | yes | Case id from cn_guiding_cases_list. |
No output schema declared.
No examples provided.
cn_guiding_cases_list ~91
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, 审判业务 > 指导性案例.
| Name | Type | Req | Description |
|---|---|---|---|
| page | number | – | Page number, 1 = newest (default 1). Higher numbers go further back. |
No output schema declared.
No examples provided.
cn_law_article_text ~140
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.
| Name | Type | Req | Description |
|---|---|---|---|
| article | string|number | yes | Article number (13) or the Chinese citation itself ("第十三条", "十三条之一"). |
| id | string | yes | Record id ("bbbs") from cn_search_laws. |
No output schema declared.
No examples provided.
cn_law_detail ~88
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.
| Name | Type | Req | Description |
|---|---|---|---|
| id | string | yes | Record id ("bbbs") from cn_search_laws. |
No output schema declared.
No examples provided.
cn_search_admin_regulations ~129
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.
| Name | Type | Req | Description |
|---|---|---|---|
| limit | number | – | Max results, 1-30 (default 10). |
| query | string | yes | Title keyword in Chinese, e.g. "公司法" (matches implementing regulations), "数据安全". |
No output schema declared.
No examples provided.
cn_search_laws ~251
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.
| Name | Type | Req | Description |
|---|---|---|---|
| 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 | yes | Title/keyword in Chinese, e.g. "个人信息保护法", "公司法", "数据安全法". |
No output schema declared.
No examples provided.
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.
npm · @pipeworx/mcp-cn-law
claude mcp add pipeworx-io-cn-law -- npx -y @pipeworx/mcp-cn-law
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.