Pasal Id Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Pasal Id Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
The first open, AI-native Indonesian legal database. Gives Claude and any MCP-compatible AI assistant grounded, citation-ready access to 100,000+ Indonesian regulations — UU, PP, Perpres, PERMEN, PERDA, and 20+ other regulation types — directly from authoritative sources (peraturan.go.id, BPK JDIH, JDIH MK, JDIHN).
https://mcp.pasal.id/mcpIndonesian law is scattered across dozens of government portals, each with its own PDF quirks and status ambiguities. Most LLM answers about Indonesian regulations are hallucinated — the training data is thin, and the live web isn't indexed for precise legal retrieval.
Pasal.id consolidates 100,000+ regulations into structured data (pasal-level granularity, whole-law hierarchy, preamble sections, amendment history, and legal-status provenance) and exposes it to AI assistants via MCP. Every answer an LLM gives using this server can be grounded in a specific article, regulation part, and authoritative source.
Pick your client. All use the same server URL: https://mcp.pasal.id/mcp.
claude mcp add --transport http pasal-id https://mcp.pasal.id/mcpClaude Code will open a browser window for OAuth on first use. For CI/automation, use a personal access token from pasal.id/akun:
claude mcp add --transport http pasal-id https://mcp.pasal.id/mcp \
--header "Authorization: Bearer ${PASAL_MCP_TOKEN}"All consume the same JSON. Paste into the relevant config file:
{
"mcpServers": {
"pasal-id": {
"type": "http",
"url": "https://mcp.pasal.id/mcp",
"headers": {
"Authorization": "Bearer ${PASAL_MCP_TOKEN}"
}
}
}
}| Client | Config file |
|---|---|
| Claude Desktop | ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) · %APPDATA%\Claude\claude_desktop_config.json (Windows) |
| Cursor | ~/.cursor/mcp.json or .cursor/mcp.json (workspace) |
| Windsurf | ~/.codeium/windsurf/mcp_config.json |
| VS Code MCP | .vscode/mcp.json (workspace) |
| Claude Code | .mcp.json (project root) |
Full per-client walkthrough: docs/clients.md.
Settings → Developer Tools → Add MCP Server → paste https://mcp.pasal.id/mcp.
The server exposes eleven intent-level tools to AI assistants:
| Tool | Purpose |
|---|---|
search_laws | Search-first entry point for Indonesian regulation topics, keywords, and citation-like references. |
get_pasal | Retrieve a specific Pasal with ayat context, source URL, PDF provenance, and correction metadata. |
get_law_status | Check whether a regulation is in force, amended, or revoked, including normalized relationship codes. |
get_law_overview | Read canonical metadata, source/provenance, verification, freshness, and compact outline counts. |
get_law_structure | Inspect the hierarchy of Bab, Bagian, Pasal, Pembukaan, Penutup, Penjelasan, and Lampiran without loading the whole law. |
get_law_part | Fetch a bounded part by node_id, selector, or special part such as menimbang, mengingat, memutuskan, penutup, or lampiran. |
read_law_section | Read many Pasal in one call — a range, a whole Bab, or an explicit list — with cross-references resolved; the batch reader for article-by-article walk-throughs. |
search_within_law | Search inside one known regulation after the relevant law_id is clear. |
report_issue | Report OCR mistakes, missing regulations, missing Pasal, broken links, outdated content, or other data quality issues. |
list_laws | Browse regulations with type, year, status, title, issuing body, and pagination filters. |
search_court_decisions | Search Constitutional Court (Mahkamah Konstitusi) decisions by reviewed law, lane (PUU/SKLN/PHPU/PHPKADA), ruling, year, dissent, or judge. |
Schemas + example calls: docs/tools.md.
Once connected, ask your AI assistant questions like:
The assistant should search first, retrieve only the needed Pasal or regulation part, verify status/provenance when the answer depends on currency, and use report_issue when the parsed corpus has a real data problem.
Pasal.id itself lives in a private repository — but this repo is public and we welcome:
PRs to the source regulations database happen through the crowd-correction workflow at pasal.id: any user can highlight a passage and suggest a fix; our team reviews and merges within days.
AGPL-3.0 — see LICENSE.
The MCP server code and the regulation data are both open. Attribution is appreciated; commercial derivatives must remain open-source under the same license.
Built by Aturio · Maintained by Ilham Firdausi Putra.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.