ameco_series
Pack: ameco · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/ameco_series for the schema, then POST the same URL with its arguments for the data.
Annual macro-economic series from AMECO, the European Commission (DG ECFIN) annual macro-economic database, by variable code and country or aggregate, with a year range. Covers unemployment, NAWRU, GDP, output gap, public finance, labour costs, prices and more, EU members, euro area and other economies, 1960 onward and Commission forecast years. Returns {found, variable, variable_name, chapter, series:[{area, area_name, transformation, unit, observations:[{year, value, obs_status}]}], as_of, source}; as_of is the Commission’s last data update. The source does NOT label forecast years: its status flag is “A” on forecast years too, so years after the latest outturn are Commission forecasts without a label. “euro area” returns both the 21 and 20 country compositions. found:false with a reason when nothing matches. e.g. {variable:“ZNAWRU”, country:“euro area”, from_year:2015, to_year:2027}.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
variable | string | yes | AMECO variable code, e.g. ZNAWRU (NAWRU), NUTN (unemployment, persons). Use ameco_search_variables to find a code. |
country | string | no | Area code (EA20, EA21, EU27, DEU, FRA, USA) or English name; comma-separate several. “euro area” (default) returns the 21 and 20 country compositions. |
from_year | number | no | First year, e.g. 2015. |
to_year | number | no | Last year, e.g. 2027. |
unit | string | no | Optional AMECO unit code to select one unit when a variable is published in several (e.g. 0 = original units). |
transformation | string | no | Optional AMECO transformation code (1 = levels, 5 = annual percentage changes). |
chapter | string | no | Optional AMECO chapter like 01-03 to skip the lookup of which chapter holds the variable. |
Example call
Arguments
{
"variable": "ZNAWRU",
"country": "euro area",
"from_year": 2015,
"to_year": 2027
}
curl
curl -X POST https://gateway.pipeworx.io/ameco/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ameco_series","arguments":{"variable":"ZNAWRU","country":"euro area","from_year":2015,"to_year":2027}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('ameco_series', {
"variable": "ZNAWRU",
"country": "euro area",
"from_year": 2015,
"to_year": 2027
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
variable | string | |
variable_name | string | |
chapter | string | |
series_total | number | |
series_returned | number | |
series | array | |
forecast_marked_by_source | boolean | |
as_of | string | |
source | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"variable": {
"type": "string"
},
"variable_name": {
"type": "string"
},
"chapter": {
"type": "string"
},
"series_total": {
"type": "number"
},
"series_returned": {
"type": "number"
},
"series": {
"type": "array",
"items": {
"type": "object",
"properties": {
"area": {
"type": "string"
},
"area_name": {
"type": "string"
},
"transformation": {
"type": "string"
},
"unit": {
"type": "string"
},
"unit_description": {
"type": "string"
},
"unit_multiplier_exponent": {
"type": "number"
},
"observations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"year": {
"type": "number"
},
"value": {
"type": "number"
},
"obs_status": {
"type": "string"
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}
},
"forecast_marked_by_source": {
"type": "boolean"
},
"as_of": {
"type": "string"
},
"source": {
"type": "string"
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the ameco pack
{
"mcpServers": {
"ameco": {
"url": "https://gateway.pipeworx.io/ameco/mcp"
}
}
}
See Getting Started for client-specific install steps.