F
flaviohtavares/uk-law-mcp
Free remote MCP server to search and read UK legislation (Claude, ChatGPT, Codex)
View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
Install & config
Client config (built from the install command this repo gives)
{
"mcpServers": {
"flaviohtavares-uk-law-mcp": {
"command": "npx",
"args": ["wrangler"]
}
}
}Parsed from the README we fetched on 2026-11-06; we have not executed it.
command/args come from the install command the repository states. When it is ambiguous, the project README wins.
VS Code (.vscode/mcp.json - the key is servers)
{
"servers": {
"flaviohtavares-uk-law-mcp": {
"command": "npx",
"args": ["wrangler"]
}
}
}Same server, but VS Code keeps it under <code>servers</code>.
Claude Code (command line)
claude mcp add --transport stdio flaviohtavares-uk-law-mcp -- npx wrangler
Claude Code does not read a config file; add the server with this command.
Key names differ by client: Clients & CLI
- Star count
- 0 ★ · flaviohtavares/uk-law-mcp · read from the GitHub search API · (checked 2026-11-13 20:00:50)
- Source
- read directly from its GitHub page · type: open-source project
- Harvest history
- first seen 2026-11-07 · last seen 2026-11-14 · seen 8× · listed by 1 sources
- Score
- score 103 · 1 sources · repo
- Install
npx wrangler
FAQ (answers come from our records)
How do I install it?
The repository provides this install command:
npx wrangler. It comes from the repository itself; we cannot guarantee it runs as-is in your client.Who is it for?
We filed it under these tags: 开源项目. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
repository
flaviohtavares/uk-law-mcp;first catalogued 2026-11-07;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.# UK Law MCP server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
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:
sh
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:
sh
codex mcp add uk-law --url https://uk-law-mcp.uk-law-mcp.workers.dev/mcp
or add this to ~/.codex/config.toml:
toml
[mcpservers.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:
sh
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.
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:
sh
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:
sh
codex mcp add uk-law --url https://uk-law-mcp.uk-law-mcp.workers.dev/mcp
or add this to ~/.codex/config.toml:
toml
[mcpservers.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:
sh
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.
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[](https://anclum.com/en/s/flaviohtavares-uk-law-mcp/)
- Source
- github · https://github.com/flaviohtavares/uk-law-mcp
- Browse by field
- Open source
- added
- today
More like this
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.