MCP directory
EM

Eurostat Mcp Server

by github.com/cyanheads · v0.11.4 · updated Nov 15, 2026

Search and query the Eurostat catalogue — EU economy, demography, trade, and NUTS regional data.

Remotenpm

Connect to the hosted server

Add this URL as a custom connector in your AI client.

Server URL

https://eurostat.caseyjhand.com/mcp

Claude Code

claude mcp add --transport http eurostat-mcp-server https://eurostat.caseyjhand.com/mcp

Run it locally

Install the package and point your AI client at it.

npm

npx -y @cyanheads/[email protected]

Environment variables

  • EUROSTAT_CLAMP_LIMITS

    Clamp positive integer preview/search/dimension limits to 500/100/1000 with a notice. False restores schemas rejecting over-cap inputs.

  • MCP_LOG_LEVEL

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

  • EUROSTAT_BASE_URL

    Eurostat API base URL. Override when using a mirror or proxy.

  • EUROSTAT_COMEXT_BASE_URL

    Base URL of the Comext dissemination host, which serves every DS-* dataset code (detailed trade and PRODCOM). Override when using a mirror or proxy.

  • EUROSTAT_REQUEST_TIMEOUT_MS

    Total allowance for one Eurostat request across retries, backoff and body consumption, in milliseconds.

  • EUROSTAT_METADATA_TIMEOUT_MS

    Total allowance for one dataset's SDMX dataflow structure across retries, backoff and body consumption, in milliseconds. Defaults to 120000; separate from EUROSTAT_REQUEST_TIMEOUT_MS for large structures.

  • EUROSTAT_TOC_CACHE_TTL_MS

    How long a fetched catalogue TOC stays usable before the next catalogue call refreshes it, in milliseconds. Defaults to 12 hours.

  • EUROSTAT_BULK_TIMEOUT_MS

    Time budget for one eurostat_download_dataset call in milliseconds, counted from the start of the call: a filtered download's structure read, request retries, backoff and the streamed body with its staging all come out of it. Reached after rows have streamed, it keeps them as a prefix with budgetExc...

  • EUROSTAT_BULK_MAX_BYTES

    Byte budget for one eurostat_download_dataset transfer, counted on the decoded TSV rather than on the wire. Eurostat sends the body chunked with no Content-Length, so the budget is enforced while streaming and the transfer is aborted when it is reached. Defaults to 50 MiB.

  • CANVAS_PROVIDER_TYPE

    Dataframe canvas backend. The default, 'duckdb', lists eurostat_dataframe_describe and eurostat_dataframe_query, stages query matches with stage=true or above 5,000 observations, and retains bulk downloads beyond their previews. Set to 'none' to disable the canvas and those tools. The DuckDB binding...

  • CANVAS_TEMP_PATH

    Parent directory for DuckDB canvas spill files: a private 'mcp-canvas-XXXXXX' directory is created inside it, so it must be writable by the server process. Defaults to the OS temp directory.

  • CANVAS_TTL_MS

    Sliding lifetime of a staged dataframe canvas in milliseconds; every call against it extends the window. Defaults to 24 hours.

  • CANVAS_DEFAULT_ROW_LIMIT

    Maximum complete rows a single eurostat_dataframe_query returns before reporting truncated.

  • EUROSTAT_DATAFRAME_DROP_ENABLED

    Set to 'true' to list eurostat_dataframe_drop, which removes one staged table from a dataframe canvas and leaves its other tables in place. Off by default because a drop cannot be undone; staged tables expire with their canvas either way. Has no effect with CANVAS_PROVIDER_TYPE=none.

npm

npx -y @cyanheads/[email protected]

Environment variables

  • MCP_TRANSPORT_TYPE

    Selects the HTTP transport.

  • EUROSTAT_CLAMP_LIMITS

    Clamp positive integer preview/search/dimension limits to 500/100/1000 with a notice. False restores schemas rejecting over-cap inputs.

  • 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 override 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'.

  • MCP_LOG_LEVEL

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

  • EUROSTAT_BASE_URL

    Eurostat API base URL. Override when using a mirror or proxy.

  • EUROSTAT_COMEXT_BASE_URL

    Base URL of the Comext dissemination host, which serves every DS-* dataset code (detailed trade and PRODCOM). Override when using a mirror or proxy.

  • EUROSTAT_REQUEST_TIMEOUT_MS

    Total allowance for one Eurostat request across retries, backoff and body consumption, in milliseconds.

  • EUROSTAT_METADATA_TIMEOUT_MS

    Total allowance for one dataset's SDMX dataflow structure across retries, backoff and body consumption, in milliseconds. Defaults to 120000; separate from EUROSTAT_REQUEST_TIMEOUT_MS for large structures.

  • EUROSTAT_TOC_CACHE_TTL_MS

    How long a fetched catalogue TOC stays usable before the next catalogue call refreshes it, in milliseconds. Defaults to 12 hours.

  • EUROSTAT_BULK_TIMEOUT_MS

    Time budget for one eurostat_download_dataset call in milliseconds, counted from the start of the call: a filtered download's structure read, request retries, backoff and the streamed body with its staging all come out of it. Reached after rows have streamed, it keeps them as a prefix with budgetExc...

  • EUROSTAT_BULK_MAX_BYTES

    Byte budget for one eurostat_download_dataset transfer, counted on the decoded TSV rather than on the wire. Eurostat sends the body chunked with no Content-Length, so the budget is enforced while streaming and the transfer is aborted when it is reached. Defaults to 50 MiB.

  • CANVAS_PROVIDER_TYPE

    Dataframe canvas backend. The default, 'duckdb', lists eurostat_dataframe_describe and eurostat_dataframe_query, stages query matches with stage=true or above 5,000 observations, and retains bulk downloads beyond their previews. Set to 'none' to disable the canvas and those tools. The DuckDB binding...

  • CANVAS_TEMP_PATH

    Parent directory for DuckDB canvas spill files: a private 'mcp-canvas-XXXXXX' directory is created inside it, so it must be writable by the server process. Defaults to the OS temp directory.

  • CANVAS_TTL_MS

    Sliding lifetime of a staged dataframe canvas in milliseconds; every call against it extends the window. Defaults to 24 hours.

  • CANVAS_DEFAULT_ROW_LIMIT

    Maximum complete rows a single eurostat_dataframe_query returns before reporting truncated.

  • EUROSTAT_DATAFRAME_DROP_ENABLED

    Set to 'true' to list eurostat_dataframe_drop, which removes one staged table from a dataframe canvas and leaves its other tables in place. Off by default because a drop cannot be undone; staged tables expire with their canvas either way. Has no effect with CANVAS_PROVIDER_TYPE=none.

More from github.com/cyanheads

More MCP servers