Eurostat

The European Union's statistical office: about 7,500 datasets of comparable figures — unemployment, inflation, GDP, wages, population, migration, tourism, energy, housing, health — for Greece and its regions next to every other member state and the EU and euro-area totals, harmonised so the comparison means something. Greece (EL) is the default; any country or region can be asked for.

Publisher
European Commission — Eurostat
Licence
CC-BY-4.0
Attribution
Source: Eurostat (ec.europa.eu/eurostat)

MCP server

https://agoramcp-server.vercel.app/gr/mcp/eurostat

HTTP API

https://agoramcp-server.vercel.app/gr/api/eurostat

Its own server, with the tools under their plain names. On Greece's server the same tools answer as eurostat_….

Tools

3 tools, each with the description a model is given, its arguments and the example it ships with. Over HTTP a tool answers at /gr/api/eurostat/{tool}; over MCP, as itself.

search_datasets >Find a Eurostat dataset

Find Eurostat datasets by English words in their title, code or the folders they sit in, and get each one's code, the period it covers and when it was last updated. Every figure comes from a dataset with a short code — une_rt_m is monthly unemployment, prc_hicp_minr monthly inflation, namq_10_gdp quarterly GDP, tps00001 population — and get_data needs that code. Titles are English only, so search "unemployment", not "ανεργία". A `table` is a small curated view, often the quickest answer; a `dataset` is the full cube behind it. A dataset whose data ends years before its neighbours' has usually been replaced; get_dataset_structure says so when Eurostat marks it discontinued.

Arguments

querystring, up to 200 charactersrequired
English words, all of which must appear, e.g. "unemployment monthly", "house price index", "nights tourist accommodation".
typestring, one of dataset, table
Only full datasets, or only curated tables. Both by default.
limitinteger, 1–50
Most results, 1-50. Defaults to 20.

Example arguments

{
  "query": "unemployment monthly"
}

get_dataset_structure >What a Eurostat dataset holds

The dimensions of one dataset and the codes each one takes, with labels — what get_data's filters accept — plus the period it covers, when it was updated, its DOI and whether Eurostat has discontinued it. Read it before get_data to learn, for instance, that une_rt_m is broken down by freq, s_adj, age, unit, sex and geo, and that its unemployment rate is unit PC_ACT. Each dimension lists its first 100 codes; name a dimension, and give `search`, to see more of a large one — 555 consumption categories in prc_hicp_minr, 512 regions in a regional dataset. Greece is EL, and its regions are NUTS codes that start with EL: EL3 and EL30 Attiki, EL52 Kentriki Makedonia.

Arguments

datasetstring, up to 60 charactersrequired
The dataset code, e.g. une_rt_m. search_datasets finds it.
dimensionstring, up to 40 characters
Only this dimension, with all of its codes that match `search`.
searchstring, up to 200 characters
Words or codes to find among the codes, e.g. "Attiki", "electricity", "EL5".

Example arguments

{
  "dataset": "une_rt_m"
}

get_data >Read Eurostat figures

Figures from one Eurostat dataset, for the countries, breakdowns and periods asked for, as labelled rows. `filters` fixes dimensions by code — get_dataset_structure lists them — as text: "unit=PC_ACT; sex=T; age=TOTAL; s_adj=SA"; a dimension left out takes every code. `geo` takes country codes, comma-separated, and defaults to EL, Greece; add EU27_2020 for the EU and EA for the euro area to compare. For the latest figures give lastPeriods (each series' own latest N, even where Greece reports later than others), or a window with startPeriod/endPeriod (2025, 2025-Q2, 2025-09); with neither, the latest one. A selection that would span more than 20,000 cells is refused with the dimensions to narrow, and at most 1000 rows come back. Values carry Eurostat's flags — p provisional, e estimated, b break in series, c or |C confidential — and an answer comes with the citation Eurostat asks for.

Arguments

datasetstring, up to 60 charactersrequired
The dataset code, e.g. une_rt_m, prc_hicp_minr, namq_10_gdp.
filtersstring, up to 1000 characters
Codes by dimension: dimension=code, several codes joined by commas, filters by semicolons, e.g. "unit=PC_ACT; sex=T; age=TOTAL; s_adj=SA". Codes are matched case-insensitively.
geostring, 2–600 characters
Countries or regions, comma-separated, e.g. "EL,EU27_2020,EA". Defaults to EL where the dataset has Greece. Greece is EL, not GR.
startPeriodstring, up to 10 characters
First period: 2020, 2020-S1, 2020-Q1, 2020-01, 2020-W01 or 2020-01-15.
endPeriodstring, up to 10 characters
Last period, same formats.
lastPeriodsinteger, 1–60
Each series' latest N periods, 1-60. Not with startPeriod/endPeriod. Defaults to 1 when no window is given.
limitinteger, 1–1000
Most rows, 1-1000. Defaults to 200.

Example arguments

{
  "dataset": "une_rt_m",
  "filters": "unit=PC_ACT; sex=T; age=TOTAL; s_adj=SA",
  "geo": "EL,EA21,EU27_2020",
  "lastPeriods": 3
}