Search UK case law on BAILII — court judgments with section extraction. Runs locally.
MCPpedia last refreshed this data
io.github.paulieb89/bailii-mcp is an MCP server that search UK case law on BAILII — court judgments with section extraction. Runs locally. Its tool list has not been published yet over stdio and http, requires no API key, and scores 75/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"bailii": {
"args": [
"bailii-mcp"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Search UK case law on BAILII — court judgments with section extraction. Runs locally.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked bailii-mcp against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in legal
Korean law: statutes, precedents, ordinances, treaties and citation verification (법제처 API).
Supplier lien and notice deadlines by project scope. Public lien guides for all 50 states and DC.
Missouri Revised Statutes — state statutes by citation.
Nevada Revised Statutes — state statutes by citation.
MCP Security Weekly
Get CVE alerts and security updates for io.github.paulieb89/bailii-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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.