paulieb89 avatar

BAILII UK Case Law

paulieb89/bailii-mcp

Connects Claude to BAILII's UK case law database with three tools: full-text search across all courts, judgment retrieval with automatic section extraction (summary, conclusions, discussion, background), and court listing. Returns summaries by default since full judgments run 30-100KB, but you can request specific sections or complete text. Runs locally because BAILII blocks datacenter IPs, so requests go through your residential connection. Most useful when you need Employment Appeal Tribunal decisions, older cases not in the National Archives API, or specific tribunal coverage where BAILII's indexing is stronger. Respects BAILII's terms by design, no bulk downloads, just targeted case research through natural language queries.

GitHub stars
2
tools
3
transport
STDIO
last updated
Apr 1, 2026

Tools

3 tools

Public tool metadata for what this MCP can expose to an agent.

bailii_searchFull-text search across all BAILII courts. Returns titles, citations, and links.

Full-text search across all BAILII courts. Returns titles, citations, and links.

No parameter schema in public metadata yet.

bailii_get_judgmentRetrieve judgment text. Defaults to summary + conclusions (~5000 chars).

Retrieve judgment text. Defaults to summary + conclusions (~5000 chars).

No parameter schema in public metadata yet.

bailii_list_courtsList available UK courts (UKSC, EWCA, EWHC, UKUT, EAT, etc).

List available UK courts (UKSC, EWCA, EWHC, UKUT, EAT, etc).

No parameter schema in public metadata yet.

Sponsors

Readme

BAILII MCP Server

PyPI Install in VS Code

Search UK case law on BAILII. Retrieve judgments with automatic section extraction (summary, conclusions, discussion, background). Runs locally — BAILII blocks cloud IPs.

Install

Using uv (recommended)

No install needed — uvx runs it directly from PyPI:

uvx bailii-mcp

Using pip

pip install bailii-mcp
bailii-mcp

Requires Python 3.10+.

Configuration

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "bailii": {
      "command": "uvx",
      "args": ["bailii-mcp"]
    }
  }
}

Claude Code

claude mcp add bailii -- uvx bailii-mcp

VS Code

Add to .vscode/settings.json or use the MCP panel:


View the full README on GitHub

Details

Repository
github.com/paulieb89/bailii-mcp
Website
github.com/paulieb89/bailii-mcp
Category
Search & Web Crawling
Package
bailii-mcp
Transport
STDIO
Registry
MCP registry, active

More from paulieb89

Related Search & Web Crawling MCP servers

View all
1rupinder2 avatarMcp Gatewayrupinder2/mcp-gatewayAggregates tools from multiple MCP servers with unified BM25/regex search and deferred loading.2stars
2rupinder2 avatarMcp Orchestratorrupinder2/mcp-orchestratorAggregates tools from multiple MCP servers with unified BM25/regex search and deferred loading.2stars
3sethbang avatarProton Mail (unofficial)sethbang/proton-mail-mcpUnofficial Proton Mail MCP — send, read, search & organize email over SMTP and IMAP2stars
4shck-dev avatarNotion Mcpshck-dev/notion-mcpNotion MCP server — search, export, and import pages as markdown2stars
5tm42 avatarMnemographtm42/mnemographEvent-sourced knowledge graph memory for AI coding agents with semantic search2stars
6tushariitr-19 avatarPatents Mcptushariitr-19/patents-mcpPatent search and prior art discovery via Google Patents on BigQuery2stars