UK Law

v1.0.1
io.github.flaviohtavares/uk-law Checked 3 days ago Published 28 days ago

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

Remote (hosted) discovery passed

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 (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "uk-law": {
      "args": [
        "-y",
        "mcp-remote",
        "https://uk-law-mcp.uk-law-mcp.workers.dev/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "uk-law": {
      "url": "https://uk-law-mcp.uk-law-mcp.workers.dev/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "uk-law": {
      "type": "http",
      "url": "https://uk-law-mcp.uk-law-mcp.workers.dev/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.uk-law]
command = "npx"
args = ["-y", "mcp-remote", "https://uk-law-mcp.uk-law-mcp.workers.dev/mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: search_laws, get_law, list_topics, get_topic.
  4. If it fails, check that the required runtime is installed (none) and that the values above are set.

Machine-readable: install.md · manifest.json