cn_law_detail
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_detail for the schema, then POST the same URL with its arguments for the data.
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.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Record id (“bbbs”) from cn_search_laws. |
Example call
Arguments
{
"id": "ff8081817b6472a3017b656cc2040044"
}
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_detail","arguments":{"id":"ff8081817b6472a3017b656cc2040044"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('cn_law_detail', {
"id": "ff8081817b6472a3017b656cc2040044"
});
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.