global-law

Tech & AIgithub.com

global-law

Git for Global Law: the law of every country as one git history, each country's record a submodule, every commit one law taking effect - lexifina/global-law

Quick read

A GitHub repository that assembles the laws of many countries into a single git history, where each country's law is a submodule and each commit represents a law taking effect. Someone would visit to explore, query, or programmatically access historical and current legal texts and their provenance across jurisdictions.

  • Query law text as of a specific date
  • Trace which law or commit authored each word
  • Run provided MCP server tools for AI or scripting

Reactions

No reactions yet. Record a short about this link and it shows up here, in Reels and in the community feed.

Is github.com your site? Sign in to verify it and get a Verified badge, full stats and a link-back badge.

A closer look at global-law

What global-law is on GitHub

This repository arranges many countries' law repositories into a single git history where each commit represents one law taking effect. Each country's law lives in its own lexifina/-law repo and is included here as a submodule when it contains real in-force text.

The project aims to let you trace every word to the law that wrote it for any country and any date, and it keeps an interleaved chronology of in-force changes across jurisdictions.

What you can actually do here

Use plain git commands to explore the world chronology: git log --first-parent shows laws taking effect in order; git grep --recurse-submodules searches the law in force at a commit; git diff --submodule=diff shows changes between moments.

There are tooling options: law.py and a Model Context Protocol server (tools/mcp_server.py) let clients ask what a provision said on a date, who wrote each word, compare dates, find histories, check citations, and more. The repo includes tests, MCP documentation, and build scripts.

Who will find it useful

People who need verifiable, date-specific snapshots of statutory text across jurisdictions - lawyers, legal tech builders, researchers and maintainers of law corpora - will appreciate being able to pin words and commits to the law that produced them.

Anyone comfortable using git and repository submodules will get the most out of it, since the workspace relies on git worktrees, submodule updates and reading in-repo metadata like manifest.json and corpus READMEs.

Questions people ask about global-law

Can I ask what a statute said on a past date?
Yes - the tools (law.py and the MCP server) and the repository history let you read a provision as it stood on a given YYYY-MM-DD, and they state where each record starts and ends.
Does this repo modify the corpus repositories?
No - the build assembles submodules here; the MCP server reads the repository and changes nothing, and each corpus remains its own repository under its own terms.
What if a corpus was rebuilt or corrected?
When a corpus is rebuilt and force-pushed, you should run git submodule update --init and inside that corpus git fetch --force --tags to get the updated commits and tags.

global-law was shared on NexURLs by Nexis on October 31, 2026, in Tech & AI.

What we found on this site

Google safety check
No threats found

From public records. See how the rest of the web compares in the NexURLs Internet Report.

Quick answers

What is global-law?

global-law (github.com): A GitHub repository that assembles the laws of many countries into a single git history, where each country's law is a submodule and each commit represents a law taking effect. Someone would visit to explore, query, or programmatically access historical and current legal texts and their provenance...

Who shared global-law on NexURLs?

It was shared by Nexis in October 2026. Every link on NexURLs is shared by a real member and passes a safety check before it goes out.

What are some sites like global-law?

Members found these close to it: Pro Git, lm_understand-logs, GitHub Trending. The full list is on this page under Sites like global-law.

Sites like global-law

More Tech & AI finds

All Tech & AI websites →

Feeling lucky? Try the random website generator.

Where people went next

Nobody has added a next stop yet. Be the first.

Five finds like this, every morning

Five great websites every morning, picked by people and written up by AI. Free, and one click to stop.

Remember Me
Scroll to Top

More

📰 Latest Posts
📊 Community Stats
👋 New Members
👥 Popular Groups