lexifina avatar

Global law

lexifina/global-law

The law of nearly every country on earth, any date: read it, see what changed it, check citations.

GitHub stars
1.9K
tools
5
transport
HTTP
last updated
Nov 10, 2026

Tools

5 tools

Public tool metadata for what this MCP can expose to an agent.

check_precedentLists the decisions that applied a provision and says whether the text each one applied is still in force.

Lists the decisions that applied a provision and says whether the text each one applied is still in force.

No parameter schema in public metadata yet.

what_else_changesCounts the decisions that applied a provision.

Counts the decisions that applied a provision.

No parameter schema in public metadata yet.

find_provisionTakes a court's own references (an ECLI, a docket or case number, a reporter citation).

Takes a court's own references (an ECLI, a docket or case number, a reporter citation).

No parameter schema in public metadata yet.

law_detailsTakes a court's own references (an ECLI, a docket or case number, a reporter citation).

Takes a court's own references (an ECLI, a docket or case number, a reporter citation).

No parameter schema in public metadata yet.

resolve_citationsReads citations of law in each country's usual form (Art. 336 OR, § 823 Abs. 1 BGB, article 1240 du code civil).

Reads citations of law in each country's usual form (Art. 336 OR, § 823 Abs. 1 BGB, article 1240 du code civil).

No parameter schema in public metadata yet.

Sponsors

Readme

Git for Global Law

The world's law in one git history. Every word traced to the law that wrote it for any country and any date.

An expansion of the same for the US Code, #1 on Hacker News (28/10/26). Semantic, searchable law on a global scale.

https://github.com/user-attachments/assets/f24f3411-24d9-416a-8c45-9cebc817c64e

Free to use: CC0. Fork it, build on it, ship it in a product: no permission or credit needed. The law text sits in each country's repository, under that repository's own terms.

Each jurisdiction's law is its own repository, lexifina/<country>-law, where every commit is one law taking effect, written by that law. This repository holds them all as submodules, arranged by jurisdiction, and moves each one forward to its latest commit. The tools read the In-force date of every commit, so they give the law of any country on any date.


View the full README on GitHub

Details

Repository
github.com/lexifina/global-law
Website
lexifina.com/api/global-law
Transport
HTTP
Registry
MCP registry, active