All UK legislation as plain text — about 130,000 Acts and regulations, updated every day — open on GitHub and ready for AI assistants.
Acts of Parliament, statutory instruments, Scottish, Welsh and Northern Ireland law, the historic parliaments and EU-origin law, converted from legislation.gov.uk.
Every law as a Markdown file with its status, date, extent and a link to the official page. Long Acts are split into one file per section.
Each law is compared with its source as it is converted, and the few gaps that remain are listed in the open — never hidden.
A daily job reads the legislation.gov.uk publication log and rewrites every law that changed, with one commit per day.
An index of every law and instructions for agents, so Claude, Codex or ChatGPT can find the right section and quote it with the official link.
Connect the free plugin or MCP server and ask in plain English. The assistant finds the law, opens the section, quotes it and links the official page.
Run these two commands in Claude Code:
/plugin marketplace add flaviohtavares/uk-law-tools
/plugin install uk-law@uk-law-toolsInstall the skill from a terminal:
curl -fsSL https://raw.githubusercontent.com/flaviohtavares/uk-law-tools/main/install.sh | shAdd our free MCP server as a custom connector (no sign-in). In ChatGPT: Plugins → + → Add custom MCP server (Pro, Business or Enterprise).
https://uk-law-mcp.uk-law-mcp.workers.dev/mcpExample questions: “What does the Employment Rights Act say about notice periods?” · “Is there a law in Scotland on short-term lets?” · “Show me section 5 of the Data Protection Act 2018.”
UK Law is a data pipeline: it reads a public source, converts it, checks every word and keeps it current on its own. We build the same kind of thing for operations — supplier and product data, compliance records, reports that assemble themselves.
Talk to usAn independent project, not an official source and not legal advice. Texts come from legislation.gov.uk under the Open Government Licence v3.0; always check the official text before relying on it. Not affiliated with or endorsed by The National Archives or the UK Government.