Indonesia Law

liveGovernmentLegal

Indonesian law — national statutes and regulations, and Constitutional Court (Mahkamah Konstitusi) judicial-review outcomes, from two official government legal-documentation portals (JDIH).

6tools
0msauth
free tier50 calls/day

Tools

idn_search_regulations

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 y

No parameters required.

▶Try it
idn_regulation_detail

Full 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_statutes

List 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_detail

Detailed 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_detail

Metadata 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.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/indonesia-law/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
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.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("idn_search_regulations", {});
ask_pipeworx
// 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)");