idn_regulation_detail

Pack: indonesia-law · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/idn_regulation_detail for the schema, then POST the same URL with its arguments for the data.

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

Parameters

NameTypeRequiredDescription
typestringyesInstrument type: UU, PERPU, PP, PERPRES, KEPPRES, INPRES, PERMENSESNEG or KEPMENSESNEG.
numberstringyesInstrument number, e.g. “11”.
yearstringyesFour-digit year, e.g. “2020”.

Example call

Arguments

{
  "type": "UU",
  "number": "11",
  "year": "2020"
}

curl

curl -X POST https://gateway.pipeworx.io/indonesia-law/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"idn_regulation_detail","arguments":{"type":"UU","number":"11","year":"2020"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('idn_regulation_detail', {
  "type": "UU",
  "number": "11",
  "year": "2020"
});

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the indonesia-law pack
{
  "mcpServers": {
    "indonesia-law": {
      "url": "https://gateway.pipeworx.io/indonesia-law/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 30, 2026