tw_law_info
Pack: tw-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/tw_law_info for the schema, then POST the same URL with its arguments for the data.
One Taiwan law’s metadata: level, category, amendment vs. effective dates, repeal status, promulgation history.
Tool description as the model sees it
Resolve a Taiwan law to its full metadata by pcode (from tw_law_search) or an exact/partial Chinese or English title, the exact-citation step before reading an article. Returns the law’s level (法律/憲法), category, official English title if one exists, whether it has been abolished, the LAST AMENDMENT date and the date that amendment TAKES/TOOK LEGAL EFFECT as separate fields (Taiwan statutes can be amended on one date and take effect on another, sometimes “to be set later by the Executive Yuan”, flagged as effective_date_pending), the full promulgation history (in Chinese, and in English when the law has an official translation), and the article count. Source: Taiwan Ministry of Justice, Laws & Regulations Database.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
pcode | string | no | The law’s pcode, e.g. “I0050021” (from tw_law_search). |
name | string | no | Chinese or English law title, exact or partial, used when pcode is not known. |
Example call
Arguments
{
"pcode": "I0050021"
}
curl
curl -X POST https://gateway.pipeworx.io/tw-law/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tw_law_info","arguments":{"pcode":"I0050021"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('tw_law_info', {
"pcode": "I0050021"
});
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 tw-law pack
{
"mcpServers": {
"tw-law": {
"url": "https://gateway.pipeworx.io/tw-law/mcp"
}
}
}
See Getting Started for client-specific install steps.