eurostat-mcp

eurostat-mcp

Exposes the Eurostat Statistics API, enabling LLMs to discover, explore, and retrieve official EU statistical data through search, dimension inspection, and data retrieval tools.

Category
Visit Server

README

eurostat-mcp

An MCP server that exposes the Eurostat Statistics API so that LLM assistants can discover, explore, and retrieve official EU statistical data.

Tools

Tool Description
search_datasets Search the Eurostat catalogue by keyword
get_dataset_dimensions Inspect the dimension structure and valid filter codes for a dataset
get_dataset_data Retrieve data with optional filters (geo, time, unit, etc.)

Typical workflow

1. search_datasets("GDP")                          # find dataset codes
2. get_dataset_dimensions("nama_10_gdp")           # discover dimensions & valid codes
3. get_dataset_data("nama_10_gdp",                 # pull the numbers
       geo=["FR","DE","ES"],
       last_time_period=5,
       filters={"unit": ["CLV10_MEUR"], "na_item": ["B1GQ"]})

Resources

URI Description
eurostat://datasets/{query} Browse datasets matching a keyword
eurostat://dataset/{code}/dimensions Dimension structure for a specific dataset

Prompts

Prompt Description
explore_topic Step-by-step plan to find EU statistics on a topic
compare_countries Retrieve and compare an indicator across EU countries

Getting started

Prerequisites

  • Python 3.11+
  • uv (recommended) or pip

Install locally

git clone https://github.com/dcerecedo/eurostat-mcp.git
cd eurostat-mcp

# with uv
uv pip install -e .

# or with pip
pip install -e .

Run (stdio — for Claude Desktop / claude-code)

eurostat-mcp
# or
eurostat-mcp --transport stdio

Run (SSE — for network clients)

eurostat-mcp --transport sse
# listens on http://0.0.0.0:8000/sse by default

Environment variables to override defaults:

Variable Default Description
MCP_TRANSPORT stdio Transport: stdio, sse, or streamable-http
MCP_HOST 0.0.0.0 Bind host (SSE / HTTP only)
MCP_PORT 8000 Bind port (SSE / HTTP only)

Docker

Build and run with Docker Compose (exposes port 8001):

docker compose up --build

The server will be available at http://localhost:8001/sse.

To run the image directly:

docker build -t eurostat-mcp .
docker run -p 8001:8001 eurostat-mcp

Connecting to Claude

Claude Desktop

Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "eurostat": {
      "command": "eurostat-mcp"
    }
  }
}

Claude Code (stdio)

claude mcp add eurostat -- eurostat-mcp

Claude Code (SSE — when running via Docker or SSE server)

{
  "mcpServers": {
    "eurostat": {
      "type": "sse",
      "url": "http://localhost:8001/sse"
    }
  }
}

A ready-to-use .mcp.json file with the SSE config is included in this repo.


License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured