Langsung ke konten utama
Skip to main content

Connect to Claude

Give Claude direct access to Indonesian law, no hallucination, with real citations.

Claude Code

Run this command in Claude Code terminal:

claude mcp add --transport http pasal-id https://pasal-mcp-server-production.up.railway.app/mcp
Claude Desktop

Add the following configuration to your claude_desktop_config.json file:

{
  "mcpServers": {
    "pasal-id": {
      "command": "npx",
      "args": ["-y", "@anthropic-ai/mcp-proxy", "https://pasal-mcp-server-production.up.railway.app/mcp"]
    }
  }
}

Open Claude Desktop, go to Settings → Developer → Edit Config, then paste the configuration above.

See MCP in Action

Auto demo: Claude uses 4 Pasal.id tools to answer legal questions with accurate citations.

Claude · Pasal.id MCP
pasal-id MCP v0.3 · 4 tools0/4 tool calls

How It Works

1

Type a legal question

Ask Claude anything about Indonesian law, in everyday language.

2

MCP searches the database

Claude automatically calls Pasal.id to search for relevant regulations.

3

Get the exact article

The system returns the original article text along with metadata and legal status.

4

Answer with citations

Claude answers your question by citing directly from official legal sources.

Available Tools

Four MCP tools Claude can use to access the Indonesian legal database.

search_laws

Search regulations by topic

Full-text search with Indonesian language stemmer. Supports filtering by regulation type and year.

get_pasal

Get a specific article's text

Get the full content of a single article and its clauses from a specific law.

get_law_status

Check if a law is still in force

Check legal status: in force, amended, or revoked, along with amendment history.

list_laws

Browse the list of regulations

View all available regulations, with type filtering and pagination.

Try It Now

Explain Article 81 of the Job Creation Law on employment

Is the 1974 Marriage Law still in force?

What are contract workers' rights under Indonesian law?

What is the minimum marriage age in Indonesia?

Compare worker rights before and after the Job Creation Law

What is MCP?

Model Context Protocol (MCP) is an open standard that allows AI like Claude to securely access external data.

With MCP, Claude can search laws, read specific articles, and check legal status, directly from the Pasal.id database.

Learn more about MCP →