BAILII UK Case Law MCP Server

Search UK case law on BAILII. Retrieve judgments with automatic section extraction (summary, conclusions, discussion, background). Runs locally - BAILII blocks cloud IPs. Its README documents 3 tools, including bailii_search, bailii_get_judgment, bailii_list_courts.

People connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-05-01 · ★ 4 · #673 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25

NOASSERTION · Python servers · how we verify → /methodology

01 · Install BAILII UK Case Law

Claude Code

claude mcp add paulieb89-bailii-mcp -- uvx bailii-mcp

Claude Desktop / Cursor / VS Code - add to config

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

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license no standard license detected - usage rights unclear; check the repo before commercial use

pypi package bailii-mcp - check the name against the project README before installing (PyPI has no namespace ownership)

registry namespace io.github.paulieb89 is GitHub-verified and matches the repo owner

03 · What BAILII UK Case Law can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can retrieve judgment text. Defaults to summary + conclusions (~5000 chars), and list available UK courts (UKSC, EWCA, EWHC, UKUT, EAT, etc).

The 3 tools it gives your agent

Extracted from the project's README - what BAILII UK Case Law lets an agent do.

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).

Limitations (from the README)

- BAILII terms prohibit bulk downloading - use for targeted research only - Be reasonable with request rate - Section extraction depends on judgment formatting - not all judgments have clear section headers

Latest releases

v1.0.2 · 2026-04-20

Pin fastmcp==3.2.4 to resolve 3 CVEs (GHSA-vv7q-7jx5-f767, GHSA-rww4-4w9c-7733, GHSA-m8x7-r2rg-vh5g). Add glama.json (maintainer claim) and Apache-2.0 LICENSE file.

04 · Who maintains BAILII UK Case Law

BAILII UK Case Law is maintained by paulieb89. We track 5 MCP servers from paulieb89 - 5 actively maintained, 45 combined GitHub stars, oldest repo from Mar 2026. Full record: all servers from paulieb89.

  1. UK Property Data UK property data - Land Registry comps, EPC, Rightmove, rental yields, stamp duty, Companies House ★ 16
  2. UK Due Diligence UK due diligence - Companies House, Charity Commission, Land Registry, Gazette, HMRC VAT ★ 3
  3. Pine Script v6 Documentation Pine Script v6 documentation lookup, function validation, and linting for AI code generation ★ 9
  4. UK Legal Research UK legal research - case law, legislation, Hansard, bills, votes, committees, HMRC, citations ★ 13

05 · Facts

category
other - ranked #673 of 848 actively-maintained other servers as of 2026-08-25.
registry
io.github.paulieb89/bailii-mcp (active, first published 2026-04-01)
packages
pypi:bailii-mcp

06 · BAILII UK Case Law FAQ

Is BAILII UK Case Law still maintained?

Yes - as of 2026-08-25, its last commit was 2026-05-01. We re-verify nightly.

What can BAILII UK Case Law do?

With this server connected, an agent can retrieve judgment text. Defaults to summary + conclusions (~5000 chars), and list available UK courts (UKSC, EWCA, EWHC, UKUT, EAT, etc).

How do I install BAILII UK Case Law?

Run `uvx bailii-mcp`. You can also paste the ready-made client config above.

Does BAILII UK Case Law run locally?

Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to BAILII UK Case Law