Cn Law
liveLegalLegislatureChina (mainland) national law — one pack per jurisdiction (at-ris precedent: legislation AND case law together). Fleet #3136, from the feasibility spike docs/china-legal-feasibility.md (fleet #3131).
Tools
cn_search_lawsSearch 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", "中国法律", c
No parameters required.
Try it
cn_law_detailMetadata 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
No parameters required.
Try it
cn_law_article_textThe 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
No parameters required.
Try it
cn_search_admin_regulationsSearch 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 FUL
No parameters required.
Try it
cn_admin_regulation_textFull 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.
No parameters required.
Try it
cn_guiding_cases_listIndex 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.
No parameters required.
Try it
cn_guiding_case_detailFull 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. Sourc
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/cn-law/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/cn-law/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"cn_search_laws","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("cn_search_laws", {});// Or ask in plain English:
const answer = await px.ask("china (mainland) national law — one pack per jurisdiction (at-ris precedent: legislation and case law together)");