Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

UK Law

by flaviohtavaresversion 1.0.1i★ 0iRuns in the cloudOfficial site ↗
Registry nameio.github.flaviohtavares/uk-law

How to install

What it does

Search and read all UK legislation (130k Acts and regulations), updated daily, with official links.

  • Connects Runs in the cloud
  • Account or key No key needed
  • Category Law & government data

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering8/8The cloud endpoint answered at the last check
Usage score20/100

Quality: Passed 5/5 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install UK Law. Follow https://mcp.popnx.com/i/flaviohtavares-uk-law.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 5/5 checks · What you ask goes through the maker’s server (uk-law-mcp.uk-law-mcp.workers.dev) · ✓ Commands checked Nov 13, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude · about 2 min

No key, nothing to install · Set it up once on claude.ai or the desktop app, then use it in chat · free accounts can add 1 · on Team/Enterprise an Owner adds it

  1. Open Claude’s Connectors page

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4
  2. Click “Add” → “Custom” → “Web” and fill in these 2 fields

    Copy each value into the field with the same name in Claude, then click Continue

    Name · NameUK Law
    Remote MCP server URL · Addresshttps://uk-law-mcp.uk-law-mcp.workers.dev/mcp

    Click Continue past the sign-in settings Claude detected · under Authentication choose what the maker says (Sign in now, Sign in when needed or No sign in), then click Add

  3. Turn it on in a chat

    +ConnectorsUK Law

  4. Try it

    Use UK Law and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using UK Law or shows a UK Law tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with ChatGPT, depending on your plan

Full MCP: ChatGPT Business, Enterprise or Edu on the web · Pro: connects with read/fetch permissions, so tools that change data may not work · Plus: not confirmed in OpenAI’s docs; if you see an add-custom-MCP option on the Plugins page you can try these steps · web only

  1. Open ChatGPT’s add-MCP page on the web

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. Fill in the name and address

    Enter a name, paste the address under Connection, tick the risk warning and click Create as a plugin

    Name · NameUK Law
    Connection · Addresshttps://uk-law-mcp.uk-law-mcp.workers.dev/mcp
  3. Pick UK Law in a chat

    Start a new chat and pick UK Law from your plugins before typing

  4. Try it

    Use UK Law and tell me what you can do for me, then show me one thing

    ✓ If ChatGPT says it is using UK Law or shows a UK Law tool in the answer, you are connected

Menu names checked against OpenAI’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Claude Code · about 2 min

No key, nothing to install

  1. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  2. Paste this command and press Enter

    claude mcp add --transport http --scope user uk-law https://uk-law-mcp.uk-law-mcp.workers.dev/mcp
  3. Type /mcp in Claude Code

    You should see UK Law listed as connected

  4. Try it

    Use UK Law and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using UK Law or shows a UK Law tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor · about 2 min

No key, nothing to install

  1. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  2. Open the AI chat in Cursor in Agent mode

  3. Try it

    Use UK Law and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using UK Law or shows a UK Law tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code · about 2 min

No key, nothing to install

  1. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  2. Open the AI chat in VS Code in Agent mode

  3. Try it

    Use UK Law and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using UK Law or shows a UK Law tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

Address for apps that connect over the web

Addresshttps://uk-law-mcp.uk-law-mcp.workers.dev/mcp

JSON settings are under “For developers” below

Stuck? Ask people who use UK Law💬 Discussion →
For developers: Terminal commands and JSON settings

Over the web

Claude Code

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

Cursor (~/.cursor/mcp.json)

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

VS Code (mcp.json)

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

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
Not on npm/PyPI
Connection
Runs in the cloud
Transport
streamable-http
Latest versioni
1.0.1
Published to registryi
Nov 7, 2026
Code last changedi
Nov 7, 2026
Last checked
Nov 18, 2026
Maker
flaviohtavares
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Connect over the internet in

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

All apps, with pros and cons →

Related guides

What it can do

