Skip to content
Global law logo
MCP server
RegistryRemote

Global law MCP Server

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

Global law scores 31 (Limited), with no SPDX license recorded and written in HTML. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Version control. GitHub shows 2,323 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by lexifinaNo licenseHTML2.3K stars
Trust score
31Limited
Trust score 31 of 100, Limited

Limited trust

31 of 100 from six public signals. Nobody can buy a point.

  • No license recorded.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 31 comes from

0 + 6 + 11 + 0 + 7 + 7 = 31. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance6 / 20

How recently the repository saw a commit or release.

Maintenance: 6 of 20 points.
Popularity11 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 11 of 20 points.
License0 / 10

A clear, OSI-style open-source license.

License: 0 of 10 points.
Security7 / 10

Not archived, a secure install path, a pinned version.

Security: 7 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Remote auth: No sign-in detected. Our check reached the endpoint without being asked for credentials. Some servers only check keys after connecting, so follow the provider's setup notes. Security tips

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "lexifina-global-law": {      "url": "https://global-law.lexifina.com/mcp"    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

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 body of law is its own repository: a country's law (lexifina/germany-law), a state's or a city's (lexifina/germany-brandenburg-law), or a court's decisions (lexifina/germany-bgh-caselaw). In a dated history every commit is one law taking effect, written by that law; in case law, one decision on the day it was decided. Where the publisher keeps only today's text, or each law as first enacted, the corpus says so (history in manifest.json). 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 that its record covers.

global-law/
├── manifest.json                       every corpus: path, repository, history, coverage and dates
├── jurisdiction.json                   the world, and the jurisdictions in it
├── germany/bund/acts/                  a country's law (submodule: lexifina/germany-law)
├── germany/brandenburg/acts/           a state's
├── argentina/buenos-aires/salto/acts/  a city's
├── germany/bgh/caselaw/                a court's decisions
├── tools/                              law.py, the MCP server, countries.py
└── …

Questions as commands

QuestionCommand
Every change to 11 U.S.C. §1182, with the law that made eachpython3 tools/law.py log united-states/federal/usc/title-11/1182.md
Which law wrote each line of it today?python3 tools/law.py blame 2026-01-01 united-states/federal/usc/title-11/1182.md
§1182 as in force on 1 May 2022python3 tools/law.py show 2022-05-01 united-states/federal/usc/title-11/1182.md
What changed between two datespython3 tools/law.py diff 2022-05-01 2022-07-01 united-states/federal/usc/title-11/1182.md
The last law in force in every country on a daypython3 tools/law.py world 1990-10-03

Each corpus is also a plain git repository (git -C united-states/federal/usc log -- title-11/1182.md); the tools order versions by their In-force date, which matters where a record was not committed in that order.

Outside git, we also host this record publicly, for free:

Both assistants read the record through the free Global law connector (MCP, https://global-law.lexifina.com/mcp); the first time, the chat gives you the link that adds it. Ask in any language; for one country, add ?country=romania to either link.

Host it yourself easily. All it takes is git and Python, and the tools run on your machine:

git clone --depth 1 https://github.com/lexifina/global-law && cd global-law
python3 tools/countries.py add united-states/federal/usc
python3 tools/law.py show 2022-05-01 united-states/federal/usc/title-11/1182.md

Opened in Claude Code, Cursor, VS Code or Codex, the clone also starts a local MCP server with the same tools (MCP.md). FEATURES.md lists every command and FAQ.md how to clone.

Case law

Court decisions sit beside the law, one commit per decision on the day it was decided (switzerland/bund/caselaw), and are added on their own: python3 tools/countries.py add switzerland/caselaw. A decision is a ruling, not a law (Kind: court), so the tools leave it out of everything about law unless you name it. case_check says whether the text a decision applied is still in force, and resolve_citations reads citations in each country's usual form (§ 823 Abs. 1 BGB, article 1240 du code civil). manifest.json gives each court's coverage.

More

  • FEATURES.md: every feature, and what every corpus here must support (git blame, law.py, the MCP tools)
  • FAQ.md: questions and answers · CONTRIBUTING.md: proposing changes · MCP.md: the MCP server · REPRODUCE.md: how it was built · CHANGELOG.md
  • FRESHNESS.md: how current each corpus is · Monitoring: whether updates are running · WATCHING.md: how each official source is watched for changes
  • Performance: how fast the tools answer on your own clone, a one-time indicator · Tests: what is checked, run with python -m unittest discover -s tests
  • Visualisations: charts and bridges across the world's law
  • Vulnerabilities: mistakes in legislation as published
  • Lean proofs: the vulnerabilities stated as theorems and checked with Lean 4 (cd lean-proofs && lake build)
  • Videos: every video demonstrating what global-law does, from its features and one country's law to the archive on one date and how updates are checked

Videos

https://github.com/user-attachments/assets/6020acb1-53f3-4b65-94a4-fe132b867358

https://github.com/user-attachments/assets/6119b018-5f5b-4bab-a2da-0aad30ef585f

License

This repository is CC0. The law text is in each country's repository, under that repository's own terms.

Frequently asked questions

What is Global law MCP Server?

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

How do I install Global law MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Global law MCP Server connects to the remote endpoint https://global-law.lexifina.com/mcp, so there is nothing to install locally.

Does Global law MCP Server support remote (HTTP) connections?

Yes. Global law MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

How is Global law MCP Server's trust score calculated?

Global law MCP Server scores 31 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server