The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the BAILII UK Case Law listing page.
Search UK case law on BAILII. Retrieve judgments with automatic section extraction (summary, conclusions, discussion, background). Runs locally — BAILII blocks cloud IPs.
No install needed — uvx runs it directly from PyPI:
Requires Python 3.10+.
Add to your claude_desktop_config.json:
Add to .vscode/settings.json or use the MCP panel:
If you installed via pip install bailii-mcp, use "command": "bailii-mcp" and "args": [] instead.
Once connected, just ask Claude naturally:
| Tool | What it does |
|---|---|
bailii_search | Full-text search across all BAILII courts. Returns titles, citations, and links. |
bailii_get_judgment | Retrieve judgment text. Defaults to summary + conclusions (~5000 chars). |
bailii_list_courts | List available UK courts (UKSC, EWCA, EWHC, UKUT, EAT, etc). |
Judgments are large (30-100KB). By default, only the summary and conclusions are returned. Ask for more if you need it:
Sections detected: summary, conclusions, held, discussion, background
BAILII blocks requests from cloud servers and datacenters. This server runs on your machine, so requests go through your residential IP.
For case law that doesn't need BAILII specifically, uk-legal-mcp provides case law via the National Archives API — hosted on Fly.io, no local setup needed.
This BAILII server is useful when you need:
Apache 2.0
Paul Boucherat — building MCP servers for UK property, legal, and project controls.