Menu

Using Claude to put all Global Legislation and Caselaw into Git

Reading 0:00
15s threshold

Why? Make the law, across the world, versioned, easily attributable, and queryable with agents. This info should be freely available so CC0 license (do whatever you like with it).

I built this project with Claude Code. One session per jurisdiction: to read the official publisher's site/API, check terms of use, and write a script to download every law.

The problem was getting 700+ jurisdictions to follow a unified list of useful functions to explore the law. You can ie git blame each law, down to the word. Initially just legislation, but caselaw (the precedent of how legislation is applied by the courts) is increasingly being integrated, with contribution encouraged.

This data being up-to-date is important. To pinpoint this, the repo now monitors over 900 RSS feeds/official websites. Most legislation is known about before-hand, and only becomes "in-force" later, which we account for.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.