
Pasal.id — Indonesian Law MCP Server
Search Indonesian laws, resolve citations, read articles, and find Constitutional Court decisions.
Pasal.id — Indonesian Law scores 63 (Good), licensed AGPL-3.0 and written in Python. It can be reached as a remote MCP endpoint. It declares 6 tools. Filed under Search. GitHub shows 2 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
63 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: agpl-3.0.
License, quality and maintenance
License: Grade C
AGPL-3.0 is a strong copyleft license: derived works must use the same license.
How license is graded
Where the 63 comes from
22 + 15 + 2 + 10 + 4 + 10 = 63. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 15 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "aturio-pasal-id-mcp": { "url": "https://mcp.pasal.id/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools6Tool docs quality grade B
All capabilitiesget_law_contexttoolCheck a law's summary, structure, legal status, and amendment or court-review relationships before reading.
read_lawtoolRead selected articles, multiple ranges, chapters, preambles, elucidation, or appendices using character budgets and continuation cursors.
report_issuetoolSubmit a real data correction or failed-search report. This tool writes feedback; it is not a health probe.
resolve_lawtoolResolve a title, citation, or abbreviation to a canonical lawid, or receive candidates when ambiguous.
Search Mahkamah Konstitusi decisions by topic, reviewed law, case lane, outcome, year, dissent, or judge.
search_legaltoolFind regulations by Indonesian topic, keyword, or citation, with type, year, status, issuer, region, and within-law filters.
About
Pasal.id — Indonesian Law MCP
Search 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 |
Connect
Claude Code
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 CLI and app
codex mcp add pasal-id --url https://mcp.pasal.id/mcp
codex mcp login pasal-id
Cursor
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.
ChatGPT and Codex plugin
The Pasal.id - Hukum Indonesia plugin package adds four focused workflows: verify a law citation, research legislation, check recorded status and amendments, and discover MK decisions. Its distinct MCP connection name, pasal-id-plugin, connects through browser OAuth to https://mcp.pasal.id/mcp/openai and exposes the six research and feedback tools. This lets existing users keep their standalone pasal-id connection while the plugin uses its intended endpoint. Verify the installed plugin's actual connection binding; restricted logging applies to /mcp/openai, while standalone /mcp traffic follows its separate diagnostic policy. The source package is available here; downloadable ZIP versions are published through GitHub Releases after their hosted runtime is verified. A source package or personal installation does not establish OpenAI directory approval.
For Codex CLI, register this marketplace and install the plugin:
codex plugin marketplace add Aturio/pasal-id-mcp --ref main
codex plugin add pasal-id@pasal-id-plugins
These commands require the marketplace files to be published on main. Follow the installation guide for browser OAuth, desktop setup, updates and connection checks. In ChatGPT, use Plugins → Add → Upload plugin archive, then New Plugin → click to upload to select a built or released ZIP. Entering only an MCP endpoint does not import the four workflows. See the package guide for building and evaluation.
Available tools
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
Try asking
- “Cari peraturan tentang pelindungan data pribadi, lalu baca pasal yang relevan.”
- “Apa status UU ITE dan peraturan mana yang mengubahnya?”
- “Tampilkan kerangka UU 27 Tahun 2022, lalu baca Pasal 65–67.”
- “Cari pergub DKI Jakarta tentang pengelolaan air limbah.”
- “Cari putusan MK yang menguji UU Ketenagakerjaan.”
Sources and verification
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.
Feedback and maintenance
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
Frequently asked questions
What is Pasal.id — Indonesian Law MCP Server?
Search Indonesian laws, resolve citations, read articles, and find Constitutional Court decisions.
How do I install Pasal.id — Indonesian Law MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Pasal.id — Indonesian Law MCP Server connects to the remote endpoint https://mcp.pasal.id/mcp, so there is nothing to install locally.
Is Pasal.id — Indonesian Law MCP Server free and open source?
Yes. Pasal.id — Indonesian Law MCP Server is released under the AGPL-3.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Pasal.id — Indonesian Law MCP Server support remote (HTTP) connections?
Yes. Pasal.id — Indonesian Law MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does Pasal.id — Indonesian Law MCP Server provide?
Pasal.id — Indonesian Law MCP Server provides 6 tools, including get_law_context, read_law, report_issue, and resolve_law. See the full tool list for descriptions and parameters.
How is Pasal.id — Indonesian Law MCP Server's trust score calculated?
Pasal.id — Indonesian Law MCP Server scores 63 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.