get_data
Pack: statec-lu · Endpoint: https://gateway.pipeworx.io/statec-lu/mcp
Pull observations from a STATEC dataset. key is a dot-separated SDMX dimension filter, one position per dimension in the order given by dataflow_structure; leave a position empty to wildcard it. Fetch dataflow_structure first to know the dimension order and valid codes. Example: get_data({ dataflow_id: “DF_A1100”, key: “Valeur..A”, start_period: “2010”, end_period: “2020” }) picks VARIABLE=Valeur, wildcards SPECIFICATION, FREQ=A (annual). Omit key (or pass "") to fetch all series — caution, this can be large. Returns decoded series with their dimension labels and per-period values.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
dataflow_id | string | yes | STATEC dataflow id, e.g. “DF_A1100”. |
key | string | no | Dot-separated dimension filter (one position per dimension, empty = wildcard), e.g. “Valeur..A”. Omit for all series. |
start_period | string | no | Start period, e.g. “2010”, “2010-01”, “2010-Q1”. |
end_period | string | no | End period, e.g. “2020”. |
last_n | number | no | Return only the last N observations per series. |
max_series | number | no | Cap the number of decoded series returned (default 200). |
Example call
curl -X POST https://gateway.pipeworx.io/statec-lu/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_data","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"statec-lu": {
"url": "https://gateway.pipeworx.io/statec-lu/mcp"
}
}
}
See Getting Started for client-specific install steps.