Eur Lex MCP Server
by cyanheadsio.github.cyanheads/eur-lex-mcp-serverv0.18.2
Search EU legislation, CJEU case law, and treaties; traverse CELLAR graph; browse EuroVoc concepts.
context tax
queued
security
queued
cold start
queued
freshness
Active2d ago
Install Eur Lex MCP server
Install in Claude Code
claude mcp add eur-lex -- npx -y @cyanheads/eur-lex-mcp-serverInstall in Cursor
{
"mcpServers": {
"eur-lex": {
"command": "npx",
"args": [
"-y",
"@cyanheads/eur-lex-mcp-server"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"eur-lex": {
"command": "npx",
"args": [
"-y",
"@cyanheads/eur-lex-mcp-server"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"eur-lex": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/eur-lex-mcp-server"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"eur-lex": {
"command": "npx",
"args": [
"-y",
"@cyanheads/eur-lex-mcp-server"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| CELLAR_SPARQL_ENDPOINT | — | — | CELLAR SPARQL endpoint URL override (e.g., for a local Virtuoso mirror). |
| EURLEX_CONTENT_BASE_URL | — | — | Base URL of the EU Publications Office CELLAR content-negotiation resolver that serves act full text; override e.g. for a local mirror. |
| SPARQL_QUERY_TIMEOUT_MS | — | — | Client-side timeout for SPARQL requests in milliseconds. |
| MAX_SPARQL_RESULTS | — | — | Enforced ceiling on LIMIT in all generated SPARQL queries. |
| MCP_LOG_LEVEL | — | — | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
| MCP_TRANSPORT_TYPE | — | — | Selects the HTTP transport. |
| MCP_HTTP_HOST | — | — | The hostname for the HTTP server. |
| MCP_HTTP_PORT | — | — | The port to run the HTTP server on. |
| MCP_HTTP_ENDPOINT_PATH | — | — | The endpoint path for the MCP server. |
| MCP_PUBLIC_URL | — | — | Public origin for deployments behind a TLS-terminating reverse proxy (e.g. https://mcp.example.com). |
| MCP_AUTH_MODE | — | — | Authentication mode to use: 'none', 'jwt', or 'oauth'. |
Remote endpoints
- streamable-http
https://eur-lex.caseyjhand.com/mcp
Freshness
Active — last maintenance signal 2d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-07 · 2d ago · GitHub
Latest release
2026-10-07 · 2d ago · GitHub · v0.18.2
Package published
no data · npm/PyPI
Registry entry updated
2026-10-07 · 2d ago · official registry · v0.18.2
FAQ
›How do I install the Eur Lex MCP server in Claude Code?
Run: claude mcp add eur-lex -- npx -y @cyanheads/eur-lex-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Eur Lex require an API key?
No required environment variables are declared in its published metadata.
›Can I use Eur Lex as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is Eur Lex in the official MCP registry?
Yes, as io.github.cyanheads/eur-lex-mcp-server.