idn_search_regulations
Pack: indonesia-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/idn_search_regulations for the schema, then POST the same URL with its arguments for the data.
Search Indonesia’s national register of laws and regulations (Undang-Undang statutes, Perpu, Peraturan Pemerintah, Peraturan Presiden, Keppres, Inpres) by Indonesian title words, instrument type and year. Returns each instrument’s citation, title, legal status (in force / partially amended / revoked), enactment and promulgation dates and a link to the signed PDF, from the State Secretariat JDIH (jdih.setneg.go.id). Use for “what Indonesian laws exist about X”, “list Indonesian statutes passed in 2023”, “is UU 11/2020 Cipta Kerja still in force”.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | no | Indonesian words expected in the instrument’s title, e.g. “cipta kerja”, “pajak”, “kesehatan”, “mahkamah konstitusi”. Optional; leave empty to list by type and year. |
type | string | no | Instrument type or comma-separated types: UU, PERPU, PP, PERPRES, KEPPRES, INPRES, PERMENSESNEG, KEPMENSESNEG. Optional. |
year | string | no | Four-digit year or comma-separated years, e.g. “2023” or “2021,2022”. Optional. |
status | string | no | Legal-status filter as the register spells it: “berlaku” (in force), “sebagian” (partially amended/revoked), “tidak berlaku” (no longer in force). Optional. |
limit | number | no | Results per page, 1-50 (default 10). |
offset | number | no | Row offset for paging (default 0). |
Example call
Arguments
{
"query": "cipta kerja",
"limit": 5
}
curl
curl -X POST https://gateway.pipeworx.io/indonesia-law/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"idn_search_regulations","arguments":{"query":"cipta kerja","limit":5}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('idn_search_regulations', {
"query": "cipta kerja",
"limit": 5
});
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 indonesia-law pack
{
"mcpServers": {
"indonesia-law": {
"url": "https://gateway.pipeworx.io/indonesia-law/mcp"
}
}
}
See Getting Started for client-specific install steps.