io.github.cyanheads/uk-legislation-mcp-server
io.github.cyanheads/uk-legislation-mcp-server
Search and read UK legislation at any date, resolve citations, list amendments, track changes.
Connect this server
Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.
{
"mcpServers": {
"uk-legislation-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/uk-legislation-mcp-server@0.2.1"
],
"env": {
"UK_LEGISLATION_MIN_REQUEST_GAP_MS": "1000",
"UK_LEGISLATION_CACHE_MAX_MB": "64",
"MCP_LOG_LEVEL": "info"
}
}
}
}- UK_LEGISLATION_MIN_REQUEST_GAP_MSMinimum gap between legislation.gov.uk request starts, in ms (minimum 250). Replicas sharing one User-Agent divide the fair use limit: use at least 250 ms x replica count.
- UK_LEGISLATION_CACHE_MAX_MBResponse cache size bound, in MB (8-1024).
- MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
- Category
- Developer Tools
- Version
- 0.2.1
- Registry
- active
- Published
- 10/29/2026
Remotes
- streamable-http
https://uk-legislation.caseyjhand.com/mcp
More Developer Tools servers
Browse all Developer Tools →io.github.cyanheads/uk-parliament-mcp-server
cyanheads
Search UK Parliament bills, members, votes, Hansard, written questions, and committees.
io.github.cyanheads/uk-police-crime-mcp-server
cyanheads
Search UK street crime, outcomes, stop and search, and neighbourhood teams (Scotland: BTP only).
io.github.cyanheads/un-comtrade-mcp-server
cyanheads
UN Comtrade international trade statistics via MCP. Country/HS lookups, flows, balances, rankings.
unesco-heritage-mcp-server
cyanheads
Search UNESCO World Heritage sites, intangible heritage, biosphere reserves, and Global Geoparks.
io.github.cyanheads/unhcr-refugees-mcp-server
cyanheads
Query UNHCR refugee, IDP, and stateless populations, asylum decisions, returns, and resettlement.
io.github.cyanheads/uniprot-mcp-server
cyanheads
Protein research over UniProtKB: search by function, fetch curated records, map IDs, proteomes.
Add the badge to your site
Show visitors that io.github.cyanheads/uk-legislation-mcp-server is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-cyanheads-uk-legislation-mcp-server?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="io.github.cyanheads/uk-legislation-mcp-server — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-cyanheads-uk-legislation-mcp-server?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.