UK Case Law 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., "@UK Case Law MCP ServerSearch for patent obviousness cases in the High Court"
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.
UK Case Law MCP Server
A Model Context Protocol (MCP) server that provides Claude with tools to search and retrieve UK case law from The National Archives.
Features
Search UK Case Law: Query across all courts and tribunals (2003+)
Retrieve Full Judgments: Get complete case text with numbered paragraphs
Filter by Court/Legal Area: Focus on specific jurisdictions or practice areas
Pagination Support: Access results beyond the first page
Rate Limited: Respects TNA API limits (1,000 requests per 5 minutes)
Related MCP server: UK Legal Research MCP Server
Tools
uklaw_search
Search UK case law with optional filters:
query- Search terms (legal concepts, party names, keywords)legal_area- Filter by area (IP, commercial, employment, etc.)court- Filter by court level (Supreme Court, Court of Appeal, etc.)year_from/year_to- Date range filteringlimit- Max results (1-50)page- Pagination
uklaw_get_case
Retrieve full case text:
citation- Neutral citation (e.g.,[2024] UKSC 1) or document URIparagraphs- Optional range (e.g.,1-50)include_metadata- Include judges, court, date
Supported Courts
Court Level | Examples |
Supreme Court | UKSC |
Court of Appeal | EWCA Civ, EWCA Crim |
High Court | EWHC (Ch, QB/KB, Admin, Comm, Patents, IPEC, TCC, Fam) |
Tribunals | EAT, UKUT (IAC, LC, AAC) |
Installation
Prerequisites
Bun runtime
Setup
# Clone the repository
git clone https://github.com/georgejeffers/uk-case-law-mcp-server.git
cd uk-case-law-mcp-server
# Install dependencies
bun install
# Run tests
bun test
# Start the server
bun startClaude Desktop Configuration
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"uk-case-law": {
"command": "bun",
"args": ["run", "/path/to/uk-case-law-mcp/src/server.ts"]
}
}
}Usage Examples
Once configured, you can ask Claude questions like:
"Search for patent obviousness cases in the High Court"
"Find recent unfair dismissal tribunal decisions"
"Get the full text of [2024] UKSC 1"
"What did the Court of Appeal say about breach of fiduciary duty in 2023?"
API
This server uses the TNA Find Case Law API, which:
Covers judgments from 2003 onwards
Requires no authentication
Returns results in Atom/XML format
Provides full text in LegalDocML (Akoma Ntoso) format
License
This project is licensed under the PolyForm Noncommercial License 1.0.0.
You may use this software for personal, educational, and non-commercial purposes only. Commercial use requires a separate license.
Contributing
Contributions are welcome for non-commercial purposes. Please open an issue or PR.
Acknowledgments
The National Archives for the Find Case Law API
Model Context Protocol by Anthropic
This server cannot be deployed
Maintenance
Related MCP Connectors
Search UK court judgments and tribunal decisions from the National Archives
UK case law — Find Case Law, The National Archives.
Search UK Acts, Statutory Instruments, and legislation with full text retrieval
Search U.S. case law, fetch opinions, and ask matter-aware legal questions over your documents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables legal research across 3,352 U.S. courts using the CourtListener API, providing access to case search, precedent analysis, judge patterns, citation validation, and federal PACER dockets through natural language queries.12 npm3MIT
- AlicenseAqualityBmaintenanceProvides comprehensive tools for searching UK case law, legislation, parliamentary Hansard debates, and HMRC tax guidance. It features a specialized OSCOLA citation parser to extract and resolve legal references directly from text.35269 PyPI16MIT
- AlicenseAqualityCmaintenanceEnables searching UK case law on BAILII and retrieving judgments with automatic section extraction (summary, conclusions, etc.). Runs locally to avoid BAILII's cloud IP blocks.35Apache 2.0
- AlicenseAqualityAmaintenanceEnables searching and retrieval of UK legislation (Acts, Statutory Instruments) from legislation.gov.uk with persistent identifiers and verifiable citations.9Apache 2.0