Indonesia Law
liveGovernmentLegalIndonesian law — national statutes and regulations, and Constitutional Court (Mahkamah Konstitusi) judicial-review outcomes, from two official government legal-documentation portals (JDIH).
Tools
idn_search_regulationsSearch 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 y
No parameters required.
Try it
idn_regulation_detailFull register record for one Indonesian law or regulation by type, number and year: title, legal status, state gazette (Lembaran Negara / Tambahan) numbers, dates, the signed PDF, and its relations —
No parameters required.
Try it
idn_list_statutesList Indonesian statutes and executive instruments by type and year from the House of Representatives (DPR RI) legal register — Undang-Undang, Perpu, Peraturan Pemerintah, Peraturan Presiden, Keputusa
No parameters required.
Try it
idn_statute_detailDetailed record of one Indonesian statute or executive instrument from the House of Representatives (DPR RI) register: number, year, enactment/promulgation dates, an Indonesian abstract with drafting
No parameters required.
Try it
idn_mk_review_searchFind Indonesian Constitutional Court (Mahkamah Konstitusi, MK) judicial-review outcomes on statutes — petitions granted (article declared unconstitutional), rejected or inadmissible, plus DPR's post-r
No parameters required.
Try it
idn_mk_review_detailMetadata and PDF for one Indonesian Constitutional Court judicial-review resume or DPR analysis document from the DPR RI register, given the url returned by idn_mk_review_search: full title, document
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/indonesia-law/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/indonesia-law/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"idn_search_regulations","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("idn_search_regulations", {});// Or ask in plain English:
const answer = await px.ask("indonesian law — national statutes and regulations, and constitutional court (mahkamah konstitusi) judicial-review outcomes, from two official government legal-documentation portals (jdih)");