Data · Local MCP server

Uk Legislation MCP Server

Search and read UK legislation at any date, resolve citations, list amendments, track changes.

What the MCP Registry states

The entry as published to the official MCP Registry (read 2026-10-04), latest version.

Registry name
io.github.cyanheads/uk-legislation-mcp-server
Version
0.1.1
Status
Active
Category
data
Transport
stdio (local process), Streamable HTTP
Package
npm
Published
2026-09-27
Updated
2026-09-27
Publisher
cyanheads (GitHub) · 140 servers with pages here
Repository
github.com/cyanheads/uk-legislation-mcp-server
Source
Registry API entry

Packages

RegistryPackageVersionTransportEnvironment variables
npmruntime: node@cyanheads/uk-legislation-mcp-server0.1.1stdioUK_LEGISLATION_CONTACT, UK_LEGISLATION_MIN_REQUEST_GAP_MS, UK_LEGISLATION_CACHE_MAX_MB, MCP_LOG_LEVEL
npmruntime: node@cyanheads/uk-legislation-mcp-server0.1.1HTTPMCP_HTTP_HOST, MCP_HTTP_PORT, MCP_HTTP_ENDPOINT_PATH, MCP_AUTH_MODE, UK_LEGISLATION_CONTACT, UK_LEGISLATION_MIN_REQUEST_GAP_MS, UK_LEGISLATION_CACHE_MAX_MB, MCP_LOG_LEVEL

How to connect Uk Legislation MCP Server

Uk Legislation MCP Server runs locally from a Node.js package published to the npm registry: @cyanheads/uk-legislation-mcp-server version 0.1.1. It speaks MCP over stdio, so the client starts it as a program and talks to it through standard input and output. It needs Node.js; clients usually start it with npx — the usual command is npx -y @cyanheads/uk-legislation-mcp-server@0.1.1; the entry names node as the runtime. It reads these environment variables: UK_LEGISLATION_CONTACT, UK_LEGISLATION_MIN_REQUEST_GAP_MS, UK_LEGISLATION_CACHE_MAX_MB and MCP_LOG_LEVEL; set them in the client's configuration for this server.

Uk Legislation MCP Server runs locally from a Node.js package published to the npm registry: @cyanheads/uk-legislation-mcp-server version 0.1.1. The package starts a local server that speaks MCP over Streamable HTTP; the client then connects to it by URL (the entry names node as the runtime). It reads these environment variables: MCP_HTTP_HOST, MCP_HTTP_PORT, MCP_HTTP_ENDPOINT_PATH, MCP_AUTH_MODE, UK_LEGISLATION_CONTACT, UK_LEGISLATION_MIN_REQUEST_GAP_MS, UK_LEGISLATION_CACHE_MAX_MB and MCP_LOG_LEVEL; set them in the client's configuration for this server.

In the mcpServers JSON format that many desktop and editor MCP clients read, the entry looks like this (placeholders in angle brackets):

{
  "mcpServers": {
    "uk-legislation-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/uk-legislation-mcp-server@0.1.1"
      ],
      "env": {
        "UK_LEGISLATION_CONTACT": "<value>",
        "UK_LEGISLATION_MIN_REQUEST_GAP_MS": "<value>",
        "UK_LEGISLATION_CACHE_MAX_MB": "<value>",
        "MCP_LOG_LEVEL": "<value>"
      }
    }
  }
}

Derived from the registry entry, not tested here. What the server does, and on what terms, is set by its publisher; check its repository or website before giving it access to your accounts or files. How to add an MCP server to an assistant · Before you connect

More from cyanheads (GitHub)

ServerRunsEndpoint or package
Survey MCP ServerMCP server for conducting dynamic, conversational surveys with structured data collection.Local · stdio, HTTPnpm: @cyanheads/survey-mcp-server
Tmdb MCP ServerSearch, detail, and discovery for movies, TV, and people on The Movie Database (TMDB).Local · stdio, HTTPnpm: @cyanheads/tmdb-mcp-server
Toolkit MCP ServerGenerate IDs, QR codes, and hashes, encode values, geolocate IPs, plus gated host diagnostics.Remote & Local · HTTP, stdiotoolkit.caseyjhand.com
Transitland MCP ServerGlobal transit via Transitland v2 — operators, GTFS/GTFS-RT/GBFS feeds, routes, stops, departures.Local · stdio, HTTPnpm: @cyanheads/transitland-mcp-server
Treasury Fiscaldata MCP ServerQuery US Treasury national debt, interest rates, exchange rates, and fiscal datasets via MCP.Remote & Local · HTTP, stdiotreasury-fiscaldata.caseyjhand.com
Tvmaze MCP ServerSearch TVmaze shows, next episodes in your timezone, episode guides, daily TV schedules, and cast.Remote & Local · HTTP, stdiotvmaze.caseyjhand.com
Uk Police Crime MCP ServerSearch UK street crime, outcomes, stop and search, and neighbourhood teams (Scotland: BTP only).Remote & Local · HTTP, stdiouk-police-crime.caseyjhand.com
Un Comtrade MCP ServerUN Comtrade international trade statistics via MCP. Country/HS lookups, flows, balances, rankings.Local · stdio, HTTPnpm: @cyanheads/un-comtrade-mcp-server
unesco-heritage-mcp-serverSearch UNESCO World Heritage sites, intangible heritage, biosphere reserves, and Global Geoparks.Remote & Local · HTTP, stdiounesco-heritage.caseyjhand.com
Unhcr Refugees MCP ServerQuery UNHCR refugee, IDP, and stateless populations, asylum decisions, returns, and resettlement.Local · stdio, HTTPnpm: @cyanheads/unhcr-refugees-mcp-server
Uniprot MCP ServerProtein research over UniProtKB — search by function, fetch curated records, map IDs, proteomes.Remote & Local · HTTP, stdiouniprot.caseyjhand.com
Usaspending MCP ServerAccess US federal award, recipient, agency, and spending analytics data from USAspending.gov.Remote & Local · HTTP, stdiousaspending.caseyjhand.com

More data servers

All 4,395 →
ServerRunsEndpoint or package
UK Data API24 UK data endpoints — property, weather, companies, vehicles, finance. Paid via x402.Remote · SSEweb-production-18a32.up.railway.app
UK Environment Agency Open DataUK Environment Agency data with cleaning - 10 tools for floods, water quality, permits, catchments.Local · stdioPyPI: bartram-companies-house
UK Legal ResearchUK legal research — case law, legislation, Hansard, bills, votes, committees, HMRC, citations.Remote & Local · HTTP, stdiouk-legal-mcp.fly.dev
UK Legislation ChangesPoint-in-time amendment history for 506 UK legislation provisions.Remote · HTTPuk-legal-changes.pages.dev
UK Legislation MCP Server from MCPBundlesSearch UK Acts, Statutory Instruments, and legislation with full text retrieval.Remote & Local · HTTP, stdiomcp.mcpbundles.com
UK Petitions MCP Server from MCPBundlesSearch UK Parliament petitions, view signatures, government responses, and debate outcomes.Remote & Local · HTTP, stdiomcp.mcpbundles.com
Uk Planning DataUK planning designations from planning.data.gov.uk, the MHCLG national planning data platform…Remote · HTTPgateway.pipeworx.io
UK Planning Data MCP Server from MCPBundlesSearch UK planning applications, entities, datasets, and conservation areas.Remote & Local · HTTP, stdiomcp.mcpbundles.com