Connect EUR-Lex to Codex
Query EUR-Lex directly from Codex. Arlet links the two through one MCP connection and takes care of API keys.
Connects your AI client to EUR-Lex through the Publications Office Cellar SPARQL endpoint.
Tools:
- search_eu_legislation: find works whose English title contains the given words. Returns title, document date and a EUR-Lex link.
- get_eu_document_by_celex: look up one document by CELEX number (e.g. '32016R0679' for the GDPR).
Why this is useful: Cellar is a linked-data endpoint whose model (work / expression / manifestation, language-specific titles) is hard to query by hand. This server hides that behind two plain tools, which is exactly the differentiation noted in the backlog. Titles are read from the English expression, so non-English-only documents may not match.
How to connect EUR-Lex to Codex
- 1
In the Arlet dashboard, open Data tools, find EUR-Lex and switch it on. No API key setup is needed.
- 2
In your terminal, run codex mcp add arlet --url https://mcp.arlet.dev/mcp/ to add Arlet as an MCP server.
- 3
Codex detects OAuth support and opens your browser. Sign in with Google and click Allow on the consent screen.
- 4
Once connected, both the CLI and the IDE extension can call Arlet tools (the configuration is shared).
If the browser does not open, run codex mcp login arlet to redo the authentication.
