United Kingdom Legal Research MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@United Kingdom Legal Research MCP Server verify the citation [2024] UKSC 12 against the official registry"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
United Kingdom Legal Research MCP Server (uk-legal-mcp)
English Documentation
Model Context Protocol (MCP) server providing live, read-only access to United Kingdom (UK) legislation, official gazettes, multi-tier judicial decisions (First Instance, Regional/Cantonal/Appellate, and Supreme/Constitutional courts, including HTML and PDF full-text extraction), and statutory citation verification across all major AI clients (ChatGPT Desktop, OpenAI Codex CLI, Claude Desktop, Claude Code CLI, Cursor, Windsurf, VS Code / GitHub Copilot / Cline / Roo Code, Google Antigravity / Gemini CLI, Perplexity, and Continue.dev).
Interactive Desktop Setup (Select Your AI Assistant)
This package includes a graphical installer for legal practitioners and non-technical users that lets you select which AI application(s) you use:
Download: Click
<> Codeat the top right of this repository, selectDownload ZIP, and extract the folder to your computer.Run the Setup Utility:
Windows: Double-click
Click_Here_To_Install_Windows.batmacOS: Double-click
Click_Here_To_Install_Mac.command
Select Your AI Client(s) & Connect: Check the box(es) for the AI assistant(s) installed on your computer (ChatGPT Desktop & OpenAI Codex CLI, Claude Desktop & Claude Code CLI, Cursor, Windsurf, VS Code / GitHub Copilot / Cline / Roo Code, Google Antigravity / Gemini CLI, or Perplexity / Continue.dev), click Install to Selected AI Clients, and restart your selected AI application.
System Integrity Note: The setup utility operates strictly in read-only mode with respect to your personal files and documents. It installs an isolated Python runtime inside the extracted folder and registers the server entry only in the AI client configuration files you select.
Multi-Tier Judicial Hierarchy & Live Indexed National Archives
This server performs live queries across the full judicial hierarchy and official legal archives of United Kingdom, extracting full text from both HTML pages and official court/gazette PDF judgments:
Judicial Tier | Covered Courts & Tribunals |
Tier 1 — First Instance | County Court, Crown Court, High Court of Justice (EWHC — King's Bench, Chancery, Family, Commercial, Administrative) & First-tier Tribunals (FTT) |
Tier 2 — Regional / Cantonal / Appellate | Court of Appeal of England & Wales (EWCA Civil & Criminal Divisions), Inner House of the Court of Session (Scotland), Court of Appeal in Northern Ireland & Upper Tribunals (UKUT / EAT) |
Tier 3 — Supreme & Constitutional | United Kingdom Supreme Court (UKSC) & Judicial Committee of the Privy Council (JCPC) |
Official Portals & Live Indexed Domains
National Legislation & Official Gazette: UK Legislation API (legislation.gov.uk) & i.AI Lex API (lex.lab.i.ai.gov.uk) — https://www.legislation.gov.uk
Indexed Legislation Domains:
legislation.gov.uk
Court Decisions & Jurisprudence Archives: The National Archives Find Case Law (caselaw.nationalarchives.gov.uk) & BAILII — https://caselaw.nationalarchives.gov.uk
Indexed Judicial & Open Case Law Domains:
caselaw.nationalarchives.gov.uk,judiciary.uk,bailii.org,supremecourt.uk
Available MCP Tools
Tool | Description |
| Searches enacted statutes, codes, decrees, and official gazette publications in United Kingdom. |
| Searches national jurisprudence and open judicial archives for United Kingdom. |
| Filters case law specifically by judicial instance ( |
| Returns the complete 3-tier court structure and supported regional court filters for United Kingdom. |
| Retrieves full statutory or judicial texts (both HTML and official |
| Validates statutory and case law citations against official registries. |
{
"mcpServers": {
"uk-legal-mcp": {
"command": "uvx",
"args": [
"--from",
"https://github.com/jurisatlas/uk-legal-mcp/archive/refs/heads/main.zip",
"uk-legal-mcp"
]
}
}
}Available Tools
6 toolsget_legal_document_markdownGet Legal Document MarkdownA
Retrieve full Markdown text of a legislation document or court judgment (HTML or PDF) from United Kingdom (UK) by its URL or official identifier.
Inputs: document_id_or_url (required), page. Returns: object
list_court_hierarchyList Court HierarchyA
Return the complete step-by-step multi-tier judicial hierarchy for United Kingdom (UK): Tier 1 (First Instance / Trial / Municipal / District Courts), Tier 2 (Regional / Cantonal / County / Appellate Courts), Tier 3 (Supreme / Cassation / Constitutional Courts), and all official court sub-portals.
Inputs: no named parameters. Returns: object
search_case_lawSearch Case LawB
Search United Kingdom (UK) court decisions and binding precedents via The National Archives Find Case Law (caselaw.nationalarchives.gov.uk) & Courts and Tribunals Judiciary (judiciary.uk) and open national judicial archives (Supported courts: UKSC (Supreme Court), EWCA Civ/Crim (Court of Appeal), EWHC (High Court), Crown & County Courts (judiciary.uk), UKUT / UKFTT (Tribunals)).
Inputs: query (required), court, limit. Returns: object
search_legislationSearch LegislationA
Search United Kingdom (UK) national legislation (statutes, acts, codes, regulations, official gazette) via UK Legislation API (legislation.gov.uk) & i.AI Lex API (lex.lab.i.ai.gov.uk) and live national legal archives.
Inputs: query (required), year, limit. Returns: object
search_tiered_court_decisionsSearch Tiered Court DecisionsA
Search court decisions in United Kingdom (UK) filtered by specific judicial tier or regional/cantonal/appellate court. Supports Tier 1 (first_instance), Tier 2 (appellate_regional — including Cantonal/Regional/County/Circuit courts), and Tier 3 (supreme_constitutional), or a specific sub-portal key from list_court_hierarchy.
Inputs: query (required), tier, limit, sub_court. Returns: object
verify_citationVerify CitationA
No-Hallucination Citation Verifier for United Kingdom (UK). Validates format and live existence of legal citations (e.g., '[2024] UKSC 12 or UKPGA 2018/12') against official United Kingdom and ECLI/ELI registries to prevent AI-hallucinated citations.
Inputs: citation (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Most tools are clearly distinct (legislation search, case-law search, document fetch, hierarchy listing, citation verification). However, search_case_law and search_tiered_court_decisions target the same underlying corpus, differing only by a tier filter, so an agent may not know which to pick. Descriptions also use foreign-jurisdiction boilerplate ("Cantonal", "Municipal", "official gazette") that does not map onto the UK court system, adding confusion.
All six tools use snake_case with a clear verb-first pattern (search_*, get_*, list_*, verify_*). The convention is applied uniformly, and the noun portions accurately reflect the resource being acted on.
Six tools is well within the ideal 3-15 range and each maps to a distinct research step: find legislation, find case law, fetch full text, understand the court structure, filter by tier, and verify citations. Nothing feels redundant or padded.
The surface covers the core legal research lifecycle: discovery (legislation/case law), retrieval of full text, court-structure orientation, and anti-hallucination citation verification. Minor gaps remain, such as citator/treatment lookup (whether a case is still good law) or amendment/version history for statutes, which agents would have to work around.
Maintenance
Related MCP Connectors
Search and read UK legislation at any date, resolve citations, list amendments, track changes.
Search UK Acts, Statutory Instruments, and legislation with full text retrieval
Resolve, search and verify legal citations against the official sources, with provenance.
Search and read all UK legislation (130k Acts and regulations), updated daily, with official links.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables read-only search and retrieval of Czech legislation and multi-tier court decisions, filtering by judicial instance, and verification of statutory and case-law citations against official registries.6MIT
- AlicenseAqualityBmaintenanceEnables read-only access to national legislation, multi-tier court decisions, and citation verification against official registries, including full-text retrieval in Markdown.6MIT
- AlicenseAqualityBmaintenanceEnables read-only access to Norwegian legislation and multi-tier case law, including court-hierarchy filtering, full-text retrieval as Markdown, and verification of statutory and case-law citations against official registries.6MIT
- AlicenseAqualityBmaintenanceEnables read-only search and retrieval of Slovak legislation and court decisions across first-instance, appellate, supreme, and constitutional tiers, plus verification of statutory and case-law citations against official registries.6MIT