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

NameTypeRequiredDescription
flow_refstringyesFlow reference — EXR (exchange rates), ICP (HICP), BSI, IRS, STS, BLS, MIR, …
keystringyesSeries key, dot-separated dimension values
start_periodstringnoStart date / period
end_periodstringnoEnd date / period
last_nnumbernoReturn 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

FieldTypeDescription
flowstringFlow reference queried
keystringSeries key used in query
series_countnumberNumber of series returned
seriesarrayArray 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.

Regenerated from source · build May 21, 2026