Skip to content
Claude Code

LexAPI for Claude Code

io.github.lex-api/lexapi-mcp

Search EUR-Lex, fetch parsed EU legislation and case law, explore the citation graph.

client:Claude Code transport:stdio runtime:npm

Install LexAPI in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add lexapi-mcp -e LEXAPI_API_KEY=<LEXAPI_API_KEY> -e LEXAPI_BASE_URL=<LEXAPI_BASE_URL> -- npx -y @lexapi/mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

LexAPI in other clients