/ 目錄 / 演練場 / pasal
● 社群 ilhamfp ⚡ 即開即用

pasal

作者 ilhamfp · ilhamfp/pasal

向 Claude 詢問印尼法律問題,獲得以 pasal.id 超過 4 萬條法規與 93.7 萬條結構化條文為基礎的答案——並附帶引用來源。

Pasal.id 是首個開放、以 AI 為核心的印尼法律平台。此 MCP 提供 4 項工具,涵蓋法律搜尋、條文擷取、狀態查詢與瀏覽功能——所有資料均來自 1945 年至 2026 年印尼政府官方出版品。讀取存取無需驗證。

為什麼要用

核心特性

即時演示

實際使用效果

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 使用與 Claude Desktop 相同的 mcpServers 格式。專案級設定優先於全域。

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

點擊 Cline 側欄中的 MCP Servers 圖示,然後選 "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 使用伺服器物件陣列,而非映射。

~/.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

研究印尼法律問題並附上引用來源

👤 律師、法律系學生、法遵人員 ⏱ ~15 min intermediate

何時使用: 當你需要回答特定印尼法律問題,並引用實際法規條文時。

步驟
  1. 搜尋
    Cari regulasi tentang perlindungan data pribadi. Berikan UU/PP yang paling relevan.✓ 已複製
    → 列出符合的法律,包含法規名稱與年份
  2. 擷取條文
    Ambil pasal 26 dari UU 27/2022. Jelaskan konteksnya.✓ 已複製
    → 條文內容與說明
  3. 確認狀態
    Apakah UU ini masih berlaku? Ada amendemen?✓ 已複製
    → 目前狀態與修訂鏈

結果: 附有官方條文引用來源的紮實答案。

注意事項
  • LLM 對印尼法律術語的翻譯可能不夠精確 — 處理法律事務時,務必參照原始印尼文,並要求字面翻譯
搭配使用: notion

確認特定商業活動是否需要申請許可

👤 創業者、法遵長 ⏱ ~30 min intermediate

何時使用: 當你正在印尼設立或調整業務,且不確定相關法規要求時。

步驟
  1. 釐清問題範疇
    I'm running a fintech app offering peer-to-peer lending in Indonesia. Which regulations are most relevant?✓ 已複製
    → 列出相關 POJK / UU 及其適用範圍
  2. 深入研究
    For each, fetch the specific article requiring license/registration. Quote the text.✓ 已複製
    → 引用具體義務條文

結果: 初步法規地圖——最終決策仍需諮詢專業律師。

注意事項
  • LLM 的法律資訊不構成法律建議 — 此工具僅供研究用途;實際決策需諮詢持照律師

查詢舊法規是否已被取代

👤 引用印尼法律的研究人員 ⏱ ~5 min beginner

何時使用: 當你引用了一份 2010 年的 PP,且想確認其是否仍為現行有效法規時。

步驟
  1. 查詢狀態
    Get status of PP 23/2010. Is it still in force? What amended or replaced it?✓ 已複製
    → 狀態與至現行法規的修訂鏈

結果: 確保引用的是有效法規,而非已廢止的法律。

組合

與其他 MCP 搭配,撬動十倍槓桿

pasal + notion

建立法遵知識庫

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

工具

此 MCP 暴露的能力

工具輸入參數何時呼叫成本
search_laws query: str (ID), limit? 依關鍵字搜尋相關法規 free
get_pasal law_id or name, pasal_number 擷取特定條文 free
get_law_status law_id or name 確認法規是否仍然有效 free
list_laws type?, year?, status? 依類別瀏覽法規 free

成本與限制

運行它的成本

API 配額
公開讀取——無明確限制;請合理使用
每次呼叫 Token 數
完整條文每次約 500–5000 個 token
費用
免費
提示
先搜尋再擷取特定條文;不要嘗試列出全部 4 萬條法規。

安全

權限、密鑰、影響範圍

憑證儲存: 無需儲存憑證
資料出站: 查詢資料會傳送至 pasal-mcp-server-production.up.railway.app

故障排查

常見錯誤與修復

預期應有結果但查無資料

印尼語詞幹處理——請嘗試使用詞根(例如用 'lindung' 而非 'perlindungan'),也可嘗試英文同義詞。

在某條法律中找不到指定條號

條文編號可能因修訂而重新編排。請先使用 get_law_status 確認。

MCP 連線中斷

此為遠端 HTTP 伺服器——請檢查網路連線或 Railway 服務狀態。

替代方案

pasal 對比其他方案

替代方案何時用它替代權衡
peraturan.go.id (official government portal)需要第一手來源、以操作介面為主的查詢方式無 LLM 整合;需手動搜尋
Hukumonline (commercial DB)需要判例法與法律評注需訂閱付費;涵蓋範圍較廣

更多

資源

📖 閱讀 GitHub 上的官方 README

🐙 查看未解決的 issue

🔍 瀏覽全部 400+ MCP 伺服器和 Skills