MCP server exposing 7 tools for cn-law.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/cn-law/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
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", "中国法律", 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.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 extracted via cn_law_article_text. Source: NPC National Database of Laws and Regulations.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 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.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 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.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.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.gov.cn, 审判业务 > 指导性案例.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. Source: court.gov.cn.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/cn-law/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io