/ Diretório / Playground / pasal
● Comunidade ilhamfp ⚡ Instantâneo

pasal

por ilhamfp · ilhamfp/pasal

Ask Claude about Indonesian law and get answers grounded in 40k+ regulations and 937k+ structured articles from pasal.id — with citations.

Pasal.id is the first open, AI-native Indonesian legal platform. This MCP exposes 4 tools for law search, article retrieval, status checks, and browsing — all sourced from official Indonesian government publications from 1945 to 2026. No auth required for read access.

Por que usar

Principais recursos

Demo ao vivo

Como fica na prática

pasal.replay ▶ pronto
0/0

Instalar

Escolha seu cliente

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "pasal": {
      "command": "npx",
      "args": [
        "-y",
        "pasal"
      ],
      "_inferred": true
    }
  }
}

Abra Claude Desktop → Settings → Developer → Edit Config. Reinicie após salvar.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "pasal": {
      "command": "npx",
      "args": [
        "-y",
        "pasal"
      ],
      "_inferred": true
    }
  }
}

Cursor usa o mesmo esquema mcpServers que o Claude Desktop. Config de projeto vence a global.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "pasal": {
      "command": "npx",
      "args": [
        "-y",
        "pasal"
      ],
      "_inferred": true
    }
  }
}

Clique no ícone MCP Servers na barra lateral do Cline, depois "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "pasal": {
      "command": "npx",
      "args": [
        "-y",
        "pasal"
      ],
      "_inferred": true
    }
  }
}

Mesmo formato do Claude Desktop. Reinicie o Windsurf para aplicar.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "pasal",
      "command": "npx",
      "args": [
        "-y",
        "pasal"
      ]
    }
  ]
}

O Continue usa um array de objetos de servidor em vez de um map.

~/.config/zed/settings.json
{
  "context_servers": {
    "pasal": {
      "command": {
        "path": "npx",
        "args": [
          "-y",
          "pasal"
        ]
      }
    }
  }
}

Adicione em context_servers. Zed recarrega automaticamente ao salvar.

claude mcp add pasal -- npx -y pasal

Uma linha só. Verifique com claude mcp list. Remova com claude mcp remove.

Casos de uso

Usos do mundo real: pasal

Research an Indonesian legal question with citations

👤 Lawyers, law students, compliance folks ⏱ ~15 min intermediate

Quando usar: You're answering a specific Indonesian legal question and need to cite actual regulation text.

Fluxo
  1. Search
    Cari regulasi tentang perlindungan data pribadi. Berikan UU/PP yang paling relevan.✓ Copiado
    → List of matching laws with numbers and years
  2. Pull articles
    Ambil pasal 26 dari UU 27/2022. Jelaskan konteksnya.✓ Copiado
    → Article text + explanation
  3. Verify status
    Apakah UU ini masih berlaku? Ada amendemen?✓ Copiado
    → Current status + amendment chain

Resultado: Grounded answer with citations to official text.

Armadilhas
  • LLM translates Indonesian regulatory terms loosely — For legal work, always reference original Indonesian + ask for literal translation
Combine com: notion

Check whether a business activity needs a specific permit

👤 Founders, compliance officers ⏱ ~30 min intermediate

Quando usar: You're setting up or modifying a business in Indonesia and unsure of regulatory requirements.

Fluxo
  1. Scope the question
    I'm running a fintech app offering peer-to-peer lending in Indonesia. Which regulations are most relevant?✓ Copiado
    → List of POJK / UU with scopes
  2. Deep dive
    For each, fetch the specific article requiring license/registration. Quote the text.✓ Copiado
    → Quoted obligations

Resultado: Initial regulatory map — don't skip a lawyer for final advice.

Armadilhas
  • LLM legal advice is not advice — This is research; decisions need licensed counsel

Track whether an old regulation has been superseded

👤 Researchers citing Indonesian law ⏱ ~5 min beginner

Quando usar: You have a citation to a 2010 PP and want to know if it's still current.

Fluxo
  1. Check status
    Get status of PP 23/2010. Is it still in force? What amended or replaced it?✓ Copiado
    → Status + chain to current

Resultado: Safe citation — not a dead law.

Combinações

Combine com outros MCPs para 10× de alavancagem

pasal + notion

Build a compliance knowledge base

For each regulation in my compliance scope, fetch articles + status, create a Notion page per regulation.✓ Copiado

Ferramentas

O que este MCP expõe

FerramentaEntradasQuando chamarCusto
search_laws query: str (ID), limit? Discover relevant laws by keyword free
get_pasal law_id or name, pasal_number Retrieve a specific article free
get_law_status law_id or name Check if still in force free
list_laws type?, year?, status? Browse by category free

Custo e limites

O que custa rodar

Cota de API
Public read — no stated limits; be polite
Tokens por chamada
Full articles ~500-5000 tokens each
Monetário
Free
Dica
Search then fetch specific articles; don't try to list all 40k regulations.

Segurança

Permissões, segredos, alcance

Armazenamento de credenciais: None
Saída de dados: Queries go to pasal-mcp-server-production.up.railway.app

Solução de problemas

Erros comuns e correções

No results for a query you expect to match

Indonesian stemming — try root words (e.g. 'lindung' not 'perlindungan'). Also try English synonym.

Pasal number not found in a law

Articles may have been renumbered across amendments. Check get_law_status first.

MCP connection drops

Remote HTTP server — check your network / Railway status.

Alternativas

pasal vs. outros

AlternativaQuando usarTroca
peraturan.go.id (official government portal)You want primary source, UI-firstNo LLM integration; manual search
Hukumonline (commercial DB)You need case law + commentarySubscription; broader scope

Mais

Recursos

📖 Leia o README oficial no GitHub

🐙 Ver issues abertas

🔍 Ver todos os 400+ servidores MCP e Skills