INDIVIDUAL MCP TOOL
legislation_search
USE THIS TOOL WHEN searching UK Acts and Statutory Instruments by title, phrase, or full-text.
LIVE ENDPOINT
https://uk-legal-mcp.fly.dev/mcp
Connect to this endpoint to inspect the live schema for legislation_search and invoke it with your own arguments.
Indexed input schema
{}Risk classification
Inferred read-only · medium confidence · heuristic, not a guarantee.
- No write-capable action terms were found; this is not proof that invocation has no side effects.
Parent server
CONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.uk-legal-mcp]
url = "https://uk-legal-mcp.fly.dev/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"uk-legal-mcp": {
"type": "http",
"url": "https://uk-legal-mcp.fly.dev/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: uk-legal-mcp
Remote MCP URL: https://uk-legal-mcp.fly.dev/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"uk-legal-mcp": {
"url": "https://uk-legal-mcp.fly.dev/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"uk-legal-mcp": {
"type": "http",
"url": "https://uk-legal-mcp.fly.dev/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "uk-legal-mcp",
"transport": "streamable-http",
"url": "https://uk-legal-mcp.fly.dev/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
Related tools
judgment_get_header— USE THIS TOOL WHEN you have a judgment slug and need metadata (parties, judges, neutral citation, court, dates).judgment_get_index— USE THIS TOOL WHEN you have a judgment slug and want the paragraph navigation index (eId + preview line for every paragraph).judgment_get_paragraph— USE THIS TOOL WHEN you have a judgment slug + LegalDocML eId and want that paragraph's full text.case_law_search— USE THIS TOOL WHEN searching UK case law by party names, court, judge, date, or free-text query.case_law_grep_judgment— USE THIS TOOL WHEN you have a judgment slug and want to find paragraphs whose text matches a pattern.legislation_get_section— USE THIS TOOL WHEN you have a known Act / SI and want the parsed text of a specific section, with extent and in-force metadata.legislation_get_toc— USE THIS TOOL WHEN you have a known Act / SI and want the structural table of contents (parts, chapters, sections, schedules).parliament_search_hansard— USE THIS TOOL WHEN searching Hansard by topic, bill title, or text phrase.