1. Conduid
  2. Data
  3. Pasal
MCP server · Data

Pasal

Pasal.id - The first open, AI-native Indonesian legal platform. MCP server + REST API + web app giving AI grounded access Indonesian laws.

60Good

Scored 20 hours ago · breakdown

About Pasal

Pasal is an MCP server published by ilhamfp in the Data category: pasal.id - The first open, AI-native Indonesian legal platform. MCP server + REST API + web app giving AI grounded access Indonesian laws. Conduid read 5 tools from its source: get_law_status, get_pasal, list_laws, ping and search_laws. No package is published for it, so it installs from a source checkout.

The repository has 290 stars and 54 forks, is licensed AGPL-3.0, and its last commit was on 1 Mar 2026. Conduid has no tagged release on record for it. It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include data, indonesia, indonesian-law, ai-native, fastmcp and full-text-search.

Install

From source
git clone https://github.com/ilhamfp/pasal

Tools (5)

get_law_statusCheck if a law is in force, amended, or revoked with full amendment chain
ParameterTypeDescription
law_number *stringThe number of the law, e.g., "1"
law_type *stringRegulation type code, e.g., "UU"
year *integerYear the law was enacted, e.g., 1974
get_pasalGet the exact text of a specific article (Pasal) by law and number
ParameterTypeDescription
law_number *stringThe number of the law, e.g., "13"
law_type *stringRegulation type code, e.g., "UU", "PP", "PERPRES"
pasal_number *stringArticle number, e.g., "81" or "81A"
year *integerYear the law was enacted, e.g., 2003
list_lawsBrowse available regulations with type, year, and status filters
ParameterTypeDescription
pageintegerPage number (default 1)
per_pageintegerResults per page (default 20)
regulation_typestringFilter by type — UU, PP, PERPRES, PERMEN, PERPPU, KEPPRES, INPRES, PENPRES, PERBAN, PERMENKUMHAM, PERMENKUM, PERDA, KEPMEN, SE, TAP_MPR, PERMA, PBI, UUDRT, UUDS, etc.
searchstringKeyword filter on law title
statusstringFilter by status — "berlaku" (in force), "dicabut" (revoked), "diubah" (amended)
yearintegerFilter by year enacted
pingHealth check — verify the MCP server is running and connected to the database.
search_lawsFull-text keyword search across all legal provisions with Indonesian stemming
ParameterTypeDescription
languagestringLanguage filter — "id" (Indonesian, default) or "en" (English translations)
limitintegerMaximum number of results (default 10)
query *stringSearch query in Indonesian (e.g., "upah minimum pekerja", "korupsi", "perkawinan")
regulation_typestringFilter by type code — UU, PP, PERPRES, PERMEN, PERPPU, KEPPRES, INPRES, PENPRES, PERBAN, PERMENKUMHAM, PERMENKUM, PERDA, PERDA_PROV, PERDA_KAB, KEPMEN, SE, TAP_MPR, PERMA, PBI, UUDRT, UUDS
year_fromintegerOnly return laws enacted after this year
year_tointegerOnly return laws enacted before this year

Security checks

Static checks derived from the repository yesterday. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.3K words.
  • ✓License declaredThe repository declares the AGPL-3.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by apps/web/package-lock.json.
  • ✓No dynamic code executionScanned 128 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
Streamable HTTPapps/mcp-server/server.py:715
Starts other programs
No calls that start other programs
Outbound network calls
15 callsapps/web/src/app/[locale]/api/page.tsx:348, apps/web/src/app/[locale]/peraturan/[type]/[slug]/koreksi/[nodeId]/KoreksiEditor.tsx:91, apps/web/src/app/admin/peraturan/[id]/AdminActions.tsx:43
Writes or deletes files
No file writes or deletes
Lockfile
apps/web/package-lock.json

Pattern matches on the source text of 128 files: places to read, not proof of what the code does at run time.

README

The repository's README runs to about 1.3K words, fetched yesterday. The original in the repository is authoritative.

Read full README
Questions

About Pasal

How do I install Pasal?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Pasal safe to use with an AI agent?

Its trust score is 60 out of 100 (good). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 128 source files found that it serves MCP over Streamable HTTP and makes outbound network calls (15 calls). Its dependencies are pinned by apps/web/package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Pasal still maintained?

The last commit was 9 months ago and 20 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.

What tools does Pasal provide?

Conduid read 5 tools from the source: get_law_status, get_pasal, list_laws, ping and search_laws. 4 of them publish their parameters, listed under Tools above.

What license is Pasal released under?

The repository declares the AGPL-3.0 license.