
Pulls structured legal data from Indonesia's official regulation portals (peraturan.go.id, BPK JDIH, JDIH MK) and makes 100,000+ regulations searchable at the pasal (article) level. You get ten tools: search by topic or citation, fetch specific articles with ayat context, check amendment status, pull regulation structure without loading the full text, batch-read entire chapters, and report OCR errors back to the corpus. Uses OAuth 2.0 over streamable HTTP. Reach for this when you need grounded answers about Indonesian law with real citations instead of hallucinated references. Every retrieved pasal includes PDF provenance and verification metadata. Free account at pasal.id, AGPL-3.0 licensed.
Public tool metadata for what this MCP can expose to an agent.
search_lawsCari full-text di peraturan perundang-undangan Indonesia.6 paramsCari full-text di peraturan perundang-undangan Indonesia.
languagestringlimitintegerquerystringregulation_typestringyear_fromintegeryear_tointegerget_pasalAmbil teks resmi Pasal tertentu dari peraturan Indonesia.5 paramsAmbil teks resmi Pasal tertentu dari peraturan Indonesia.
law_idintegerlaw_numberstringlaw_typestringpasal_numberstringyearintegerget_law_statusCek apakah peraturan Indonesia masih berlaku, diubah, atau dicabut.4 paramsCek apakah peraturan Indonesia masih berlaku, diubah, atau dicabut.
law_idintegerlaw_numberstringlaw_typestringyearintegerget_law_overviewTampilkan metadata kanonik, provenance, sumber, dan struktur satu peraturan Indonesia.4 paramsTampilkan metadata kanonik, provenance, sumber, dan struktur satu peraturan Indonesia.
law_idintegerlaw_numberstringlaw_typestringyearintegerget_law_structureLihat hierarki Bab, Bagian, Pasal, Pembukaan, Penutup, dan Lampiran satu peraturan tanpa memuat seluruh teks.6 paramsLihat hierarki Bab, Bagian, Pasal, Pembukaan, Penutup, dan Lampiran satu peraturan tanpa memuat seluruh teks.
depthintegerinclude_special_partsbooleanlaw_idintegerlaw_numberstringlaw_typestringyearintegerget_law_partAmbil bagian tertentu dari satu peraturan, seperti Bab II, Pembukaan, Menimbang, Mengingat, Memutuskan, Penutup, Lampiran, atau node_id dari struktur.8 paramsAmbil bagian tertentu dari satu peraturan, seperti Bab II, Pembukaan, Menimbang, Mengingat, Memutuskan, Penutup, Lampiran, atau node_id dari struktur.
cursorstringinclude_childrenbooleanlaw_idintegermax_charsintegernode_idintegernode_typestringnumberstringpart_typestringpreamble · menimbang · mengingat · memutuskan · menetapkan · penutupsearch_within_lawCari istilah atau frasa di dalam satu peraturan yang sudah diketahui.6 paramsCari istilah atau frasa di dalam satu peraturan yang sudah diketahui.
law_idintegerlaw_numberstringlaw_typestringlimitintegerquerystringyearintegerreport_issueLaporkan masalah data Pasal.id dari alur MCP, seperti OCR salah, peraturan hilang, Pasal hilang, tautan rusak, atau konten usang.13 paramsLaporkan masalah data Pasal.id dari alur MCP, seperti OCR salah, peraturan hilang, Pasal hilang, tautan rusak, atau konten usang.
contact_emailstringcurrent_contentstringdescriptionstringlaw_idintegerlaw_numberstringlaw_typestringnode_idintegerpasal_numberstringreference_urlstringreport_typestringocr_correction · missing_regulation · missing_pasal · incorrect_content · broken_link · outdated_contentsuggested_contentstringtitlestringyearintegerlist_lawsJelajahi daftar peraturan Indonesia dengan filter jenis, tahun, status, dan judul.7 paramsJelajahi daftar peraturan Indonesia dengan filter jenis, tahun, status, dan judul.
issuing_bodystringpageintegerper_pageintegerregulation_typestringsearchstringstatusstringyearintegerSearch Indonesian regulations, resolve legal citations, and read the articles you need with links to the original sources. Pasal.id gives AI assistants structured legal text, amendment relationships, and available legal-status context, alongside Constitutional Court (Mahkamah Konstitusi) decision search.
This repository contains the public manifest, schema snapshot, and connection guides for the hosted Pasal.id MCP service. No local server installation or Docker build is needed.
| Endpoint | https://mcp.pasal.id/mcp |
| Transport | Streamable HTTP |
| Authentication | Free Pasal.id account with browser OAuth; personal access token for automation |
| Website and setup | pasal.id · Hubungkan AI |
| Live schema | Public server card |
| Directory | Glama connector |
claude mcp add --transport http pasal-id https://mcp.pasal.id/mcp
Complete the browser login when prompted. In Claude Desktop or Claude on the web, add the same URL through Settings → Connectors → Add custom connector, then connect your Pasal.id account.
codex mcp add pasal-id --url https://mcp.pasal.id/mcp
codex mcp login pasal-id
Add this to .cursor/mcp.json or ~/.cursor/mcp.json, then complete OAuth:
{
"mcpServers": {
"pasal-id": {
"url": "https://mcp.pasal.id/mcp"
}
}
}
For VS Code, Windsurf, ChatGPT, and personal-token examples, use the client-specific guide. Their configuration formats differ.
The live v2 interface provides six research and feedback tools plus ping. Directories should discover seven tools after authenticating.
| Tool | Use it to |
|---|---|
search_legal | Find regulations by Indonesian topic, keyword, or citation, with type, year, status, issuer, region, and within-law filters. |
resolve_law | Resolve a title, citation, or abbreviation to a canonical law_id, or receive candidates when ambiguous. |
get_law_context | Check a law's summary, structure, legal status, and amendment or court-review relationships before reading. |
read_law | Read selected articles, multiple ranges, chapters, preambles, elucidation, or appendices using character budgets and continuation cursors. |
search_court_decisions | Search Mahkamah Konstitusi decisions by topic, reviewed law, case lane, outcome, year, dissent, or judge. |
report_issue | Submit a real data correction or failed-search report. This tool writes feedback; it is not a health probe. |
ping | Check authenticated MCP liveness without a legal search or feedback submission. |
When a law is named, use resolve_law → get_law_context → read_law. When the relevant law is unknown, start with search_legal. Reuse returned IDs, inspect diagnostics and recovery guidance, and cite the supplied reader and official-source links. Court search currently covers MK; this interface does not advertise Mahkamah Agung search.
Parameter reference and examples · Checked-in public schema
Pasal.id processes official government documents into searchable chapters, articles, paragraphs, and related sections. Reader pages expose source links, available status information, and a correction route. Coverage and processing quality vary; a missing search result does not establish that a regulation does not exist.
The website distinguishes human review, certified golden references, automated source checks, unreviewed processing, and limited evidence. A golden certification measures reproducibility against a reference; it is not a claim of human review. Text-verification evidence also does not determine whether a law remains in force. See the methodology for the current definitions and limitations.
Use the official source to check the text and current legal status before relying on a citation. Pasal.id provides research material, not legal advice. Corpus totals change; the website shows current counts.
Report integration problems in GitHub Issues. Submit data corrections through Pasal.id feedback, the reader, or report_issue. Corrections are reviewed before application.
Maintainers: see directory maintenance for schema sync, registry publication, and Glama test-profile recovery.
The files in this repository are licensed under AGPL-3.0. This public documentation repository does not contain the production service implementation or grant a blanket license over third-party source documents.
Built by Aturio · Maintained by Ilham Firdausi Putra · REST API