
An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

An MCP server providing grounded access to Indonesian legislation, letting Claude search laws, retrieve specific articles, check amendment status and browse regulations with exact citations.
Pasal.id MCP Server is cataloged as an MCP server attributed to ilhamfp. An MCP server providing grounded access to Indonesian legislation, letting Claude search laws, retrieve specific articles, check amendment status and browse regulations with exact citations. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: AGPL-3.0. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Pasal.id MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It covers 40,143 regulations across 11 types, containing 937,155 structured articles.
README.md · 485e5190382e · 采集于 2026-11-13 12:40:46 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
Demo Video · Website · Connect to Claude · REST API · AGPL-3.0 License
280 million Indonesians have no practical way to read their own laws. The official legal database (peraturan.go.id) offers only PDF downloads: no search, no structure, no API. When you ask AI about Indonesian law, you get hallucinated articles and wrong citations because no grounded data source exists.
Connect Claude to real Indonesian legal data in one command:
claude mcp add --transport http pasal-id https://pasal-mcp-server-production.up.railway.app/mcp
Then ask:
"Apa saja hak pekerja kontrak menurut UU Ketenagakerjaan?" (What are contract worker rights under the Labor Law?) "Jelaskan pasal tentang perlindungan data pribadi" (Explain articles on personal data protection) "Apakah UU Perkawinan 1974 masih berlaku?" (Is the 1974 Marriage Law still in force?)
Claude searches 40,000+ regulations and 937,000+ structured articles, cites specific Pasal (articles), and gives grounded answers. No hallucination.
Or browse the web app at pasal.id.
| Feature | Description | |
|---|---|---|
| Search | Full-Text Legal Search | Indonesian stemmer + 3-tier fallback across 937,000+ articles |
| Read | Structured Reader | Three-column law reader with TOC, amendment timeline, and verification badges |
| AI | MCP Server | 4 grounded tools giving Claude access to actual legislation with exact citations |
| API | REST API | Public JSON endpoints for search, browsing, and article retrieval |
| Correct | Crowd-Sourced Corrections | Anyone can submit corrections; AI verifies before applying |
| Verify | AI Verification Agent | Opus 4.6 vision compares parsed text against original PDF images |
| Track | Amendment Chains | Full relationship tracking: amendments, revocations, cross-references |
| Globe | Bilingual UI | Indonesian + English interface via next-intl (legal content stays Indonesian) |
The entire codebase, from the Next.js frontend to the MCP server to the data pipeline, was built with Claude Opus 4.6 via Claude Code during the hackathon period. But Opus 4.6 isn't just the development tool. It's embedded in the product itself, running a self-improving correction flywheel that makes the platform more accurate over time:
┌───────────────────────────────┐
│ Users submit corrections │
│ via pasal.id web app │
└──────────────┬────────────────┘
▼
┌───────────────────────────────┐
│ Opus 4.6 Verification Agent │
│ Uses VISION to compare text │
│ against original PDF images │
│ → accept / reject / correct │
└──────┬───────────────┬────────┘
│ │
≥85% conf │ │ parser_feedback
auto-apply │ │ from each review
▼ ▼
┌──────────┐ ┌───────────────────────┐
│ Database │ │ Opus 4.6 reads the │
│ updated │ │ parser source code │
│ via safe │ │ + aggregated feedback │
│ revision │ │ → creates GitHub │
│ function │ │ issues with fixes │
└──────────┘ └───────────────────────┘
Claude gets 4 tools to search real legislation, retrieve specific articles, check amendment status, and browse regulations. All returning real data with exact citations, not generated text.
When users submit corrections, Opus 4.6 uses vision to compare the parsed text against the original PDF page image. It reads the actual PDF, character by character, and makes accept/reject/correct decisions with confidence scores. (scripts/agent/opus_verify.py)
Every verification produces parser_feedback: notes on why the parser got it wrong. Opus 4.6 aggregates this feedback, fetches the parser source code from GitHub, analyzes systematic bugs, and creates GitHub issues with specific code fixes. The AI improves the pipeline that feeds it. (scripts/agent/parser_improver.py)
High-confidence corrections (≥85%) are auto-applied through a transaction-safe revision function. Below that threshold, corrections are queued for admin review. Every mutation is logged in an append-only audit trail. Nothing is silently overwritten.
The entire platform was built with Claude Code guided by 489 lines of CLAUDE.md specifications across 4 directories (root, web app, MCP server, and data pipeline), encoding architecture decisions, coding conventions, database invariants, and domain knowledge.
┌──────────────────────────────────────┐
│ Supabase (PostgreSQL) │
│ 40,143 regulations · 937,155 Pasal │
│ 49 migrations · FTS · RLS │
└─────────┬──────────────┬─────────────┘
│ │
┌────────────────┘ └────────────────┐
▼ ▼
┌─────────────────────┐ ┌───────────────────────┐
│ MCP Server (Py) │ │ Next.js 16 Web App │
│ FastMCP · Railway │ │ Vercel · pasal.id │
│ │ │ │
│ · search_laws │ │ · /search │
│ · get_pasal │ │ · /jelajahi │
│ · get_law_status │ │ · /peraturan/[type] │
│ · list_laws │ │ · /connect · /api │
└─────────┬───────────┘ └───────────────────────┘
│
▼ ┌───────────────────────┐
┌─────────────────────┐ │ Opus 4.6 Correction │
│ Claude / AI │ │ Agent · Railway │
│ Grounded answers │ │ │
│ with citations │ │ Verify · Auto-apply │
└─────────────────────┘ │ Parser improvement │
└───────────────────────┘
This isn't a weekend hack. Key engineering decisions:
websearch_to_tsquery → plainto_tsquery → ILIKE), capped candidate CTEs to prevent O(N) snippet generationapply_revision() SQL function in a single transaction (revision insert + node update + suggestion update)[^a-zA-Z0-9 ] stripped before tsquery to prevent injectionFOR UPDATE SKIP LOCKED prevents duplicate processing in the scraper pipeline| Tool | Description |
|---|---|
search_laws | Full-text keyword search across all legal provisions with Indonesian stemming |
get_pasal | Get the exact text of a specific article (Pasal) by law and number |
get_law_status | Check if a law is in force, amended, or revoked with full amendment chain |
list_laws | Browse available regulations with type, year, and status filters |
| Layer | Technology |
|---|---|
| Frontend | Next.js 16 (App Router), React 19, TypeScript, Tailwind v4, shadcn/ui |
| Database | Supabase (PostgreSQL FTS with indonesian stemmer + pg_trgm) |
| MCP Server | Python + FastMCP, deployed on Railway |
| Correction Agent | Claude Opus 4.6 (vision + code analysis), deployed on Railway |
| Data Pipeline | Python, httpx, PyMuPDF, BeautifulSoup |
| Search | 3-layer: identity fast-path → works FTS → content FTS with ILIKE fallback |
| i18n | next-intl with Indonesian (default) + English |
Currently covers 40,143 regulations across 11 types including:
# Frontend
cd apps/web && npm install && npm run dev
# MCP Server
cd apps/mcp-server && pip install -r requirements.txt && python server.py
# Correction Agent
cd scripts && pip install -r requirements.txt
python -m scripts.agent.run_correction_agent
Built with Claude Opus 4.6 for the Claude Code Hackathon
AGPL-3.0
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Pasal.id MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/pasal)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Runs a free Answer Engine Optimization and AI visibility report for a domain and returns a shareable report plus a structured summary.

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.