MCP server exposing 6 tools for indonesia-law.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/indonesia-law/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
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 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".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 — which instruments amend or revoke it, which it amends or revokes, related implementing regulations and any judicial-review entry — from the State Secretariat JDIH (jdih.setneg.go.id). Use for "details of UU 6/2023", "what amended PP 5/2021", "get the PDF of Perpres 40/2026".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, Keputusan Presiden, Instruksi Presiden, Peraturan DPR — with the DPR id needed by idn_statute_detail and a direct PDF link, optionally filtered by Indonesian title words. Use for "all Indonesian laws enacted in 2020", "presidential regulations of 2024 about energy".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 notes, the responsible DPR commission, the Status list (which earlier laws it amends or revokes, which later laws amend it, and which ARTICLES the Constitutional Court / Mahkamah Konstitusi struck down, with case numbers), the table of implementing regulations per article, and the PDF. Use for "which articles of UU 13/2003 were annulled by the Constitutional Court", "implementing regulations of the Cipta Kerja law", "abstract of UU 1/2026".idn_mk_review_search — Find Indonesian Constitutional Court (Mahkamah Konstitusi, MK) judicial-review outcomes on statutes — petitions granted (article declared unconstitutional), rejected or inadmissible, plus DPR's post-ruling analyses and its statements in the case — by case number (e.g. 91/PUU-XVIII/2020), by Indonesian statute words, or by year, from the DPR RI "Info Judicial Review" resume collection (800+ documents). Returns the case number, the statute under review, the outcome category and a link for idn_mk_review_detail. Use for "Constitutional Court rulings on the election law", "was the petition against UU 11/2020 granted", "MK decisions in 2023".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 kind, MK case number, statute under review, publication year and the resume PDF from berkas.dpr.go.id. Use after idn_mk_review_search to read the ruling summary.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/indonesia-law/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io