Uk-legislation-mcp-server MCP Server

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

Local serverstdiostreamable-http

What is the Uk-legislation-mcp-server MCP Server?

Uk-legislation-mcp-server is an MCP integration. Search and read UK legislation at any date, resolve citations, list amendments, track changes.

Packages and local setup

The published npm package is @cyanheads/uk-legislation-mcp-server, version 0.1.1. Its declared MCP transport is stdio.

The package declares 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')..

This package has launch arguments in its registry record. Use the maintainer’s configuration for those arguments rather than launching it with only the package name.

The published npm package is @cyanheads/uk-legislation-mcp-server, version 0.1.1. Its declared MCP transport is streamable-http.

The package declares 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'.; UK_LEGISLATION_CONTACT: Email or URL appended to the User-Agent so legislation.gov.uk can reach the operator. 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')..

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository. This profile uses version 0.1.1 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related developer tools MCP servers for tools that cover the same kind of work.

Configuration

VariableDescriptionRequired
UK_LEGISLATION_CONTACTEmail or URL appended to the User-Agent so legislation.gov.uk can reach the operator. Optional; set it on hosted deployments.Optional
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.Optional
UK_LEGISLATION_CACHE_MAX_MBResponse cache size bound, in MB (8-1024).Optional
MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').Optional