uk-legislation-search
Search legislation.gov.uk across all legislation by title, free
This record as markdown: /tools/io-github-derekslinz-meta-data-mcp/uk-legislation-search.md
What uk-legislation-search does on Meta Data Mcp
AI agents call uk-legislation-search to retrieve information from Meta Data Mcp without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Why uk-legislation-search is rated Low
This tool retrieves and queries public legislative data without side effects. It is a passive read operation that returns search results from an open government data API. No data is created, modified, deleted, or executed. The 'free text' search capability is a standard information retrieval feature that poses minimal security risk.
From the tool's definition Tool performs a 'Search' operation across legislation.gov.uk; description explicitly states 'Search legislation...by title, free text' with no mention of modification, deletion, or execution capabilities.
Attacks that exploit this kind of access
The rule that runs uk-legislation-search safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Meta Data Mcp, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For uk-legislation-search, this is the rule to start with:
uk-legislation-search is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Meta Data Mcp, apply this rule, and every uk-legislation-search call is checked against it from then on.
Questions about uk-legislation-search
Search legislation.gov.uk across all legislation by title, free. It is categorised as a Read tool in the Meta Data Mcp MCP Server, which means it retrieves data without modifying state.
Register the Meta Data MCP server in PolicyLayer and add a rule for uk-legislation-search: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Meta Data Mcp. Nothing to install.
uk-legislation-search is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the uk-legislation-search rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for uk-legislation-search. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
uk-legislation-search is provided by the Meta Data MCP server (pypi:meta-data-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Meta Data, and thousands of servers like it.
This server
Across the catalogue