/ Каталог / Песочница / pasal
● Сообщество ilhamfp ⚡ Сразу

pasal

автор 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.

Зачем использовать

Ключевые функции

Живое демо

Как выглядит на практике

pasal.replay ▶ готово
0/0

Установка

Выберите клиент

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

Откройте Claude Desktop → Settings → Developer → Edit Config. Перезапустите после сохранения.

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

Cursor использует ту же схему mcpServers, что и Claude Desktop. Конфиг проекта приоритетнее глобального.

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

Щёлкните значок MCP Servers на боковой панели Cline, затем "Edit Configuration".

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

Тот же формат, что и Claude Desktop. Перезапустите Windsurf для применения.

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

Continue использует массив объектов серверов, а не map.

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

Добавьте в context_servers. Zed перезагружается автоматически.

claude mcp add pasal -- npx -y pasal

Однострочная команда. Проверить: claude mcp list. Удалить: claude mcp remove.

Сценарии использования

Реальные сценарии: pasal

Research an Indonesian legal question with citations

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

Когда использовать: You're answering a specific Indonesian legal question and need to cite actual regulation text.

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

Итог: Grounded answer with citations to official text.

Подводные камни
  • LLM translates Indonesian regulatory terms loosely — For legal work, always reference original Indonesian + ask for literal translation
Сочетать с: notion

Check whether a business activity needs a specific permit

👤 Founders, compliance officers ⏱ ~30 min intermediate

Когда использовать: You're setting up or modifying a business in Indonesia and unsure of regulatory requirements.

Поток
  1. Scope the question
    I'm running a fintech app offering peer-to-peer lending in Indonesia. Which regulations are most relevant?✓ Скопировано
    → List of POJK / UU with scopes
  2. Deep dive
    For each, fetch the specific article requiring license/registration. Quote the text.✓ Скопировано
    → Quoted obligations

Итог: Initial regulatory map — don't skip a lawyer for final advice.

Подводные камни
  • 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

Когда использовать: You have a citation to a 2010 PP and want to know if it's still current.

Поток
  1. Check status
    Get status of PP 23/2010. Is it still in force? What amended or replaced it?✓ Скопировано
    → Status + chain to current

Итог: Safe citation — not a dead law.

Комбинации

Сочетайте с другими MCP — эффект x10

pasal + notion

Build a compliance knowledge base

For each regulation in my compliance scope, fetch articles + status, create a Notion page per regulation.✓ Скопировано

Инструменты

Что предоставляет этот MCP

ИнструментВходные данныеКогда вызыватьСтоимость
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

Стоимость и лимиты

Во что обходится

Квота API
Public read — no stated limits; be polite
Токенов на вызов
Full articles ~500-5000 tokens each
Деньги
Free
Совет
Search then fetch specific articles; don't try to list all 40k regulations.

Безопасность

Права, секреты, радиус поражения

Хранение учётных данных: None
Исходящий трафик: Queries go to pasal-mcp-server-production.up.railway.app

Устранение неполадок

Частые ошибки и исправления

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.

Альтернативы

pasal в сравнении

АльтернативаКогда использоватьКомпромисс
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

Ещё

Ресурсы

📖 Читать официальный README на GitHub

🐙 Открытые задачи

🔍 Все 400+ MCP-серверов и Skills