io.github.cyanheads

eur-lex-mcp-server

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

communityknowledge

Package Details

Transportstdio
Runtimebun

Package Arguments

Positional
Position 0
run
Position 1
start:stdio

Environment Variables

CELLAR_SPARQL_ENDPOINT(str)
Default:http://publications.europa.eu/webapi/rdf/sparql

CELLAR SPARQL endpoint URL override (e.g., for a local Virtuoso mirror).

EURLEX_CONTENT_BASE_URL(str)
Default:https://eur-lex.europa.eu

EUR-Lex content API base URL override.

SPARQL_QUERY_TIMEOUT_MS(str)
Default:55000

Client-side timeout for SPARQL requests in milliseconds.

MAX_SPARQL_RESULTS(str)
Default:100

Enforced ceiling on LIMIT in all generated SPARQL queries.

MCP_LOG_LEVEL(str)
Default:info

Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

TransportStreamable HTTP
Runtimebun

Package Arguments

Positional
Position 0
run
Position 1
start:http

Environment Variables

MCP_HTTP_HOST(str)
Default:127.0.0.1

The hostname for the HTTP server.

MCP_HTTP_PORT(str)
Default:3010

The port to run the HTTP server on.

MCP_HTTP_ENDPOINT_PATH(str)
Default:/mcp

The endpoint path for the MCP server.

MCP_PUBLIC_URL(str)

Public origin for deployments behind a TLS-terminating reverse proxy (e.g. https://mcp.example.com).

MCP_AUTH_MODE(str)
Default:none

Authentication mode to use: 'none', 'jwt', or 'oauth'.

MCP_LOG_LEVEL(str)
Default:info

Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

CELLAR_SPARQL_ENDPOINT(str)
Default:http://publications.europa.eu/webapi/rdf/sparql

CELLAR SPARQL endpoint URL override (e.g., for a local Virtuoso mirror).

EURLEX_CONTENT_BASE_URL(str)
Default:https://eur-lex.europa.eu

EUR-Lex content API base URL override.

SPARQL_QUERY_TIMEOUT_MS(str)
Default:55000

Client-side timeout for SPARQL requests in milliseconds.

MAX_SPARQL_RESULTS(str)
Default:100

Enforced ceiling on LIMIT in all generated SPARQL queries.