The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Eu Cellar listing page.
Every document the Publications Office of the European Union has issued — Official Journal acts, treaties, consolidated texts, COM proposals and Court of Justice judgments — searchable by title and readable by CELEX number, from the CELLAR semantic repository's public SPARQL endpoint.
Part of Pipeworx — an MCP gateway connecting AI agents to 1683+ live data sources.
cellar_search_works(query, resource_type?, since?, until?, limit?) — full-text
title search across every EU resource type; returns CELEX, date, resource type
and a direct EUR-Lex link.cellar_work(celex? | cellar_id?) — one document's catalogue entry: every
English title, document date, in-force flag, resource types, EuroVoc subject
concepts with English labels, authoring bodies.cellar_sparql(query, limit?) — your own SELECT or ASK against the repository.
Writes are refused; results are capped.Keyless. No registration, no key, no published quota.
eur-lex packBoth talk to publications.europa.eu and they are not duplicates. eur-lex is a
curated legal-compliance surface: a hand-kept index of ~14 named acts (GDPR, AI
Act, DORA…), article-level text extraction and CJEU judgment lookup, with its
SPARQL use hard-wired to legislation. This pack is the repository itself —
all resource types, plus an arbitrary SELECT-only query tool.
Use eur-lex for "what does GDPR Article 17 say". Use this for "what has the EU
published about X" and for graph questions nobody wrote a tool for.
cdm:) graph.bif:contains, not FILTER(CONTAINS(...)). The endpoint
is Virtuoso; a CONTAINS filter over ?title scans every expression in the
repository and times out. The full-text form is
?title bif:contains "'phrase'" — note the INNER single quotes, which
Virtuoso requires for a multi-word phrase.?w cdm:resource_legal_id_celex "32024R1689"
matches nothing; it needs ^^xsd:string. This is a clean HTTP 200 with zero
rows, not an error.lang(?title) = "en" silently drops a large share of the repository. Filter
on the expression's language URI instead — that is the modelled fact.cellar_work collapses them; hand-written SPARQL will not.format= is a query parameter. The Accept header alone is honoured
inconsistently and you can get RDF/XML where you asked for JSON.Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
tools/list at https://gateway.pipeworx.io/eu-cellar/mcp returns the tools in the table
above plus the shared Pipeworx meta-tools — ask_pipeworx,
discover_tools, search_within, remember/recall and the rest of the
gateway-wide set. So the tool count you see is larger than this table: a
single-pack endpoint currently lists roughly 30 shared tools alongside the
pack's own. The connection's initialize response states its exact scope, and
is the authoritative answer for a given day.
This is deliberate, not multiplexing by accident. The meta-tools are what let a
scoped connection answer a question this pack does not cover — via
ask_pipeworx, which routes across the whole catalog — without you adding a
second MCP server. There is currently no way to mount a pack endpoint without
them; if the extra schemas cost you more context than the routing is worth,
connect to the full gateway once rather than to several pack endpoints.
Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:
Both URLs reach the same gateway and the same 1683+ data sources. The
only difference is which pack's tools are listed directly; ask_pipeworx
reaches all of them from either one.
No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/cellar_search_works. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.
This package also runs as a local stdio MCP server — no Pipeworx account, no gateway round-trip:
Or run it directly to confirm it starts:
It speaks MCP over stdin/stdout and answers initialize/tools/list/tools/call
for only this pack's tools — none of the shared meta-tools the gateway
connection above adds. Same source, same tools, no ask_pipeworx routing.
Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:
The gateway picks the right tool and fills the arguments automatically.
MIT