{"name":"EUR-Lex FMX API","version":"2.0.0","endpoints":{"GET /":"This documentation","GET /health":"Health check","GET /api/laws":"List cached FMX files","GET /api/laws/:celex?lang=ENG":"Get raw FMX XML by CELEX (fetches & caches)","GET /api/laws/:celex/parsed?lang=ENG":"Get parsed law as structured JSON (articles, recitals, definitions, annexes, cross-references)","GET /api/laws/:celex/info":"Get metadata only (formexAvailable: false when the act has no Formex; 404 only for an unknown CELEX)","GET /api/laws/:celex/procedure":"Resolve the official EUR-Lex legislative procedure overview","GET /api/laws/by-reference?actType=directive&year=2018&number=1972&lang=ENG":"Resolve an official reference and fetch the matching FMX","GET /api/laws/:celex/case-law":"List CJEU judgments that interpret this law","GET /api/laws/:celex/cited-by?citingLaws=10":"Get reverse-citation counts and top citing laws for an act","GET /api/laws/:celex/articles/:n/cited-by?limit=50&offset=0":"List provisions and judgments citing an article","GET /api/laws/:celex/recital-titles?lang=ENG":"Get cached AI-generated short titles for recitals","GET /api/laws/:celex/summary":"Get cached static summary of what this law does (English only)","GET /api/laws/:celex/case-law-digest?lang=ENG":"Get cached static digest of CJEU case law interpreting this law as a whole","GET /api/laws/:celex/articles/:n/case-law-digest?lang=ENG":"Get cached static digest of CJEU case law interpreting one article","GET /api/search?q=keyword&limit=10":"Search cached primary-law metadata","GET /api/fulltext-search?q=keyword&celex=32016R0679&limit=10":"Search body text of cached law units (articles and recitals)","POST /api/fulltext-search":"Search body text within a supplied CELEX collection","GET /api/definitions/search?q=term&limit=10":"Search definitions extracted from EU laws","GET /api/definitions/compare?term=energy%20poverty":"Compare how EU laws define a term","GET /api/resolve-reference?actType=directive&year=2018&number=1972&lang=ENG":"Resolve an FMX-derived legal reference to CELEX via cache-first lookup with Cellar fallback","GET /api/resolve-url?url=https://eur-lex.europa.eu/...&lang=ENG":"Resolve a full EUR-Lex URL to a canonical CELEX","POST /mcp":"Model Context Protocol endpoint (stateless Streamable HTTP). Tools include search_eu_law, search_law_text, resolve, get_law_part, get_citing_provisions, get_case_law, and get_law_relations. Use search_law_text for words found inside law provisions. Add to an AI client, e.g. `claude mcp add --transport http eurlex <base-url>/mcp`"},"celexExamples":{"32016R0679":"GDPR","32024R1689":"AI Act","32022R1925":"DMA","32022R2065":"DSA","32022R0868":"DGA","32023R2854":"Data Act"}}