cd /news/ai-tools/show-hn-open-dataset-of-the-lebanese… · home › topics › ai-tools › article
[ARTICLE · art-158858] src=huggingface.co ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

Show HN: Open Dataset of the Lebanese Law

A developer published a free open dataset of Lebanese legislation, offering a public database, API and MCP server built from the Lebanese University archive of laws dating back to 1904. The dataset links every law, article, ruling and Gazette issue, versions articles so changes from later laws are visible, adds 100k unofficial English translations generated with LLMs, and converts 47k rulings from PDFs to text via OCR, flagging handwritten files for a planned HTR model. The creator said the work is "legally wrong, but hopefully morally acceptable" and is seeking trust from Lebanese authorities, while other Lebanon datasets charge for the same data.

read1 min views1 publishedOct 27, 2026

Hey folks! I made it easier for builders to use the lebanese legislation through: a public DB, API, and MCP.

The Lebanese University has an archive of all laws dating back to 1904 (legallaw.ul.edu.lb). People and AI can barely find it and navigate it. It also had outdated articles.

Now, more people are using it. Builders for their startups, lawyers for their work, and students for their bar prep. I'm still trying to get it trusted by authorities.

The database includes the edges between every law, article, ruling and Gazette issue. You can easily identify how they influence one another.

Articles are versioned, so you can see how it was affected by other laws from the date it was published.

100k unofficial english translations were added using LLMs. They aren't accurate, but they help with search and SEO/AEO/GEO. We're working on producing legally accurate translations.

47k rulings were PDFs, some handwritten. We converted all of them to text using OCR, flagging handwritten files. We're working on an HTR model specifically for those to increase the confidence.

Today, other datasets in Lebanon charge for this data. I'm doing it as a public service. I want change in my country. And, lately, I think it's through helping builders. Yet, what I'm doing is legally wrong, but hopefully morally acceptable.

Comments URL: [https://news.ycombinator.com/item?id=50261135](https://news.ycombinator.com/item?id=50261135)

Points: 1

── more in #ai-tools 4 stories · sorted by recency
── more on @lebanese university 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-open-dataset…] indexed:0 read:1min 2026-10-27 · —