Cn Law

liveLegalLegislature

China (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).

7tools
0msauth
free tier50 calls/day

Tools

cn_search_laws

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", "中国法律", c

No parameters required.

▶Try it
cn_law_detail

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

No parameters required.

▶Try it
cn_law_article_text

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

No parameters required.

▶Try it
cn_search_admin_regulations

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 FUL

No parameters required.

▶Try it
cn_admin_regulation_text

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.

No parameters required.

▶Try it
cn_guiding_cases_list

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.

No parameters required.

▶Try it
cn_guiding_case_detail

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. 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.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/cn-law/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
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.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("cn_search_laws", {});
ask_pipeworx
// 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)");