# @pipeworx/indonesia-law 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. Part of [Pipeworx](https://pipeworx.io) — an MCP gateway connecting AI agents to 1865+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider. ## 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 (`berlaku` in force / `sebagian` partially 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}`. `tentang` matches 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 `