Pasal
Pasal.id - The first open, AI-native Indonesian legal platform. MCP server + REST API + web app giving AI grounded access Indonesian laws.
What is Pasal?
Pasal is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to pasal.id - the first open, ai-native indonesian legal platform. mcp server + rest api + web app giving ai grounded access indonesian laws.
Pasal.id - The first open, AI-native Indonesian legal platform. MCP server + REST API + web app giving AI grounded access Indonesian laws.
This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Pasal.id - The first open, AI-native Indonesian legal platfo
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx pasalConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Pasal
Pasal connects Claude and other AI assistants to Pasal.id, the first open AI-native platform for Indonesian law. It exposes four grounded MCP tools that search over 40,000 regulations and 937,000 structured articles, retrieve specific pasal (articles) with exact citations, check amendment status, and browse regulation types — eliminating AI hallucination of Indonesian legal content. Researchers, lawyers, and developers working with Indonesian legislation use this server to get source-verified answers instead of fabricated articles.
Prerequisites
- An MCP-capable client such as Claude Desktop or Claude Code
- No API key required — the server is hosted publicly on Railway
- Internet access to reach https://pasal-mcp-server-production.up.railway.app/mcp
- Basic familiarity with the Indonesian legal system is helpful but not required
Add the remote MCP server to Claude Code
Pasal runs as a hosted HTTP/MCP server, so no local installation is needed. Run the single command below to register it with Claude Code.
claude mcp add --transport http pasal-id https://pasal-mcp-server-production.up.railway.app/mcpAdd to Claude Desktop (alternative)
If you are using Claude Desktop instead of Claude Code, open the claude_desktop_config.json file (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json) and add an HTTP-transport entry pointing to the public server.
Verify the connection
Ask Claude a simple Indonesian legal question to confirm the server is reachable and returning grounded data with citations.
Search for a specific regulation
Use the search_laws tool via natural language. The server performs a 3-tier full-text search (works FTS → websearch_to_tsquery → ILIKE fallback) against the database and returns ranked results with article citations.
Retrieve a specific article
Use the get_pasal tool to fetch an exact article by regulation identifier and article number, getting the verbatim text with its verification badge status.
Check amendment history
Use the get_law_status tool to determine whether a regulation has been amended, partially revoked, or superseded, including the full amendment chain.
Pasal Examples
Claude Code registration command
One-line command to register the public Pasal MCP server with Claude Code using HTTP transport.
claude mcp add --transport http pasal-id https://pasal-mcp-server-production.up.railway.app/mcpPrompts to try
Example prompts that exercise the four grounded tools: search_laws, get_pasal, get_law_status, and list_laws.
- "Apa saja hak pekerja kontrak menurut UU Ketenagakerjaan?"
- "Jelaskan pasal tentang perlindungan data pribadi dalam UU PDP"
- "Apakah UU Perkawinan 1974 masih berlaku atau sudah diamandemen?"
- "List all regulations of type Peraturan Pemerintah about the environment"
- "What does Article 28H of the Indonesian Constitution say?"Troubleshooting Pasal
Claude returns hallucinated articles instead of grounded ones
Confirm the server was added with --transport http (not stdio). Run 'claude mcp list' to verify pasal-id appears. The server must be reachable; check internet connectivity to pasal-mcp-server-production.up.railway.app.
Search returns no results for a known regulation
Try the regulation's official identifier (e.g. 'UU No. 13 Tahun 2003') rather than a colloquial name. The 3-tier search falls back to ILIKE but still requires Indonesian-language terms matching the database content.
HTTP transport is not supported in my MCP client
Older MCP clients only support stdio. Check if your client has been updated to support streamable-HTTP transport, or use Claude Code (which natively supports HTTP transport) as your client.
Frequently Asked Questions about Pasal
What is Pasal?
Pasal is a Model Context Protocol (MCP) server that pasal.id - the first open, ai-native indonesian legal platform. mcp server + rest api + web app giving ai grounded access indonesian laws. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Pasal?
Follow the installation instructions on the Pasal GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Pasal?
Pasal works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Pasal free to use?
Yes, Pasal is open source and available under the AGPL-3.0 license. You can use it freely in both personal and commercial projects.
Pasal Alternatives — Similar Search & Data Extraction Servers
Looking for alternatives to Pasal? Here are other popular search & data extraction servers you can use with Claude, Cursor, and VS Code.
TrendRadar
★ 58.0kA real-time hotspot monitoring and news aggregation assistant that provides AI-powered analysis of trending topics across multiple platforms via the Model Context Protocol. It enables users to track news and receive automated notifications through va
Scrapling
★ 52.7k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
PDF Math Translate
★ 33.9k[EMNLP 2025 Demo] PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero
GPT Researcher
★ 27.2kAn autonomous agent that conducts deep research on any data using any LLM providers
Agent Reach
★ 20.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Xiaohongshu
★ 13.7kMCP for xiaohongshu.com
Browse More Search & Data Extraction MCP Servers
Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Pasal in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Pasal?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.