Skip to content

Pasal.id

Checkoutt the launch thread!

Core trick

Parses government PDFs into structured articles, and a vision model checks parsed text against the original page to auto-correct and file parser issues.

Tags

Description

Checkoutt the launch thread! https://x.com/ilhamfputra/status/2023205336786800817 280 million Indonesians have no practical way to read their own laws. The official legal database offers only PDF downloads: no search, no structure, no API. Pasal.id is the first open, AI-native platform for Indonesian law. We transformed 40,000+ government regulations and 937,000+ legal articles from locked PDFs into structured, searchable data accessible through a web app, REST API, and the first-ever MCP server for Indonesian legislation. Opus 4.6 powers everything. The codebase was built with Claude Code, and Opus 4.6 is embedded in the product: a multimodal agent uses vision to verify parsed text against original PDFs, auto-applies corrections, and creates GitHub issues to improve the parser. The AI makes the platform more accurate over time.
ilhamfp/pasal★ 28351 forksTypeScriptAGPL-3.0Created Feb 11, 2026 · last push Mar 1, 2026

README excerpt

<p align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="logo/lockup-dark-bg.svg" />
    <img src="logo/lockup-primary.svg" alt="Pasal.id" height="64" />
  </picture>
</p>

<h3 align="center">The First Open, AI-Native Platform for Indonesian Law</h3>

<p align="center">
  <a href="https://www.loom.com/share/da211318bbe14c4396840b97f5ab8603">Demo Video</a> ·
  <a href="https://pasal.id">Website</a> ·
  <a href="https://pasal.id/connect">Connect to Claude</a> ·
  <a href="https://pasal.id/api">REST API</a> ·
  <a href="LICENSE">AGPL-3.0 License</a>
</p>

<p align="center">
  <a href="https://pasal.id"><img src="https://img.shields.io/badge/Legal_Data-Pasal.id-2B6150?style=flat" alt="Legal Data by Pasal.id" /></a>
  <a href="https://pasal.id/connect"><img src="https://img.shields.io/badge/MCP-Server-blue?style=flat" alt="MCP Server" /></a>
  <img src="https://img.shields.io/badge/Built_with-Opus_4.6-cc785c?style=flat&logo=anthropic&logoColor=white" alt="Built with Opus 4.6" />
  <img src="https://img.shields.io/badge/Next.js-16-black?logo=nextdotjs" alt="Next.js" />
  <img src="https://img.shields.io/badge/Supabase-PostgreSQL-3ECF8E?logo=supabase" alt="Supabase" />
  <a href="LICENSE"><img src="https://img.shields.io/badge/License-AGPL--3.0-blue?style=flat" alt="License: AGPL-3.0" /></a>
</p>

---

## The Problem

**280 million Indonesians** have no practical way to read their own laws. The official legal database ([peraturan.go.id](https://peratur

Team