@pipeworx/indonesia-law
Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/indonesia-law’s. Install: one-click buttons
Connect to just the @pipeworx/indonesia-law pack
https://gateway.pipeworx.io/indonesia-law/mcp — only @pipeworx/indonesia-law’s own tools, nothing else in the catalog.
No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.
Tools: 6
Indonesian national law — statutes (Undang-Undang), Perpu, government and presidential regulations, and Constitutional Court (Mahkamah Konstitusi) judicial-review outcomes — from two official government legal-documentation portals (JDIH): the State Secretariat (jdih.setneg.go.id) and the House of Representatives (jdih.dpr.go.id). Keyless; every tool is a live call.
Tools
idn_search_regulations(query?, type?, year?, status?, limit?, offset?)— search the national register by Indonesian title words, instrument type (UU, PERPU, PP, PERPRES, KEPPRES, INPRES, PERMENSESNEG, KEPMENSESNEG) and year. Returns citation, title, legal status (berlakuin force /sebagianpartially amended or revoked /tidak berlaku), enactment and promulgation dates, and the signed-copy PDF link.idn_regulation_detail(type, number, year)— one instrument’s register record: state-gazette (LN/TLN) numbers, dates, legal status, PDF files, and its relations (amended by / amends / revoked by / revokes / related implementing regulations / judicial review).idn_list_statutes(type?, year, query?, limit?)— DPR’s per-year list of statutes and executive instruments (uu, perpu, pp, perpres, keppres, inpres, perdpr, peraturanbersama) with the DPR id and a direct PDF.idn_statute_detail(type?, dpr_id)— DPR’s record: Indonesian abstract with drafting notes, responsible commission, the Status list (what it amends or revokes, what amends it, and which ARTICLES the Constitutional Court struck down, with case numbers), the implementing-regulation table per article, and the PDF.idn_mk_review_search(query?, category?, year?, limit?)— Constitutional Court statute-review outcomes as documented by DPR: petitions granted (granted), rejected or inadmissible (rejected), DPR’s post-ruling analyses (analysis) and DPR’s statements in the case (dpr_statement). Search by case number (91/PUU-XVIII/2020), Indonesian statute words, or year.idn_mk_review_detail(url)— metadata and the resume PDF for one of those documents.
Auth
Keyless.
Data sources
https://jdih.setneg.go.id/api/hukumproduk/produkhukum(POST JSON) — search the register. Body:{tentang, p_lihan:"semua", jns:[…], thn:[…], status, terx:"All", sortOrder:"desc", length, start}.tentangmatches words in the Indonesian TITLE only — “tax” finds nothing, “pajak” does.https://jdih.setneg.go.id/api/hukumproduk/detaildata(POST{jns,no,thn,k:""}) — the record plus its file list;/api/hukumproduk/status(POST the record’s relation id lists) — answers with HTML<label>chips whosedata-jns/data-no/data-thn/ data-original-titleattributes are the related instruments. The PDF is served at/api/hukumproduk/pdf?l=uploads&f=<realName>&fl=<idperaturan>.https://jdih.dpr.go.id/setjen/index/id/<Type>-BAGIAN-PERTIMBANGAN-DAN-DOKUMENTASI-INFORMASI-HUKUM/year/<yyyy>— per-year statute lists (server-rendered HTML; without/year/only the newest handful is shown). Detail pages:/setjen/detail-dokumen/tipe/<uu|pp|perpres|…>/id/<n>; PDFs onberkas.dpr.go.id/jdih/document/<type>/<n>.pdf.https://jdih.dpr.go.id/setjen/index/id/Info-Judicial-Review-Putusan-MK---Menyatakan-Mengabulkan-…,Resume-Putusan-MK---Menyatakan-Menolak,-Tidak-Dapat-Diterima-…,Analisis-dan-Evaluasi-UU-Berdasarkan-Putusan-MK-…,Keterangan-DPR-mengenai-Pengujian-UU-Terhadap-UUD-1945-…— the four MK judicial-review collections (~820 documents on 2026-09-30), each list complete in one page; resume PDFs onberkas.dpr.go.id/puspanlakuu/resume/.
Things the next person would otherwise rediscover
- DPR answers HTTP 403 to a browser-shaped User-Agent sent by a non-browser client, and 200 to an honest bot UA. Send ours; never spoof a browser.
- DPR’s keyword search form (
POST /cari) renders no results server-side, so the pack does not use it — list by type+year and filter titles instead, or search the Setneg register. - Setneg’s
/api/putusan/*endpoints (court decisions) hold only Bawaslu material; itsMKandMAcategories return zero rows. The judicial-review coverage here comes from DPR’s resumes, which name the case and the statute but are summaries, not the Court’s full text. - Setneg’s
detaildatarecord carries nostatus_hukum; the pack takes it from the search endpoint for the same type+year. status="diluar"on a relation chip means the related instrument is outside the Setneg register (in_register:false); it still has a full citation.
Official sources checked and NOT usable (2026-09-30)
peraturan.go.idandjdihn.go.id(Kemenkumham / BPHN national portals, 103.145.96.x): connection timed out from a US residential IP andECONNREFUSEDfrom a second US egress — not reachable from outside Indonesia at the time of building.www.mkri.id(Constitutional Court),jdih.mkri.id,putusan3.mahkamahagung.go.idandjdih.mahkamahagung.go.id(Supreme Court decision directory),peraturan.bpk.go.id(BPK): HTTP 403 “Just a moment” Cloudflare JavaScript challenge for every non-browser client, bot UA or browser UA alike. Not solved on purpose.api-jdih.perpusnas.go.id: documented JSON API butGET /tokenanswers 401Application Key tidak ditemukan— an application key issued by the National Library is required, so it is behind an authentication wall.data.go.id: reachable, but the Constitutional Court datasets there are case-count statistics, not decisions.
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
- 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 —
- 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
- 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
- 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-r
- 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
Tools
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, Keputusaidn_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, documentidn_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-ridn_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 —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 yidn_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