Pasal.id — Indonesian Law

السجل الرسمي الحكومة والقانون

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

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

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

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  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

الأسئلة الشائعة

ما هو Pasal.id — Indonesian Law؟

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

كيف أثبّت Pasal.id — Indonesian Law؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http pasal-id-indonesian-law 'https://mcp.pasal.id/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Pasal.id — Indonesian Law إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل Pasal.id — Indonesian Law مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص AGPL-3.0.

من يصون Pasal.id — Indonesian Law؟

ينشره Aturio. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.