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 answer links straight back to the real source, so the AI cites it instead of making it up.

What you get

  • 13 tools across 7 UK & EU open-law sources
  • Streamable HTTP endpoint (preferred) + local npx + Docker
  • Every answer links back to the real source (source, hash, 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
Grounded inBAILIIlegislation.gov.ukFCAICOHMRCEUR-LexHUDOC

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 invent case law and get firms sanctioned. We'd rather everyone — even people who never pay us — answer from real sources instead.

A look at the tools

Questions your AI can finally get right

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 AI cite-back access to UK and EU law. LegalAI Space adds the governance on top: your firm's rules applied automatically, every citation verified, a signed audit trail, COLP-ready reporting, and agents that do the legal legwork. Same idea — link every answer to the real source — built for regulated practice.

Apache-2.0 licensed, hosted free at https://openlawmcp.legalaispace.com/v1/mcp. Use the hosted endpoint, run it locally via npx, or self-host with Docker.

Quick install

Pick your client; copy a line; done.

Ground your AI in real law in under a minute.

Free, open-source, no sign-up. Copy one line into Claude, Cursor, ChatGPT or Codex and start citing back to the source.