Pasal.id — Indonesian Law

io.github.Aturio由 GitHub 帳號 Aturio 發布v2.1.0更新於 Oct 24, 2026

Search Indonesian laws, resolve citations, read articles, and find Constitutional Court decisions.

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取知識與記憶

概覽

AI 產生的概覽

針對印尼法律的託管 MCP 服務:助理可搜尋法規、解析引註、閱讀條文,並搜尋憲法法院判決。

可以做什麼
依主題、關鍵字、引註、類型、年份、狀態、發布機關或地區搜尋法規,並依主題、受審法律、結果、年份或法官搜尋憲法法院(Mahkamah Konstitusi)判決。將法律名稱、引註或縮寫解析為標準法律 ID,有歧義時回傳候選項。查看法律的摘要、結構、法律狀態以及修正或司法審查關係。依字元預算與續讀游標閱讀指定條文、多個區間、章節、前言、說明或附錄。提交資料更正或搜尋失敗回報,並檢查已驗證連線的存活狀態。
適用情境
適合回答印尼立法相關問題、確認某部法規的內容或是否經過修正,以及查找針對某部法律的憲法法院裁判。適用於需要引用官方來源的研究與起草輔助情境。
執行需求
遠端 Streamable HTTP 端點,無需本機安裝或 Docker。需要免費的 Pasal.id 帳號並透過瀏覽器 OAuth 登入,自動化情境可使用個人存取權杖。需要能連線至該託管服務的網路。
安裝前請注意
report_issue 工具會向 Pasal.id 寫入回饋,提交內容會離開本機,且須經審核後才會套用。涵蓋範圍與處理品質不一,搜尋不到結果不代表法規不存在;文字驗證證據也無法說明法律是否仍然有效。引用前請以官方來源核對;本服務提供研究素材,不構成法律意見。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Pasal.id — Indonesian Law,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.Aturio%2Fpasal-id-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "pasal-id-indonesian-law": {
      "type": "http",
      "url": "https://mcp.pasal.id/mcp"
    }
  }
}

README

Pasal.id — Indonesian Law MCP

Search Indonesian regulations, resolve legal citations, and read the articles you need with links to the original sources. Pasal.id gives AI assistants structured legal text, amendment relationships, and available legal-status context, alongside Constitutional Court (Mahkamah Konstitusi) decision search.

This repository contains the public manifest, schema snapshot, and connection guides for the hosted Pasal.id MCP service. No local server installation or Docker build is needed.

Endpointhttps://mcp.pasal.id/mcp
TransportStreamable HTTP
AuthenticationFree Pasal.id account with browser OAuth; personal access token for automation
Website and setuppasal.id · Hubungkan AI
Live schemaPublic server card
DirectoryGlama connector

Connect

Claude Code

bash
claude mcp add --transport http pasal-id https://mcp.pasal.id/mcp

Complete the browser login when prompted. In Claude Desktop or Claude on the web, add the same URL through Settings → Connectors → Add custom connector, then connect your Pasal.id account.

Codex CLI and app

bash
codex mcp add pasal-id --url https://mcp.pasal.id/mcpcodex mcp login pasal-id

Cursor

Add this to .cursor/mcp.json or ~/.cursor/mcp.json, then complete OAuth:

json
{  "mcpServers": {    "pasal-id": {      "url": "https://mcp.pasal.id/mcp"    }  }}

For VS Code, Windsurf, ChatGPT, and personal-token examples, use the client-specific guide. Their configuration formats differ.

ChatGPT and Codex plugin

The Pasal.id - Hukum Indonesia plugin package adds four focused workflows: verify a law citation, research legislation, check recorded status and amendments, and discover MK decisions. Its distinct MCP connection name, pasal-id-plugin, connects through browser OAuth to https://mcp.pasal.id/mcp/openai and exposes the six research and feedback tools. This lets existing users keep their standalone pasal-id connection while the plugin uses its intended endpoint. Verify the installed plugin's actual connection binding; restricted logging applies to /mcp/openai, while standalone /mcp traffic follows its separate diagnostic policy. The source package is available here; downloadable ZIP versions are published through GitHub Releases after their hosted runtime is verified. A source package or personal installation does not establish OpenAI directory approval.

For Codex CLI, register this marketplace and install the plugin:

bash
codex plugin marketplace add Aturio/pasal-id-mcp --ref maincodex plugin add pasal-id@pasal-id-plugins

These commands require the marketplace files to be published on main. Follow the installation guide for browser OAuth, desktop setup, updates and connection checks. In ChatGPT, use Plugins → Add → Upload plugin archive, then New Plugin → click to upload to select a built or released ZIP. Entering only an MCP endpoint does not import the four workflows. See the package guide for building and evaluation.

Available tools

The live v2 interface provides six research and feedback tools plus ping. Directories should discover seven tools after authenticating.

ToolUse it to
search_legalFind regulations by Indonesian topic, keyword, or citation, with type, year, status, issuer, region, and within-law filters.
resolve_lawResolve a title, citation, or abbreviation to a canonical law_id, or receive candidates when ambiguous.
get_law_contextCheck a law's summary, structure, legal status, and amendment or court-review relationships before reading.
read_lawRead selected articles, multiple ranges, chapters, preambles, elucidation, or appendices using character budgets and continuation cursors.
search_court_decisionsSearch Mahkamah Konstitusi decisions by topic, reviewed law, case lane, outcome, year, dissent, or judge.
report_issueSubmit a real data correction or failed-search report. This tool writes feedback; it is not a health probe.
pingCheck authenticated MCP liveness without a legal search or feedback submission.

When a law is named, use resolve_law → get_law_context → read_law. When the relevant law is unknown, start with search_legal. Reuse returned IDs, inspect diagnostics and recovery guidance, and cite the supplied reader and official-source links. Court search currently covers MK; this interface does not advertise Mahkamah Agung search.

Parameter reference and examples · Checked-in public schema

Try asking

  • “Cari peraturan tentang pelindungan data pribadi, lalu baca pasal yang relevan.”
  • “Apa status UU ITE dan peraturan mana yang mengubahnya?”
  • “Tampilkan kerangka UU 27 Tahun 2022, lalu baca Pasal 65–67.”
  • “Cari pergub DKI Jakarta tentang pengelolaan air limbah.”
  • “Cari putusan MK yang menguji UU Ketenagakerjaan.”

Sources and verification

Pasal.id processes official government documents into searchable chapters, articles, paragraphs, and related sections. Reader pages expose source links, available status information, and a correction route. Coverage and processing quality vary; a missing search result does not establish that a regulation does not exist.

The website distinguishes human review, certified golden references, automated source checks, unreviewed processing, and limited evidence. A golden certification measures reproducibility against a reference; it is not a claim of human review. Text-verification evidence also does not determine whether a law remains in force. See the methodology for the current definitions and limitations.

Use the official source to check the text and current legal status before relying on a citation. Pasal.id provides research material, not legal advice. Corpus totals change; the website shows current counts.

Feedback and maintenance

Report integration problems in GitHub Issues. Submit data corrections through Pasal.id feedback, the reader, or report_issue. Corrections are reviewed before application.

Maintainers: see directory maintenance for schema sync, registry publication, and Glama test-profile recovery.

The files in this repository are licensed under AGPL-3.0. This public documentation repository does not contain the production service implementation or grant a blanket license over third-party source documents.

Built by Aturio · Maintained by Ilham Firdausi Putra · REST API

來源:README.md,提交 ab278a2

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

3
  1. v2.1.0最新Oct 7, 2026
  2. v2.0.1Sep 18, 2026
  3. v2.0.0Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分