Skip to content
MCP server

UK Law

Search and read about 130,000 UK Acts and regulations as plain text, with official links

Install
Pricing
Free
Platforms
API
Runs
Remotely
Version
1.0.1
Listing updated
3 days ago

About UK Law

UK Law is a free MCP server for legal and government. It runs as a hosted remote server, so there is nothing to install locally.

The text comes from a separate open project that converts legislation.gov.uk into Markdown files, one per law, with status, date, extent and an official link. Long Acts are split into a file per section. The project covers Acts of Parliament, statutory instruments, Scottish, Welsh and Northern Ireland law, historic parliaments and EU-origin law, plus 618 topic pages. A daily job reads the legislation.gov.uk publication log and rewrites any law that changed.

The server is hosted on Cloudflare Workers and needs no sign-in. An assistant can find a law, open a section, quote it and link the official page; the site's example asks for section 86 of the Employment Rights Act 1996 on notice periods. Each law is compared with its source as it is converted, and the few remaining gaps are published openly.

This is an independent project and not legal advice. Texts are an unofficial copy under the Open Government Licence v3.0, can be out of date or contain conversion errors, and should be checked against legislation.gov.uk. Besides MCP it offers a Claude Code plugin and a Codex skill. Custom MCP servers in ChatGPT need a Pro, Business or Enterprise plan.

Install

Run in a terminal

claude mcp add --transport http uk-law https://uk-law-mcp.uk-law-mcp.workers.dev/mcp

Add to Settings → Connectors → Add custom connector

https://uk-law-mcp.uk-law-mcp.workers.dev/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "uk-law": {
      "url": "https://uk-law-mcp.uk-law-mcp.workers.dev/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "uk-law": {
      "type": "http",
      "url": "https://uk-law-mcp.uk-law-mcp.workers.dev/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "uk-law": {
      "serverUrl": "https://uk-law-mcp.uk-law-mcp.workers.dev/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "uk-law": {
      "type": "http",
      "url": "https://uk-law-mcp.uk-law-mcp.workers.dev/mcp"
    }
  }
}

What it does

Full UK statute text
About 130,000 Acts and regulations as plain-text Markdown.
Four nations
Covers UK Parliament, Scotland, Wales and Northern Ireland, plus historic and EU-origin law.
Daily updates
A job rewrites changed laws from the legislation.gov.uk publication log.
Section-level files
Long Acts are split into one file per section.
Official links
Each law carries its status, extent and a link to the official page.
Plugin and skill options
Claude Code plugin and Codex skill work without the server.

Good for

  • Quote what the Employment Rights Act says about notice periods
  • Check whether Scotland has a law on short-term lets
  • Open a specific section of the Data Protection Act 2018
  • Browse laws by topic, from employment to road traffic

Pricing

Free

Free, no sign-in

Prices change. Check tavlabs.uk before you buy.

UK Law FAQ

Does it need an account?

No. It is free and needs no sign-in.

Is it official?

No. It is an unofficial copy and not legal advice; check legislation.gov.uk.

What licence covers the text?

The Open Government Licence v3.0, as published on legislation.gov.uk.

How often is it updated?

Daily, from the legislation.gov.uk publication log.

Is UK Law free?

Yes. UK Law is free to use.

How do I add UK Law to Claude Code?

Run this command in your terminal: claude mcp add --transport http uk-law https://uk-law-mcp.uk-law-mcp.workers.dev/mcp

What are the best alternatives to UK Law?

The closest alternatives to UK Law are NY LLC Publication (FileMyPublication), TribuJus, SupplyClub Catalog, SynomosAI Governance MCP and MedXpert 标准检索连接器.

Alternatives to UK Law

  1. New York LLC publication rules, deadline, county prices, clerks and notice text

    • 8 tools
    • Remote
    • Free
    • Legal and government
  2. TribuJus

    MCP server

    Read-only access to UK bank accounts, cards and transactions via TrueLayer Open Banking

    Not checked yet
    • 5 tools
    • Remote
    • Open source
    • Legal and government
  3. Russian statutes, Supreme Court guidance and court practice for AI assistants

    • 3 tools
    • Remote
    • Free
    • Legal and government
  4. Self-assess AI agent governance: A3 scorecard, ISO 42001 evidence and PII scan

    Runs locally
    • 6 tools
    • Open source
    • Security
  5. Read-only local index of medical-device standards with official links, no standard text

    Runs locally
    • 4 tools
    • Free
    • Legal and government
  6. SigPen

    MCP server

    MCP server that drafts e-signature documents while you approve every send

    Not checked yet
    • 13 tools
    • Remote
    • Freemium
    • Files and documents