PluginBench
MCP Server
Active
Apache-2.0

io.github.cyanheads/eur-lex-mcp-server MCP Server

io.github.cyanheads/eur-lex-mcp-server

What is the io.github.cyanheads/eur-lex-mcp-server MCP server?

Search EU legislation, CJEU case law, and treaties; traverse CELLAR graph; browse EuroVoc concepts.

How to install io.github.cyanheads/eur-lex-mcp-server

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • 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_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'.

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "eur-lex-mcp-server": {
      "command": "bun",
      "args": [
        "-y",
        "@cyanheads/eur-lex-mcp-server",
        "run",
        "start:stdio"
      ],
      "env": {
        "CELLAR_SPARQL_ENDPOINT": "<YOUR_CELLAR_SPARQL_ENDPOINT>",
        "EURLEX_CONTENT_BASE_URL": "<YOUR_EURLEX_CONTENT_BASE_URL>",
        "SPARQL_QUERY_TIMEOUT_MS": "<YOUR_SPARQL_QUERY_TIMEOUT_MS>",
        "MAX_SPARQL_RESULTS": "<YOUR_MAX_SPARQL_RESULTS>",
        "MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
        "MCP_HTTP_HOST": "<YOUR_MCP_HTTP_HOST>",
        "MCP_HTTP_PORT": "<YOUR_MCP_HTTP_PORT>",
        "MCP_HTTP_ENDPOINT_PATH": "<YOUR_MCP_HTTP_ENDPOINT_PATH>",
        "MCP_PUBLIC_URL": "<YOUR_MCP_PUBLIC_URL>",
        "MCP_AUTH_MODE": "<YOUR_MCP_AUTH_MODE>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "eur-lex-mcp-server": {
      "command": "bun",
      "args": [
        "-y",
        "@cyanheads/eur-lex-mcp-server",
        "run",
        "start:stdio"
      ],
      "env": {
        "CELLAR_SPARQL_ENDPOINT": "<YOUR_CELLAR_SPARQL_ENDPOINT>",
        "EURLEX_CONTENT_BASE_URL": "<YOUR_EURLEX_CONTENT_BASE_URL>",
        "SPARQL_QUERY_TIMEOUT_MS": "<YOUR_SPARQL_QUERY_TIMEOUT_MS>",
        "MAX_SPARQL_RESULTS": "<YOUR_MAX_SPARQL_RESULTS>",
        "MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
        "MCP_HTTP_HOST": "<YOUR_MCP_HTTP_HOST>",
        "MCP_HTTP_PORT": "<YOUR_MCP_HTTP_PORT>",
        "MCP_HTTP_ENDPOINT_PATH": "<YOUR_MCP_HTTP_ENDPOINT_PATH>",
        "MCP_PUBLIC_URL": "<YOUR_MCP_PUBLIC_URL>",
        "MCP_AUTH_MODE": "<YOUR_MCP_AUTH_MODE>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "eur-lex-mcp-server": {
      "command": "bun",
      "args": [
        "-y",
        "@cyanheads/eur-lex-mcp-server",
        "run",
        "start:stdio"
      ],
      "env": {
        "CELLAR_SPARQL_ENDPOINT": "<YOUR_CELLAR_SPARQL_ENDPOINT>",
        "EURLEX_CONTENT_BASE_URL": "<YOUR_EURLEX_CONTENT_BASE_URL>",
        "SPARQL_QUERY_TIMEOUT_MS": "<YOUR_SPARQL_QUERY_TIMEOUT_MS>",
        "MAX_SPARQL_RESULTS": "<YOUR_MAX_SPARQL_RESULTS>",
        "MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
        "MCP_HTTP_HOST": "<YOUR_MCP_HTTP_HOST>",
        "MCP_HTTP_PORT": "<YOUR_MCP_HTTP_PORT>",
        "MCP_HTTP_ENDPOINT_PATH": "<YOUR_MCP_HTTP_ENDPOINT_PATH>",
        "MCP_PUBLIC_URL": "<YOUR_MCP_PUBLIC_URL>",
        "MCP_AUTH_MODE": "<YOUR_MCP_AUTH_MODE>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "eur-lex-mcp-server": {
      "type": "stdio",
      "command": "bun",
      "args": [
        "-y",
        "@cyanheads/eur-lex-mcp-server",
        "run",
        "start:stdio"
      ],
      "env": {
        "CELLAR_SPARQL_ENDPOINT": "<YOUR_CELLAR_SPARQL_ENDPOINT>",
        "EURLEX_CONTENT_BASE_URL": "<YOUR_EURLEX_CONTENT_BASE_URL>",
        "SPARQL_QUERY_TIMEOUT_MS": "<YOUR_SPARQL_QUERY_TIMEOUT_MS>",
        "MAX_SPARQL_RESULTS": "<YOUR_MAX_SPARQL_RESULTS>",
        "MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
        "MCP_HTTP_HOST": "<YOUR_MCP_HTTP_HOST>",
        "MCP_HTTP_PORT": "<YOUR_MCP_HTTP_PORT>",
        "MCP_HTTP_ENDPOINT_PATH": "<YOUR_MCP_HTTP_ENDPOINT_PATH>",
        "MCP_PUBLIC_URL": "<YOUR_MCP_PUBLIC_URL>",
        "MCP_AUTH_MODE": "<YOUR_MCP_AUTH_MODE>"
      }
    }
  }
}
Claude Code
claude mcp add eur-lex-mcp-server --env CELLAR_SPARQL_ENDPOINT=<YOUR_CELLAR_SPARQL_ENDPOINT> --env EURLEX_CONTENT_BASE_URL=<YOUR_EURLEX_CONTENT_BASE_URL> --env SPARQL_QUERY_TIMEOUT_MS=<YOUR_SPARQL_QUERY_TIMEOUT_MS> --env MAX_SPARQL_RESULTS=<YOUR_MAX_SPARQL_RESULTS> --env MCP_LOG_LEVEL=<YOUR_MCP_LOG_LEVEL> --env MCP_HTTP_HOST=<YOUR_MCP_HTTP_HOST> --env MCP_HTTP_PORT=<YOUR_MCP_HTTP_PORT> --env MCP_HTTP_ENDPOINT_PATH=<YOUR_MCP_HTTP_ENDPOINT_PATH> --env MCP_PUBLIC_URL=<YOUR_MCP_PUBLIC_URL> --env MCP_AUTH_MODE=<YOUR_MCP_AUTH_MODE> -- bun -y @cyanheads/eur-lex-mcp-server run start:stdio

Related MCP servers

Read, write, search, and surgically edit Obsidian vault notes, tags, and frontmatter via MCP.

611
TypeScript
Apache-2.0
View repository →

Comprehensive Git MCP server with 28 tools for clone, commit, branching, merging, and advanced workflows.

226
TypeScript
Apache-2.0
View repository →

Agent-native TypeScript framework for building MCP servers with declarative definitions.

145
TypeScript
Apache-2.0
View repository →

TypeScript template for building MCP servers with declarative tooling, observability, and auth.

145
TypeScript
Apache-2.0
View repository →

Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms.

116
TypeScript
Apache-2.0
View repository →

Search ClinicalTrials.gov — find studies, retrieve results, match patients to eligible trials.

81
TypeScript
Apache-2.0
View repository →