tw_law_search
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_search for the schema, then POST the same URL with its arguments for the data.
Find a Taiwan law by title (Chinese or English).
Tool description as the model sees it
Search Taiwan national statutes and the Constitution by TITLE keyword, Chinese or English — “個人資料保護法”, “Personal Data Protection”, “民法”, “Civil Code”. This is a title search, not full-text; it will not find a law by a phrase appearing only inside an article. Returns each match’s pcode (for tw_law_info/tw_law_article), Chinese and English titles, law level, category, whether an official English translation exists, and the last amendment date. Source: Taiwan Ministry of Justice, Laws & Regulations Database.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Title keyword, Chinese or English, e.g. “個人資料保護法” or “Personal Data Protection Act”. |
limit | number | no | Max laws to return (1-50, default 10). |
Example call
Arguments
{
"query": "個人資料保護法"
}
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_search","arguments":{"query":"個人資料保護法"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('tw_law_search', {
"query": "個人資料保護法"
});
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.