ameco_search_variables
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_search_variables for the schema, then POST the same URL with its arguments for the data.
Find variables in AMECO, the European Commission (DG ECFIN) annual macro-economic database, by code or words in the name, e.g. “unemployment rate” or “output gap”. Returns {found, matches_total, variables:[{code, name}], source}. Pass a code to ameco_series. found:false with a reason when no variable matches. e.g. {query:“NAWRU”}.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Variable code or words from its name, e.g. “NAWRU” or “potential GDP”. |
limit | number | no | Maximum variables to return (default 20, max 100). |
Example call
Arguments
{
"query": "NAWRU"
}
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_search_variables","arguments":{"query":"NAWRU"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('ameco_search_variables', {
"query": "NAWRU"
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
matches_total | number | |
variables | array | |
source | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"matches_total": {
"type": "number"
},
"variables": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"name": {
"type": "string"
}
},
"additionalProperties": true
}
},
"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.