Istat It
v0.2.1ISTAT (Istituto Nazionale di Statistica) MCP — Italy's national statistics via the public SDMX 2.1…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_dataflows
Browse or keyword-search ISTAT datasets (dataflows). Each result has an `id` (the dataflowId you pass to get_data / dataflow_structure) and an English name. ISTAT publishes ~4,800 datasets, so always pass `query` to filter unless you really want the whole list. Example: list_dataflows({ query: "unemployment" }) or list_dataflows({ query: "GDP" }).
| Parameter | Type | Description |
|---|---|---|
limit | number | Max results to return (default 50). |
query | string | Case-insensitive substring filter on dataset id or name, e.g. "population", "inflation", "GDP". |
dataflow_structure
Get the structure (Data Structure Definition) of one ISTAT dataset: its ordered dimensions and, for each, the valid codes. Use this to learn how to build the dot-separated SDMX key for get_data. The key positions correspond to the dimensions in order; an empty position is a wildcard. Example: dataflow_structure({ dataflow_id: "101_1015" }).
| Parameter | Type | Description |
|---|---|---|
dataflow_id * | string | ISTAT dataflow id from list_dataflows, e.g. "101_1015". |
get_data
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.
| Parameter | Type | Description |
|---|---|---|
dataflow_id * | string | ISTAT dataflow id, e.g. "101_1015". |
end_period | string | End period, e.g. "2023". |
key | string | Dot-separated dimension filter (one position per dimension, empty = wildcard), e.g. "A.IT..." . Omit for all series. |
last_n | number | Return only the last N observations per series. |
max_series | number | Cap the number of decoded series returned (default 200). |
start_period | string | Start period, e.g. "2021", "2021-01", "2021-Q1". |