Pasal.id — Indonesian Law

Registre officiel Administration et juridique

Search Indonesian laws, resolve citations, read articles, and find Constitutional Court decisions.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

Remote (streamable-http)
Claude Code
claude mcp add --transport http pasal-id-indonesian-law 'https://mcp.pasal.id/mcp'
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "pasal-id-indonesian-law": {
            "type": "http",
            "url": "https://mcp.pasal.id/mcp"
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. Pasal.id — Indonesian Law MCP
  2. Connect
  3. ChatGPT and Codex plugin
  4. Available tools
  5. Try asking
  6. Sources and verification
  7. Feedback and maintenance

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.

Endpointhttps://mcp.pasal.id/mcp
TransportStreamable HTTP
AuthenticationFree Pasal.id account with browser OAuth; personal access token for automation
Website and setuppasal.id · Hubungkan AI
Live schemaPublic server card
DirectoryGlama 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.

ToolUse it to
search_legalFind regulations by Indonesian topic, keyword, or citation, with type, year, status, issuer, region, and within-law filters.
resolve_lawResolve a title, citation, or abbreviation to a canonical law_id, or receive candidates when ambiguous.
get_law_contextCheck a law's summary, structure, legal status, and amendment or court-review relationships before reading.
read_lawRead selected articles, multiple ranges, chapters, preambles, elucidation, or appendices using character budgets and continuation cursors.
search_court_decisionsSearch Mahkamah Konstitusi decisions by topic, reviewed law, case lane, outcome, year, dissent, or judge.
report_issueSubmit a real data correction or failed-search report. This tool writes feedback; it is not a health probe.
pingCheck 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

Questions fréquentes

Qu'est-ce que Pasal.id — Indonesian Law ?

Search Indonesian laws, resolve citations, read articles, and find Constitutional Court decisions.

Comment installer Pasal.id — Indonesian Law ?

Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http pasal-id-indonesian-law 'https://mcp.pasal.id/mcp'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour Pasal.id — Indonesian Law ?

Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.

Pasal.id — Indonesian Law est-il open source ?

Oui. Son code est sur GitHub sous licence AGPL-3.0.

Qui maintient Pasal.id — Indonesian Law ?

Il est publié par Aturio. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.