Pasal.id — Indonesian Law

io.github.AturioPublished by GitHub account Aturiov2.1.0Updated Oct 24, 2026

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

VerifiedStreamable HTTPWeb executableWeb Search & ScrapingKnowledge & Memory

Overview

AI-generated overview

Hosted MCP service for Indonesian law: an assistant can search regulations, resolve citations, read articles, and search Constitutional Court decisions.

What you can do
Search regulations by topic, keyword, citation, type, year, status, issuer or region, and search Mahkamah Konstitusi decisions by topic, reviewed law, outcome, year or judge. Resolve a law title, citation or abbreviation to a canonical law ID, or get candidates when ambiguous. Check a law's summary, structure, legal status and amendment or court-review relationships. Read selected articles, ranges, chapters, preambles, elucidation or appendices with character budgets and continuation cursors. Submit a data correction or failed-search report, and check authenticated connection liveness.
When to use it
Useful when answering questions about Indonesian legislation, checking what a regulation says or whether it has been amended, or looking up Constitutional Court rulings on a law. It suits research and drafting support where citations to official sources are wanted.
Requirements
Remote Streamable HTTP endpoint; no local install or Docker. A free Pasal.id account with browser OAuth is required, or a personal access token for automation. Network access to the hosted service.
Before you install
The report_issue tool writes feedback to Pasal.id, so submissions leave the user's machine and are reviewed before application. Coverage and processing quality vary, and a missing result does not prove a regulation does not exist; text-verification evidence does not establish whether a law is still in force. Check the official source before relying on a citation; this is research material, not legal advice.

Installation

In SourceWeft

  1. Open Pasal.id — Indonesian Law in the dashboard and add it to a workspace.
  2. Connect the required credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.Aturio%2Fpasal-id-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.

{
  "mcpServers": {
    "pasal-id-indonesian-law": {
      "type": "http",
      "url": "https://mcp.pasal.id/mcp"
    }
  }
}

README

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

bash
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

bash
codex mcp add pasal-id --url https://mcp.pasal.id/mcpcodex mcp login pasal-id

Cursor

Add this to .cursor/mcp.json or ~/.cursor/mcp.json, then complete OAuth:

json
{  "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:

bash
codex plugin marketplace add Aturio/pasal-id-mcp --ref maincodex 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

Source: README.md at commit ab278a2

Tools

0
This server asks you to sign in, so SourceWeft could not read its tools without an account and has not indexed them. What a connected account sees can depend on that account and its permissions.

Version history

3
  1. v2.1.0LatestOct 7, 2026
  2. v2.0.1Sep 18, 2026
  3. v2.0.0Sep 16, 2026

Score

85% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts