Uk MCP Server

UK legislation via MCP — full-text search across statutes and provisions

Local serverstdioTypeScript

What is the Uk MCP server?

Uk MCP server exists for a simple reason — assistants are far more useful when they can act on Uk directly instead of describing what you should do. UK legislation via MCP — full-text search across statutes and provisions.

What you get

First request opens an OAuth signup flow (setup details: ansvar.eu/docs/quickstart). After signup, your client is bound to your account; tier (free / premium / team / company) determines fan-out, quota, and which downstream MCPs are reachable.

We build AI-accelerated compliance and legal research tools for the global market. This MCP server makes 3,241 UK statutes searchable from any AI client -- no browser tabs, no PDFs, no manual cross-referencing.

  • A lawyer validating citations in a brief or contract
  • A compliance officer checking if a statute is still in force or has been amended post-Brexit
  • A legal tech developer building tools on UK law
  • A researcher tracing legislative history from Bill to Act

Setting it up

The server ships on npm as @anthropic/mcp-inspector, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

What the assistant can call

Once Uk is connected, these are the calls the assistant has available:

  • search_legislation — FTS5 search on 512,651 provisions with BM25 ranking
  • get_provision — Retrieve specific provision by Act name and section number
  • validate_citation — Validate citation against database (zero-hallucination check)
  • build_legal_stance — Aggregate citations from statutes, case law, and preparatory works
  • format_citation — Format citations per UK conventions (full/short/pinpoint)
  • check_currency — Check if statute is in force, amended, or repealed
  • list_sources — List all available statutes with metadata and data provenance
  • about — Server info, capabilities, dataset statistics, and coverage summary
  • get_eu_basis — Get EU instruments that UK statutes derive from or align with
  • get_uk_implementations — Find UK laws implementing or derived from a specific EU act
  • search_eu_implementations — Search EU documents with UK implementation and retention counts
  • get_provision_eu_basis — Get EU law references for a specific UK provision

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Uk.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the uk mcp server does with a few real requests.

Choosing this one

This sits in the database access group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Uk's toolset — search_legislation, get_provision, validate_citation and 11 more — is a fair guide to whether it matches your workflow. It is maintained by eu.ansvar; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Uk's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
search_legislationFTS5 search on 512,651 provisions with BM25 ranking
get_provisionRetrieve specific provision by Act name and section number
validate_citationValidate citation against database (zero-hallucination check)
build_legal_stanceAggregate citations from statutes, case law, and preparatory works
format_citationFormat citations per UK conventions (full/short/pinpoint)
check_currencyCheck if statute is in force, amended, or repealed
list_sourcesList all available statutes with metadata and data provenance
aboutServer info, capabilities, dataset statistics, and coverage summary
get_eu_basisGet EU instruments that UK statutes derive from or align with
get_uk_implementationsFind UK laws implementing or derived from a specific EU act
search_eu_implementationsSearch EU documents with UK implementation and retention counts
get_provision_eu_basisGet EU law references for a specific UK provision
validate_eu_complianceCheck UK implementation or adequacy status against EU directives
ConnectFirst request opens an OAuth signup flow (setup details: [ansvar.eu/docs/quickstart](https://ansvar.eu/docs/quickstart)). After signup, your client is bound to your account; tier (free / premium / team / company) determi

How to install the Uk MCP server

{
  "mcpServers": {
    "uk-law": {
      "command": "npx",
      "args": ["-y", "@anthropic/mcp-inspector"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Uk to search legislation.
  • Use Uk to get provision.
  • Use Uk to validate citation.

Frequently asked questions

It connects Uk to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (search_legislation, get_provision, validate_citation, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Uk directly.