Home / Market / uk-legislation-mcp-server

uk-legislation-mcp-server

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

mcp★ 0410 dlmcp-registryMIT configuration; upstream service license appliesInstall in CosmosUpstream Source

Documentation & Preview

{ "mcpServers": { "mcp-uk-legislation-mcp-server-47d533db4130d08e96b4": { "command": "npx", "args": [ "-y", "--package", "@cyanheads/uk-legislation-mcp-server@0.2.3", "uk-legislation-mcp-server" ], "env": { "UK_LEGISLATION_CONTACT": "${ENV_UK_LEGISLATION_CONTACT}", "UK_LEGISLATION_MIN_REQUEST_GAP_MS": "${ENV_UK_LEGISLATION_MIN_REQUEST_GAP_MS}", "UK_LEGISLATION_CACHE_MAX_MB": "${ENV_UK_LEGISLATION_CACHE_MAX_MB}", "UK_LEGISLATION_CLAMP_LIMITS": "${ENV_UK_LEGISLATION_CLAMP_LIMITS}", "UK_LEGISLATION_PROVISION_COMMAS": "${ENV_UK_LEGISLATION_PROVISION_COMMAS}", "MCP_LOG_LEVEL": "${ENV_MCP_LOG_LEVEL}" } } }, "setup": { "fields": [ { "id": "ENV_UK_LEGISLATION_CONTACT", "label": "UK_LEGISLATION_CONTACT", "description": "Email or URL appended to the User-Agent so legislation.gov.uk can reach the operator. Optional; set it on hosted deployments.", "required": false, "secret": false, "default": "" }, { "id": "ENV_UK_LEGISLATION_MIN_REQUEST_GAP_MS", "label": "UK_LEGISLATION_MIN_REQUEST_GAP_MS", "description": "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.", "required": false, "secret": false, "default": "1000" }, { "id": "ENV_UK_LEGISLATION_CACHE_MAX_MB", "label": "UK_LEGISLATION_CACHE_MAX_MB", "description": "Response cache size bound, in MB (8-1024).", "required": false, "secret": false, "default": "64" }, { "id": "ENV_UK_LEGISLATION_CLAMP_LIMITS", "label": "UK_LEGISLATION_CLAMP_LIMITS", "description": "true serves a limit above a tool's cap at the cap, with a notice; false advertises each cap as the maximum and rejects a larger limit.", "required": false, "secret": false, "default": "true" }, { "id": "ENV_UK_LEGISLATION_PROVISION_COMMAS", "label": "UK_LEGISLATION_PROVISION_COMMAS", "description": "true rewrites comma-separated provision shorthand (Sch. 2, para. 3) to its path before validation; false rejects it.", "required": false, "secret": false, "default": "true" }, { "id": "ENV_MCP_LOG_LEVEL", "label": "MCP_LOG_LEVEL", "description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').", "required": false, "secret": false, "default": "info" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.cyanheads/uk-legislation-mcp-server", "registryVersion": "0.2.3", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.cyanheads%2Fuk-legislation-mcp-server/versions/0.2.3", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "npm", "identifier": "@cyanheads/uk-legislation-mcp-server", "version": "0.2.3", "integrity": "sha512-nZJkprAZhgByL3mGxrm6fB5mzrDP+paHdCwSjg4Ho7fcULQbs6MiT+Xw+Y68XLOg2zwMMkkqpQ/YGLn90awFZw==", "registryNameMatched": "io.github.cyanheads/uk-legislation-mcp-server", "checkedAt": "2026-11-29T23:20:13.523Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }