AMECO
by pipeworx-io
README.md
# @pipeworx/ameco
AMECO, the annual macro-economic database of the European Commission's Directorate-General for Economic and Financial Affairs (DG ECFIN): unemployment, NAWRU, GDP, output gaps, public finance, labour costs, prices and more for EU members, the euro area and other economies, from 1960 and including the Commission's forecast years.
Part of [Pipeworx](https://pipeworx.io) — an MCP gateway connecting AI agents to 2075+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
## Tools
- `ameco_series(variable, country?, from_year?, to_year?, unit?, transformation?, chapter?)` -- annual values for one AMECO variable code (e.g. `ZNAWRU`) and one or more countries or aggregates, over a year range. Each series carries its unit and, per year, the source's status flag. "euro area" (the default) returns both the 21 and the 20 country compositions, because AMECO publishes both and they differ.
- `ameco_search_variables(query, limit?)` -- find a variable code from words in its name or a partial code ("unemployment rate", "NAWRU").
## Auth
Keyless.
## Data sources
- European Commission, DG ECFIN, AMECO annual macro-economic database.
## Forecast years and vintage
AMECO values after the latest outturn are Commission forecasts. The source does not label them: its observation-status flag is `A` ("normal value") on forecast years as well (checked on ZNAWRU 2015-2027, euro area, 2026-12-01), and the service gives no forecast round. The only vintage it states is the time of the last data update, returned as `as_of` (for example 2026-11-24T11:29:40). The pack therefore returns `forecast_marked_by_source: false` and does not guess which years are forecasts; do not read the last few years of a series as final. The year a forecast starts is in the Commission's own publication for that round.
## Units
Units are returned as the source publishes them (a unit name, plus the source's descriptive comment such as "Rate" or "1000 persons", and a power-of-ten multiplier exponent). A variable published in several units or transformations returns one series per combination (up to 30); narrow with `unit` or `transformation`.
## Reuse terms
The Commission's reuse policy is implemented by the Commission Decision of 12 December 2011 on the reuse of Commission documents. Per the Commission's legal notice: "Unless otherwise indicated (e.g. in individual copyright notices), content owned by the EU on this website is licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0) licence. This means that reuse is allowed, provided appropriate credit is given and changes are indicated." Credit: European Commission, DG ECFIN, AMECO. The pack makes live calls only and stores no copy of the database.
## Notes
A variable lives in one AMECO chapter; when `chapter` is not given the pack looks the variable up across the chapters, which costs several upstream calls. Pass `chapter` (for example `01-03`) to skip that.
## Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
```json
{
"mcpServers": {
"ameco": {
"url": "https://gateway.pipeworx.io/ameco/mcp"
}
}
}
```
### What this endpoint actually serves
`tools/list` at `https://gateway.pipeworx.io/ameco/mcp` returns the tools in the table
above **plus five Pipeworx tools**: `ask_pipeworx`, `discover_tools`, `ask_pipeworx_grounded`, `company_register_search` and `company_facts`.
`ask_pipeworx` answers a question this pack does not cover by routing across the
whole catalog, without adding a second MCP server.
Add an option to the same URL:
- `https://gateway.pipeworx.io/ameco/mcp?meta=1` lists this pack's tools plus **up to 48 shared Pipeworx tools** (48 when this README was
generated; a connection without an account lists fewer, and its own `tools/list` is the
exact answer on any given day).
- `https://gateway.pipeworx.io/ameco/mcp?meta=0` lists this pack's tools alone.
Or connect to the full Pipeworx gateway to get every pack's tools listed
directly, instead of just this one's:
```json
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
```
Both URLs reach the same gateway and the same 2075+ data sources. The
only difference is which pack's tools are listed **directly**; `ask_pipeworx`
reaches all of them from either one (it is not listed on a `?meta=0` connection).
## No MCP client? Call it over HTTP
```bash
curl -X POST https://gateway.pipeworx.io/v1/tools/ameco_series \
-H 'Content-Type: application/json' \
-d '{"variable":"ZNAWRU","country":"euro area","from_year":2015,"to_year":2027}'
```
No account needed for the first calls. Inspect any tool: `GET https://gateway.pipeworx.io/v1/tools/ameco_series`. Find one: `POST https://gateway.pipeworx.io/v1/tools/search_packs` with `{"query":"..."}`.
## Run it from npm
`@pipeworx/mcp-ameco` is a local stdio bridge to the Pipeworx gateway: your MCP client
starts it with `npx`, and it forwards every call to the same
`https://gateway.pipeworx.io/ameco/mcp` endpoint shown above. It needs network access;
there is no offline mode.
```json
{
"mcpServers": {
"ameco": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-ameco"]
}
}
}
```
Without a key it calls anonymously, capped at 50 calls a day. A free account
raises that to 200 a day: get a key at https://pipeworx.io/signup and add
`"env": { "PIPEWORX_API_KEY": "<your key>" }` to the server entry.
The key is sent as a Bearer token, the same way a hosted connection sends it,
so calls are metered and billed exactly as they are there.
It lists **only** this pack's tools by default. Set `PIPEWORX_META_TOOLS=1` to
also list `ask_pipeworx` and the other gateway-wide tools.
Behind an HTTPS proxy: Node's built-in `fetch` does not read `HTTPS_PROXY` by
default. Newer Node releases honour it when `NODE_USE_ENV_PROXY=1` is set; check
your Node version's documentation.
## Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English —
this works on the pack endpoint above as well as on the full gateway:
```
ask_pipeworx({ question: "your question about Ameco data" })
```
The gateway picks the right tool and fills the arguments automatically.
## More
- [Docs and guides](https://pipeworx.io/docs)
- [pipeworx.io](https://pipeworx.io)
## License
MIT
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues