global-law
global-law is an open dataset that stores each country's law as a git history, one commit per law taking effect, with Python tools and a local MCP server that show any provision as it stood on any date and which law wrote each word.
Why it matters
For lawyers, legal researchers and builders of legal AI tools who need the exact text in force on a past date. It gives an AI assistant read-only, offline access to point-in-time law instead of guessing from memory.
Highlights
- Each jurisdiction is its own repository (lexifina/ -law), linked here as submodules arranged by country, state and city.
- tools/law.py can show a provision on a date, blame or trace each line or word to the law behind it, diff two dates, and list the laws that took effect in a period.
- tools/mcp_server.py is a Model Context Protocol server with 18 read-only tools, including checking a case or brief against the law in force; the README says it runs locally and makes no network calls.
- The clone ships setup for Claude Code, Cursor, VS Code and Codex so the MCP server starts when you open the folder.
- The repository itself is CC0; the law text in each country repository is under that repository's own terms.
Taken from the project's own README, docs or launch page. Claims about speed or accuracy are the maker's unless stated otherwise.
Worth knowing: Full clones are large (several GB per country) and must not be shallow, because dates are read from the whole history. Coverage varies by jurisdiction; check manifest.json for what is included.
Quick facts
| Pricing | Free |
|---|---|
| Free or paid | Free (open data) |
| License | CC0-1.0 (this repo); law text under each country repository's own terms |
| Language | Python (3.9+, needs git) |
| Platform | Local CLI and MCP server; each country is several GB to clone |
| GitHub stars | ★ 1,786 (as of 2026-11-04) |
| Maker | lexifina (GitHub) |
Links
- Official site: https://lexifina.com/not opened
- Repository: https://github.com/lexifina/global-law
- Docs: https://github.com/lexifina/global-law/blob/HEAD/MCP.md
Related ranking
See how established tools compare in Best Research & Cited Answers. New releases aren't scored until we review them against the rubric.
What we couldn't verify
- links.official (lexifina.com is the GitHub org homepage; company details not checked)
Checked 2026-11-04 from the tool's own pages. Prices and star counts change, so confirm on the official site. Listing here is not a ranking or an endorsement.
One email a week on AI that saves business owners time
Every Friday: one tool pick with the business use case, what changed in tools you already use, and the week's AI news in plain English. No spam.
Free. Unsubscribe any time. See our privacy policy.