get_data
Pack: istat-it · Endpoint: https://gateway.pipeworx.io/istat-it/mcp
Pull observations from an ISTAT 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. Example: get_data({ dataflow_id: “101_1015”, key: “A.IT…”, start_period: “2021”, end_period: “2023” }) selects annual (A), REF_AREA=IT (Italy), and wildcards the rest. 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 | ISTAT dataflow id, e.g. “101_1015”. |
key | string | no | Dot-separated dimension filter (one position per dimension, empty = wildcard), e.g. “A.IT…” . Omit for all series. |
start_period | string | no | Start period, e.g. “2021”, “2021-01”, “2021-Q1”. |
end_period | string | no | End period, e.g. “2023”. |
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/istat-it/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": {
"istat-it": {
"url": "https://gateway.pipeworx.io/istat-it/mcp"
}
}
}
See Getting Started for client-specific install steps.