EU law · 24 official languagesArticle-level JSON · typed citation graphMCP server · Claude, Cursor, VS CodeSDKs · Python, TypeScriptFree plan · 500 credits to startEU law · 24 official languagesArticle-level JSON · typed citation graphMCP server · Claude, Cursor, VS CodeSDKs · Python, TypeScriptFree plan · 500 credits to start
A REST gateway to EUR-Lex. Case law, regulations, treaties, and procedural acts — parsed into article-level JSON with a typed citation graph, version history, and provenance on every row. Any stack that speaks HTTP.
Published as @lexapi/mcp on npm, and hosted at mcp.lex-api.com.
The LexAPI MCP server turns every endpoint you've just been clicking through into a native tool an AI model can call. Search EUR-Lex, fetch a document by CELEX, traverse the citation graph — straight from the chat window, with the same API key, on the same credit pool.
New: LexAPI is listed in Claude's Connectors Directory. On claude.ai, open Customize → Connectors, find LexAPI and connect it with your LexAPI account — no key to paste. Open the listing ↗
Search, semantic search, documents, the citation graph, webhooks and your account, with typed arguments. Read-only mode trims it to 28.
N° 02
Same key, same pool.
Your existing LexAPI account works. MCP calls use the same monthly credit pool as your REST calls.
N° 03
A bridge, not an agent.
The MCP forwards individual calls; Claude orchestrates.
§ 03 — Field Notes
What teams build on top of LexAPI.
Three patterns the API is built for.
N° 01Compliance
A regulatory radar that scans before counsel does.
Put the acts you answer for on a webhook watch list and their amendments, corrigenda, repeals and new consolidated versions are pushed to your endpoint, signed. Add search criteria to hear about new documents in your area. Wire it to Slack; counsel reads the change the morning it lands.
WebhooksWatch listsSigned deliveries
N° 02Legal-tech
Search that understands cross-references.
Give your product research that follows the references: every document's citations in both directions, typed (amendment, repeal, legal basis…), plus paths and related acts across the graph. We do the graph-walking; you ship the UI.
Citation graph/searchMultilingual
N° 03Research
Bulk corpora for research and internal archives.
On Business and up, pull whole slices of the corpus through the bulk export endpoint: streaming NDJSON, filtered by type, author and date, re-pulled incrementally with changedSince. Training models on it needs a separate licence (Terms §6).
Bulk exportNDJSONIncremental sync
§ 04 — By the Numbers
Indexed daily. Five decades of legislative output.
60K+
Documents indexed
24
Official languages
650K+
Citation graph edges
1959 → today
Date range covered
§ 05 — Op-Ed
The law is already public. Its structure isn't — articles, versions and citations sit in pages written for people. Turning them into data is our job, so it isn't yours.
An hourly sync picks up new and changed documents from EUR-Lex, and webhook subscriptions are checked on the same hourly cycle. A document we don't hold yet is fetched live from the Publications Office when you request it.
N° 03Which formats can I get a document in?+
Structured JSON: the metadata, the full text as plain text, and the document split into sections, articles, paragraphs, recitals, tables and annexes — articles, paragraphs and recitals are individually addressable. Each document links to its official HTML, PDF and XML on EUR-Lex; we don't re-host those files. Bulk export (Business tier and up) streams NDJSON.
N° 04Where do you host the service?+
Our primary infrastructure is in the EU. Stripe, SendGrid, Cloudflare and Sentry (error diagnostics) may process some data outside the EEA under approved transfer safeguards, and semantic search sends query text to an AI model provider in the EU, Scaleway — the privacy notice has the details.
N° 05Can I use LexAPI to train models?+
Not under a standard plan. The underlying legal texts are always available from the EU's public sources, but content obtained through LexAPI — including our parsed structure — can't be used to train, fine-tune or evaluate AI models without a separate written licence (Terms §6). Bulk NDJSON export (Business tier and up) is for building products on the API, not for assembling training corpora. If training data is what you need, talk to us — that's what Enterprise agreements are for.
N° 06What is semantic search?+
An AI-powered search using embeddings. Find relevant case law and legislation by meaning, not just keywords. Available on every current plan, Free included: 5 credits a search from your monthly pool (15 for case law with HyDE query expansion).
⁂ ⁂ ⁂
Stop scraping the Official Journal.
A single API key, twenty-four official languages, fifty years of legislative record. Free for your first 500 credits, then 150 every month.