Tool names and descriptions exactly as the server reported them on Nov 18, 2026. The maker wrote them, not us; we show them as plain text.

  • search_laws

    Find UK Acts and regulations by words of their title, or by id (e.g. ukpga/1996/18). Exact titles, Acts and laws in force come first. Returns id, title, status, extent and topics.

  • get_law

    Read a law by id. Short laws come whole. Long laws (100+ sections) return their front matter and a Contents list: then ask for one part, e.g. part: "section 86", "schedule 1", "regulation 3" or "part 2" (lists that part's sections).

  • list_topics

    Topics (the official subject headings of legislation.gov.uk) with the number of Acts and regulations in force. Optionally only those whose name has these words.

  • get_topic

    The Acts and regulations in force on one topic, with how many regulations each Act has on it. Big topics list regulations by year: pass year to read one.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account flaviohtavares, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 12 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • ✓ Pass

    Endpoint responds

    Responded in 188 ms (HTTP 200)

  • – Not applicable

    Sign-in with OAuth

    No sign-in needed

  • ✓ Pass

    No hidden instructions in tool descriptions

    Read 4 tool descriptions and found no hidden instructions to the AI

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/flaviohtavares-uk-law.svg)](https://mcp.popnx.com/en/servers/flaviohtavares-uk-law)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Law & government datai

  • More stars than 0% of the other 1945 servers in this category
  • Published to the registry more recently than 79% of the other 1945 servers in this category
  • Basic checks equal to or better than 99% of the other 1945 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is UK Law safe?

It passed 5 of 5 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs in the maker’s cloud. Connect over the internet with nothing to install, but what you send passes through the maker’s servers.

Is it still maintained?

The GitHub repo last changed 12 days ago, and the latest version (1.0.1) reached the registry 12 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. It connects by URL, so apps that accept remote MCP servers work too, such as ChatGPT on the web (full MCP on Business and above; Pro read-only).

What can I use instead?

In the same category: Global law, Open Legal Data (Germany), LibreJustice, InfraNode, Fedlex Connector

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Global law

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

by lexifinaWidely used★ 2.1KUpdated 9 days ago

Runs in the cloud✓ lexifina.com

LibreJustice

Search French-language and European case law and French legal texts (codes, statutes, treaties).

by librejusticeEarly★ 36Updated 2 months ago

Runs in the cloud✓ service owner · librejustice.fr

InfraNode

Keyless open data for 84 German cities: 12 lean read-only MCP tools covering 67 data types.

by street1983nkEarly★ 18Updated 5 months ago

Runs in the cloud✓ service owner · infranode.dev

Fedlex Connector

Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.

by JayTheSkierEarly★ 8Updated 7 months ago

Runs in the cloud✓ service owner · fedlex-connector.ch
Compared with similar ones
This one
UK Law
Global lawOpen Legal Data (Germany)LibreJusticeInfraNodeFedlex Connector
Runs whereRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks5/54/44/44/44/44/4
LicenseMITNOASSERTIONMITApache-2.0Apache-2.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

UK Law MCP server

A free, read-only MCP server that lets AI assistants (Claude, ChatGPT, Claude Code, Codex and others) search and read all UK legislation, about 130,000 Acts and regulations from UK Law, updated daily from legislation.gov.uk.

Not legal advice. The texts are an unofficial copy and can be out of date or contain

conversion errors. Always check the official text at legislation.gov.uk.

Server URL: https://uk-law-mcp.uk-law-mcp.workers.dev/mcp (no sign-in). The page at the root of that address has the same instructions.

Install: step by step

There are two ways to connect an assistant, and both are free:

  • the MCP server (https://uk-law-mcp.uk-law-mcp.workers.dev/mcp), for Claude, ChatGPT, Claude Code and Codex. Nothing to install on your computer and no sign-in;
  • the skill (a small Python script), for Claude Code and Codex. It reads GitHub directly and works without the server.

After installing, test it with a question such as: *"What does section 86 of the Employment Rights Act 1996 say about notice periods?"* The answer should quote the section and link legislation.gov.uk.

Claude (claude.ai, Claude Desktop and the mobile apps)

Works on every plan; the Free plan allows one custom connector.

  1. Open Customize → Connectors. The same connector then works in Claude Desktop and the mobile apps.
  2. Click + Add, then Add custom connector.
  3. Name: UK Law. Remote MCP server URL: https://uk-law-mcp.uk-law-mcp.workers.dev/mcp. Click Continue.
  4. Under Authentication, choose No sign in, then click Add.
  5. In a chat, click + (bottom left) → Connectors and make sure UK Law is switched on. Then ask your question.

On Team and Enterprise plans an Owner adds the connector once in Organization settings → Connectors (Add → Custom → Web, same URL, "No sign in"); members then switch it on in Customize → Connectors.

Claude Code

Option A, the plugin (recommended). Type in Claude Code:

/plugin marketplace add flaviohtavares/uk-law-tools

/plugin install uk-law@uk-law-tools

Restart Claude Code if asked. Update later with /plugin marketplace update uk-law-tools.

Option B, the MCP server. In a terminal:

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

--scope user makes it available in every project. Check it with /mcp inside Claude Code.

Codex (CLI, IDE extension and app)

Option A, the MCP server. In a terminal:

codex mcp add uk-law --url https://uk-law-mcp.uk-law-mcp.workers.dev/mcp

or add this to ~/.codex/config.toml:

[mcp_servers.uk-law]

url = "https://uk-law-mcp.uk-law-mcp.workers.dev/mcp"

Check it with codex mcp list, then start a new Codex session.

Option B, the skill. In a terminal:

curl -fsSL https://raw.githubusercontent.com/flaviohtavares/uk-law-tools/main/install.sh | sh

It copies the skill to ~/.agents/skills/uk-law (and ~/.codex/skills/uk-law). Restart Codex. Run the same command to update.

ChatGPT

Custom MCP servers work on chatgpt.com (web) with a Pro, Business or Enterprise/Edu plan. On Business, only workspace admins and owners can add them.

  1. Open Plugins.
  2. Click +, then Add custom MCP server.
  3. Name: UK Law. Under Connection, enter https://uk-law-mcp.uk-law-mcp.workers.dev/mcp.
  4. Authentication: None.
  5. Tick I understand and want to continue, then click Create as a plugin and install it.
  6. In a new chat, type @, pick UK Law, and ask your question.

Free and Plus plans: paste this link into the chat and ask your question; ChatGPT reads the instructions and opens the right file:

https://raw.githubusercontent.com/flaviohtavares/uk-law/main/llms.txt
Other MCP clients

Add https://uk-law-mcp.uk-law-mcp.workers.dev/mcp as a remote server (Streamable HTTP transport, no authentication).

Tools

tooldoes
search_lawsfind laws by words of the title or by id; filters: types, in_force, extent, topic, limit
get_lawread a law; for long laws, the contents, then one part ("section 86", "schedule 1", "part 2")
list_topicsofficial subject headings with counts of laws in force
get_topicActs and regulations in force on one topic (year for big topics)

How it works

A Cloudflare Worker with a stateless MCP handler (createMcpHandler from the Agents SDK). The index of laws (index/laws.csv of the data repository) is kept in D1 with a full-text index on the titles; the texts are read from GitHub (cached for an hour). No user data is stored.

Run your own

npm install

npx wrangler login npx wrangler d1 create uk-law # put the database_id in wrangler.jsonc npm run sync:full # loads index/laws.csv from a clone of uk-law (UKLAW_DATA) npm run deploy

npm run sync sends only the rows that changed since the last sync; the maintainer runs it after each daily update. For local development: python3 scripts/sync.py --full --local and npm run dev.

Who maintains this

Built and maintained by [Tavlabs Ltd](https://www.tavlabs.uk/uk-law?utm_source=github&utm_medium=uk-law-mcp), a London software house for small and medium businesses. contact@tavlabs.uk

Not affiliated with or endorsed by The National Archives, legislation.gov.uk or the UK Government. Code: MIT. Legislation texts: © Crown and database right, Open Government Licence v3.0.