EU law · 24 official languagesArticle-level JSON · typed citation graphMCP server · Claude, Cursor, VS CodeSDKs · Python, TypeScriptFree plan · 500 credits to start
Brussels · CET
Vol. II·Issue 04·Autumn 2026
The Developer's Gazette of European Legislation

The Lead — Issue Four

European law,
queryable.

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.

Get a free API keyRead the docsNo credit card · 500 credits to start, 150 a month after
terminal — curl200 OK · abridged
$ curl "https://lex-api.com/api/v1/documentContent" \
   -H "x-api-key: lex_••••" \
   -H "Content-Type: application/json" \
   -d '{ "celexNumber": "32016R0679" }'

{
  "success": true,
  "document": {
    "celex": "32016R0679",
    "title": "Regulation (EU) 2016/679 of the European…",
    "documentType": "Regulation",
    "dateOfDocument": "27/04/2016",
    "content": {
      "articles": [
        {
          "id": "art_17",
          "number": "Article 17",
          "title": "Right to erasure (‘right to be forgotten’)",
          "content": "1. The data subject shall have the right…"
        },
        … 98 more articles, individually addressable
      ],
      "sections": [11 chapters],
      "annexes": [],
      "tables": []
    }
  }
}
Article-level JSON · not a blob of textexamples below ↓
§ 02 — The Playground

Compose a request, without leaving the page.

Pick an endpoint to see the request and an example response, as cURL, Node or Python. Add your API key and run it from anywhere.

POST
{
  "celexNumber": "32016R0679"
}
x-api-key: •••••••••• (your key) Accept: application/json
Example response · abridged · counts illustrative
{
  "success": true,
  "document": {
    "celex": "32016R0679",
    "language": "en",
    "title": "Regulation (EU) 2016/679 … (General Data Protection Regulation) …",
    "documentType": "Regulation",
    "author": "European Parliament, Council",
    "dateOfDocument": "27/04/2016",
    "keywords": [
      "data protection",
      "privacy"
    ],
    "textAvailability": {
      "available": true
    }
  }
}
§ 03b — Also an MCP server

Drop your API key
into Claude.

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 ↗

~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "lexapi": {
      "command": "npx",
      "args": ["-y", "@lexapi/mcp"],
      "env": { "LEXAPI_API_KEY": "lex_..." }
    }
  }
}
N° 01

33 tools, one install.

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.
L
LexAPI
From the editors
§ 06 — Subscription

Pricing that scales with the docket.

See full pricing

Free
€0
500 to start, then 150 / month
  • ↳ All public endpoints
  • ↳ Citation extraction
  • ↳ Semantic search (limited)
Starter
€15 /mo
30,000 credits / month
  • ↳ Free · plus
  • ↳ 2 webhooks with watch lists
  • ↳ Top-up credit packs
  • ↳ Email support
Most chosen
Professional
€39 /mo
150,000 credits / month
  • ↳ Starter · plus
  • ↳ 10 webhooks
  • ↳ Priority support
Business
€99 /mo
500,000 credits / month
  • ↳ Pro · plus
  • ↳ Bulk NDJSON export
  • ↳ Premium support
  • ↳ Scale €349 · Enterprise €1,000+

Cheap reads are 1 credit, semantic search ~5, the citation graph ~20. Yearly billing saves 20%. Why we changed pricing →

§ 07 — Marginalia

Frequently asked.

Answers from the support inbox, edited for length.

N° 01Is LexAPI affiliated with the EU Publications Office?+

No — LexAPI is an independent project. We consume EUR-Lex's open data feeds, normalize the records, and re-host them with a developer-first interface. The source documents are © European Union, reusable under the Commission's reuse policy; our value-add is the schema, the freshness, and the latency.

N° 02How fresh is the data?+

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.

⌘ + K · Search the docs from anywhere