Arlet

Connect EUR-Lex to Claude Code

Query EUR-Lex directly from Claude Code. 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 Claude Code

  1. 1

    In the Arlet dashboard, open Data tools, find EUR-Lex and switch it on. No API key setup is needed.

  2. 2

    In your terminal, run claude mcp add --transport http arlet https://mcp.arlet.dev/mcp/ to add Arlet as an MCP server.

  3. 3

    Start Claude Code, run /mcp, select arlet and click Authenticate.

  4. 4

    Your browser opens. Sign in with Google and click Allow on the consent screen. The connection is complete.

The connection is per user and works across every project on the same machine.

Use EUR-Lex with other AI clients