Free open-source from LegalAI Space

We built the missing piece of legal AI — and gave it away.

openlaw-mcp is a free Model Context Protocol server that connects Claude, Cursor, ChatGPT and Codex to real UK and EU law. Case law, legislation, FCA, ICO, HMRC, EUR-Lex, ECHR — every response carries a content-hash provenance envelope so the LLM can cite back, not hallucinate.

What you get

  • 13 tools across 7 UK & EU open-law sources
  • Streamable HTTP endpoint (preferred) + local npx + Docker
  • Provenance envelope on every response (content_hash, source, licence)
  • Point-in-time UK statute lookup
  • Akoma Ntoso paragraph-precision case-law search
  • OSCOLA / Bluebook citation formatting
$ claude mcp add --transport http openlaw https://openlawmcp.legalaispace.com/v1/mcp

Why we built it

Three reasons this is free.

Provenance is our home turf

Our governance product is built on the same idea: every AI output must trace back to a citable source. openlaw-mcp open-sources the part of that stack that the whole industry needs.

Free should mean free

No API key. No gated tier. No sign-up. The hosted endpoint costs us very little — it's a contribution, not a funnel.

It moves the field forward

Generic chatbots hallucinate case law and get firms sanctioned. We'd rather everyone use a grounded server (even ours) than another fabrication tank.

A look at the tools

The kinds of questions your AI can finally answer correctly.

search_caselawCase law

Full-text search of UK case law

Search The National Archives' Find Case Law (E&W courts and tribunals, 2001+). Filter by court, year, page.

fetch_judgmentCase law

Fetch a judgment as structured Akoma Ntoso

Resolves a neutral citation or TNA URI to the full judgment XML, parsed into meta, header and paragraphs.

grep_judgmentCase law

Regex inside a judgment

Fetches a judgment, runs a JavaScript regex across paragraph text, and returns matching paragraphs with eId references.

citator_liteCase law

Forward citation lookup

Find judgments on Find Case Law that cite a given neutral citation. No treatment classification.

lookup_statuteLegislation

Point-in-time statute lookup

Fetches a statute section from legislation.gov.uk, including version metadata, extent and commencement flags. Supports as_of date.

legislation_tocLegislation

Walk a statute's table of contents

Returns parts, chapters and sections for an Act or SI from legislation.gov.uk's CLML contents XML.

How this fits with the paid platform

openlaw-mcp grounds your AI. LegalAI Space governs it.

The free MCP server gives any LLM cite-back-ready access to UK and EU law. The LegalAI Space platform layers governance on top: policies, verification, audit trails, COLP-ready reporting, and agents that run AI-curated legal work end-to-end under your firm's rules. Same provenance philosophy, dialled up for regulated practice.

Quick install

Pick your client; copy a line; done.