cn_law_article_text

Pack: cn-law · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/cn_law_article_text for the schema, then POST the same URL with its arguments for the data.

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.

Parameters

NameTypeRequiredDescription
idstringyesRecord id (“bbbs”) from cn_search_laws.
articlestring,numberyesArticle number (13) or the Chinese citation itself (“第十三条”, “十三条之一”).

Example call

Arguments

{
  "id": "ff8081817b6472a3017b656cc2040044",
  "article": 13
}

curl

curl -X POST https://gateway.pipeworx.io/cn-law/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"cn_law_article_text","arguments":{"id":"ff8081817b6472a3017b656cc2040044","article":13}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('cn_law_article_text', {
  "id": "ff8081817b6472a3017b656cc2040044",
  "article": 13
});

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the cn-law pack
{
  "mcpServers": {
    "cn-law": {
      "url": "https://gateway.pipeworx.io/cn-law/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 16, 2026