Search UK court judgments on BAILII — runs locally because BAILII blocks cloud IPs.
BAILII UK Case Law gives AI agents direct access to the British and Irish Legal Information Institute (BAILII) — the largest free archive of UK court judgments. Search across UK Supreme Court, Court of Appeal, High Court, and specialist tribunals. Extract judgment text by section for clean, focused reading. Runs locally via `uvx` because BAILII blocks cloud IP ranges, so hosted MCP servers can't reach it. No API key required.
Valid MCP server (0 strong, 4 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (12/12 approved).
4 files analyzed · 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-paulieb89-bailii-mcp": {
"args": [
"bailii-mcp"
],
"command": "uvx"
}
}
}Once installed, try these example prompts and explore these capabilities:
From the project's GitHub README.
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:
uvx bailii-mcp
pip install bailii-mcp
bailii-mcp
Requires Python 3.10+.
Add to your claude_desktop_config.json:
{
"mcpServers": {
"bailii": {
"command": "uvx",
"args": ["bailii-mcp"]
}
}
}
claude mcp add bailii -- uvx bailii-mcp
Add to .vscode/settings.json or use the MCP panel:
{
"mcp": {
"servers": {
"bailii": {
"command": "uvx",
"args": ["bailii-mcp"]
}
}
}
}
If you installed via pip install bailii-mcp, use "command": "bailii-mcp" and "args": [] instead.
git clone https://github.com/paulieb89/bailii-mcp.git
cd bailii-mcp
pip install -e .
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.
Be the first to review this server!
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
by mcp-marketplace · Developer Tools
Scaffold, build, and publish TypeScript MCP servers to npm — conversationally
by mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.
by Taylorwilsdon · Productivity
Control Gmail, Calendar, Docs, Sheets, Drive, and more from your AI