MCP Server Studio
Search EU legislation, CJEU case law, and treaties; traverse CELLAR graph; browse EuroVoc concepts.
Registry name: io.github.cyanheads/eur-lex-mcp-server
Add to claude_desktop_config.json:
{
"mcpServers": {
"eur-lex-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/eur-lex-mcp-server@0.21.0"
],
"env": {
"CELLAR_SPARQL_ENDPOINT": "<CELLAR_SPARQL_ENDPOINT>",
"EURLEX_CONTENT_BASE_URL": "<EURLEX_CONTENT_BASE_URL>",
"SPARQL_QUERY_TIMEOUT_MS": "<SPARQL_QUERY_TIMEOUT_MS>",
"MAX_SPARQL_RESULTS": "<MAX_SPARQL_RESULTS>",
"MCP_LOG_LEVEL": "<MCP_LOG_LEVEL>"
}
}
}
}Run in your terminal:
claude mcp add eur-lex-mcp-server -e CELLAR_SPARQL_ENDPOINT='<CELLAR_SPARQL_ENDPOINT>' -e EURLEX_CONTENT_BASE_URL='<EURLEX_CONTENT_BASE_URL>' -e SPARQL_QUERY_TIMEOUT_MS='<SPARQL_QUERY_TIMEOUT_MS>' -e MAX_SPARQL_RESULTS='<MAX_SPARQL_RESULTS>' -e MCP_LOG_LEVEL='<MCP_LOG_LEVEL>' -- npx -y @cyanheads/eur-lex-mcp-server@0.21.0Add to .cursor/mcp.json:
{
"mcpServers": {
"eur-lex-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/eur-lex-mcp-server@0.21.0"
],
"env": {
"CELLAR_SPARQL_ENDPOINT": "<CELLAR_SPARQL_ENDPOINT>",
"EURLEX_CONTENT_BASE_URL": "<EURLEX_CONTENT_BASE_URL>",
"SPARQL_QUERY_TIMEOUT_MS": "<SPARQL_QUERY_TIMEOUT_MS>",
"MAX_SPARQL_RESULTS": "<MAX_SPARQL_RESULTS>",
"MCP_LOG_LEVEL": "<MCP_LOG_LEVEL>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"eur-lex-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/eur-lex-mcp-server@0.21.0"
],
"env": {
"CELLAR_SPARQL_ENDPOINT": "<CELLAR_SPARQL_ENDPOINT>",
"EURLEX_CONTENT_BASE_URL": "<EURLEX_CONTENT_BASE_URL>",
"SPARQL_QUERY_TIMEOUT_MS": "<SPARQL_QUERY_TIMEOUT_MS>",
"MAX_SPARQL_RESULTS": "<MAX_SPARQL_RESULTS>",
"MCP_LOG_LEVEL": "<MCP_LOG_LEVEL>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"eur-lex-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/eur-lex-mcp-server@0.21.0"
],
"env": {
"CELLAR_SPARQL_ENDPOINT": "<CELLAR_SPARQL_ENDPOINT>",
"EURLEX_CONTENT_BASE_URL": "<EURLEX_CONTENT_BASE_URL>",
"SPARQL_QUERY_TIMEOUT_MS": "<SPARQL_QUERY_TIMEOUT_MS>",
"MAX_SPARQL_RESULTS": "<MAX_SPARQL_RESULTS>",
"MCP_LOG_LEVEL": "<MCP_LOG_LEVEL>"
}
}
}
}Add to claude_desktop_config.json:
{
"mcpServers": {
"eur-lex-mcp-server": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://eur-lex.caseyjhand.com/mcp"
]
}
}
}Run in your terminal:
claude mcp add --transport http eur-lex-mcp-server https://eur-lex.caseyjhand.com/mcpAdd to .cursor/mcp.json:
{
"mcpServers": {
"eur-lex-mcp-server": {
"url": "https://eur-lex.caseyjhand.com/mcp"
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"eur-lex-mcp-server": {
"type": "http",
"url": "https://eur-lex.caseyjhand.com/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"eur-lex-mcp-server": {
"serverUrl": "https://eur-lex.caseyjhand.com/mcp"
}
}
}| Name | Required | What it is |
|---|---|---|
CELLAR_SPARQL_ENDPOINT | No | CELLAR SPARQL endpoint URL override (e.g., for a local Virtuoso mirror). |
EURLEX_CONTENT_BASE_URL | No | 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 | No | Client-side timeout for SPARQL requests in milliseconds. |
MAX_SPARQL_RESULTS | No | Enforced ceiling on LIMIT in all generated SPARQL queries. |
MCP_LOG_LEVEL | No | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |