get_data
Pack: ecb · Endpoint: https://gateway.pipeworx.io/ecb/mcp
Generic SDMX data fetch from any ECB flow. Key is dot-separated dimension values; empty positions are wildcards. Example: flow_ref=“EXR”, key=“D.USD.EUR.SP00.A” (daily USD/EUR spot).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
flow_ref | string | yes | Flow reference — EXR (exchange rates), ICP (HICP), BSI, IRS, STS, BLS, MIR, … |
key | string | yes | Series key, dot-separated dimension values |
start_period | string | no | Start date / period |
end_period | string | no | End date / period |
last_n | number | no | Return only the last N observations |
Example call
curl -X POST https://gateway.pipeworx.io/ecb/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_data","arguments":{}}}'
Response shape
Always returns: flow, key, series_count, series
| Field | Type | Description |
|---|---|---|
flow | string | Flow reference queried |
key | string | Series key used in query |
series_count | number | Number of series returned |
series | array | Array of time series with observations |
Full JSON Schema
{
"type": "object",
"properties": {
"flow": {
"type": "string",
"description": "Flow reference queried"
},
"key": {
"type": "string",
"description": "Series key used in query"
},
"series_count": {
"type": "number",
"description": "Number of series returned"
},
"series": {
"type": "array",
"description": "Array of time series with observations",
"items": {
"type": "object",
"properties": {
"series_key": {
"type": "string",
"description": "Internal series key identifier"
},
"dimensions": {
"type": "object",
"description": "Dimension values for this series",
"additionalProperties": {
"type": "string"
}
},
"observations": {
"type": "array",
"description": "Time series observations",
"items": {
"type": "object",
"properties": {
"period": {
"type": "string",
"description": "Period or date identifier"
},
"value": {
"type": [
"number",
"null"
],
"description": "Observation value or null if missing"
}
},
"required": [
"period",
"value"
]
}
}
},
"required": [
"series_key",
"dimensions",
"observations"
]
}
}
},
"required": [
"flow",
"key",
"series_count",
"series"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"ecb": {
"url": "https://gateway.pipeworx.io/ecb/mcp"
}
}
}
See Getting Started for client-specific install steps.