← Back to Plugins
MCP Server MCP

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

github By github 👁 1 views ▲ 0 votes

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

Homepage Verified source GitHub

Install

npx -y @cyanheads/[email protected]

Configuration Example

{
  "remotes": [
    {
      "type": "streamable-http",
      "url": "https://eur-lex.caseyjhand.com/mcp"
    }
  ],
  "packages": [
    {
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org",
      "identifier": "@cyanheads/eur-lex-mcp-server",
      "version": "0.9.9",
      "runtimeHint": "bun",
      "transport": {
        "type": "stdio"
      },
      "packageArguments": [
        {
          "value": "run",
          "type": "positional"
        },
        {
          "value": "start:stdio",
          "type": "positional"
        }
      ],
      "environmentVariables": [
        {
          "description": "CELLAR SPARQL endpoint URL override (e.g., for a local Virtuoso mirror).",
          "format": "string",
          "default": "http://publications.europa.eu/webapi/rdf/sparql",
          "name": "CELLAR_SPARQL_ENDPOINT"
        },
        {
          "description": "Base URL of the EU Publications Office CELLAR content-negotiation resolver that serves act full text; override e.g. for a local mirror.",
          "format": "string",
          "default": "http://publications.europa.eu",
          "name": "EURLEX_CONTENT_BASE_URL"
        },
        {
          "description": "Client-side timeout for SPARQL requests in milliseconds.",
          "format": "string",
          "default": "55000",
          "name": "SPARQL_QUERY_TIMEOUT_MS"
        },
        {
          "description": "Enforced ceiling on LIMIT in all generated SPARQL queries.",
          "format": "string",
          "default": "100",
          "name": "MAX_SPARQL_RESULTS"
        },
        {
          "description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').",
          "format": "string",
          "default": "info",
          "name": "MCP_LOG_LEVEL"
        }
      ]
    },
    {
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org",
      "identifier": "@cyanheads/eur-lex-mcp-server",
      "version": "0.9.9",
      "runtimeHint": "bun",
      "transport": {
        "type": "streamable-http",
        "url": "http://localhost:3010/mcp"
      },
      "packageArguments": [
        {
          "value": "run",
          "type": "positional"
        },
        {
          "value": "start:http",
          "type": "positional"
        }
      ],
      "environmentVariables": [
        {
          "description": "The hostname for the HTTP server.",
          "format": "string",
          "default": "127.0.0.1",
          "name": "MCP_HTTP_HOST"
        },
        {
          "description": "The port to run the HTTP server on.",
          "format": "string",
          "default": "3010",
          "name": "MCP_HTTP_PORT"
        },
        {
          "description": "The endpoint path for the MCP server.",
          "format": "string",
          "default": "/mcp",
          "name": "MCP_HTTP_ENDPOINT_PATH"
        },
        {
          "description": "Public origin for deployments behind a TLS-terminating reverse proxy (e.g. https://mcp.example.com).",
          "format": "string",
          "name": "MCP_PUBLIC_URL"
        },
        {
          "description": "Authentication mode to use: 'none', 'jwt', or 'oauth'.",
          "format": "string",
          "default": "none",
          "name": "MCP_AUTH_MODE"
        },
        {
          "description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').",
          "format": "string",
          "default": "info",
          "name": "MCP_LOG_LEVEL"
        },
        {
          "description": "CELLAR SPARQL endpoint URL override (e.g., for a local Virtuoso mirror).",
          "format": "string",
          "default": "http://publications.europa.eu/webapi/rdf/sparql",
          "name": "CELLAR_SPARQL_ENDPOINT"
        },
        {
          "description": "Base URL of the EU Publications Office CELLAR content-negotiation resolver that serves act full text; override e.g. for a local mirror.",
          "format": "string",
          "default": "http://publications.europa.eu",
          "name": "EURLEX_CONTENT_BASE_URL"
        },
        {
          "description": "Client-side timeout for SPARQL requests in milliseconds.",
          "format": "string",
          "default": "55000",
          "name": "SPARQL_QUERY_TIMEOUT_MS"
        },
        {
          "description": "Enforced ceiling on LIMIT in all generated SPARQL queries.",
          "format": "string",
          "default": "100",
          "name": "MAX_SPARQL_RESULTS"
        }
      ]
    }
  ]
}
mcp model-context-protocol streamable-http npm

Comments

Sign in to leave a comment

Loading comments...