PluginBench
MCP Server
Active
Apache-2.0

io.github.cyanheads/uk-legislation-mcp-server MCP Server

io.github.cyanheads/uk-legislation-mcp-server

What is the io.github.cyanheads/uk-legislation-mcp-server MCP server?

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

How to install io.github.cyanheads/uk-legislation-mcp-server

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • UK_LEGISLATION_CONTACT

    Email or URL appended to the User-Agent so legislation.gov.uk can reach the operator. Optional; set it on hosted deployments.

  • UK_LEGISLATION_MIN_REQUEST_GAP_MS

    Minimum 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_MB

    Response cache size bound, in MB (8-1024).

  • MCP_LOG_LEVEL

    Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

  • MCP_HTTP_HOST

    The hostname for the HTTP server.

  • MCP_HTTP_PORT

    The port to run the HTTP server on.

  • MCP_HTTP_ENDPOINT_PATH

    The endpoint path for the MCP server.

  • MCP_AUTH_MODE

    Authentication mode to use: 'none', 'jwt', or 'oauth'.

~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "uk-legislation-mcp-server": {
      "command": "node",
      "args": [
        "-y",
        "@cyanheads/uk-legislation-mcp-server",
        "run",
        "start:stdio"
      ],
      "env": {
        "UK_LEGISLATION_CONTACT": "<YOUR_UK_LEGISLATION_CONTACT>",
        "UK_LEGISLATION_MIN_REQUEST_GAP_MS": "<YOUR_UK_LEGISLATION_MIN_REQUEST_GAP_MS>",
        "UK_LEGISLATION_CACHE_MAX_MB": "<YOUR_UK_LEGISLATION_CACHE_MAX_MB>",
        "MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
        "MCP_HTTP_HOST": "<YOUR_MCP_HTTP_HOST>",
        "MCP_HTTP_PORT": "<YOUR_MCP_HTTP_PORT>",
        "MCP_HTTP_ENDPOINT_PATH": "<YOUR_MCP_HTTP_ENDPOINT_PATH>",
        "MCP_AUTH_MODE": "<YOUR_MCP_AUTH_MODE>"
      }
    }
  }
}

Related MCP servers

UN Comtrade international trade statistics via MCP. Country/HS lookups, flows, balances, rankings.

1
TypeScript
View repository →

Query UNHCR refugee, IDP, and stateless populations, asylum decisions, returns, and resettlement.

1
TypeScript
Apache-2.0
View repository →

Protein research over UniProtKB — search by function, fetch curated records, map IDs, proteomes.

1
TypeScript
Apache-2.0
View repository →

Access US federal award, recipient, agency, and spending analytics data from USAspending.gov.

2
TypeScript
View repository →

Search foods, compare nutrients, and look up the full USDA FoodData Central database.

1
TypeScript
Apache-2.0
View repository →

Query real-time and historical USGS water data from ~8,000 stream gages and groundwater wells.

1
TypeScript
Apache-2.0
View repository →