get_dataset
Pack: eurostat · Endpoint: https://gateway.pipeworx.io/eurostat/mcp
Fetch statistical data from a Eurostat dataset by dataset code. Optionally filter by country (geo) and time period. Example: get_dataset({ dataset_code: “nama_10_gdp”, geo: “DE”, time: “2023” }). Common dataset codes: “nama_10_gdp” (GDP), “prc_hicp_manr” (inflation), “une_rt_m” (unemployment).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
dataset_code | string | yes | Eurostat dataset code, e.g. “nama_10_gdp”, “prc_hicp_manr”, “une_rt_m” |
geo | string | no | Country/region code filter, e.g. “DE” (Germany), “FR” (France), “EU27_2020” (EU aggregate) |
time | string | no | Time period filter, e.g. “2023”, “2023M01” (Jan 2023), “2023Q1” (Q1 2023) |
Example call
Arguments
{
"dataset_code": "nama_10_gdp",
"geo": "DE",
"time": "2023"
}
curl
curl -X POST https://gateway.pipeworx.io/eurostat/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_dataset","arguments":{"dataset_code":"nama_10_gdp","geo":"DE","time":"2023"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_dataset', {
"dataset_code": "nama_10_gdp",
"geo": "DE",
"time": "2023"
});
More examples
{
"dataset_code": "prc_hicp_manr",
"geo": "EU27_2020",
"time": "2023M06"
}
Response shape
Always returns: dataset, label, updated, dimensions, value_count, values
| Field | Type | Description |
|---|---|---|
dataset | string | The dataset code requested |
label | string | Human-readable label for the dataset |
updated | string | Last update timestamp of the dataset |
dimensions | object | Dataset dimensions with labels and category mappings |
value_count | number | Number of data values in the dataset |
values | object | Data values indexed by dimension combination |
Full JSON Schema
{
"type": "object",
"properties": {
"dataset": {
"type": "string",
"description": "The dataset code requested"
},
"label": {
"type": "string",
"description": "Human-readable label for the dataset"
},
"updated": {
"type": "string",
"description": "Last update timestamp of the dataset"
},
"dimensions": {
"type": "object",
"description": "Dataset dimensions with labels and category mappings",
"additionalProperties": {
"type": "object",
"properties": {
"label": {
"type": "string",
"description": "Label for the dimension"
},
"categories": {
"type": "object",
"description": "Category index to label mappings",
"additionalProperties": {
"type": "string"
}
}
}
}
},
"value_count": {
"type": "number",
"description": "Number of data values in the dataset"
},
"values": {
"type": "object",
"description": "Data values indexed by dimension combination",
"additionalProperties": {
"type": [
"number",
"null"
],
"description": "Numeric value or null if missing"
}
}
},
"required": [
"dataset",
"label",
"updated",
"dimensions",
"value_count",
"values"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"eurostat": {
"url": "https://gateway.pipeworx.io/eurostat/mcp"
}
}
}
See Getting Started for client-specific install steps.