@pipeworx/istat-it

Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/istat-it’s. Install: one-click buttons

Connect to just the @pipeworx/istat-it pack

https://gateway.pipeworx.io/istat-it/mcp — only @pipeworx/istat-it’s own tools, nothing else in the catalog.

No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.

Tools: 3

Italian national statistics from ISTAT (Istituto nazionale di statistica): browse the dataset catalogue, read a dataset’s dimensions, and pull observations.

Tools

  • istat_it_list_dataflows(query?, limit?) - browse or keyword-search the ~5,000 ISTAT datasets (English and Italian names). Answered from a generated catalogue with data_as_of.
  • istat_it_dataflow_structure(dataflowId) - the dimensions and codes of one dataset. Read live.
  • istat_it_get_data(...) - observations for a dataset and key. Read live.

Auth

Keyless.

Data sources

  • ISTAT, SDMX dataset catalogue and dataset series. Published by ISTAT under a Creative Commons Attribution licence; every catalogue response names ISTAT as the source.

The full dataset list is one 3 MB document that ISTAT needs 23-55 seconds to start sending, and it answers HTTP 500 or nothing for hours at a time (measured 2026-11-18 and 2026-11-19/20). The catalogue changes a few times a year, so per the local-copy ruling it is read once by scripts/bake-index.mjs, written to src/istat-index-data.ts, and served from the gateway’s KV (registered in workers/gateway/src/pack-baked-indexes.json; the pack never value-imports the data module). Dataset structure and observations are always read live.

Refresh: node mcps/istat-it/scripts/bake-index.mjs, commit the regenerated module. One request, refuses to overwrite with fewer than 3,000 rows.

BUDGET

  • One-time: one 3 MB read from ISTAT plus one KV write at deploy: $0.
  • Monthly: the baked catalogue is ~0.5 MB of KV (inside the account’s free KV storage); reads are one KV get per isolate cold start. Well under $0.01/month.
  • Refresh: manual, a few times a year, one request each. No schedule, no database, no D1 or R2.
  • Rejected alternatives: a D1 or Supabase table (a 5,000-row name list does not justify a billed store); a module-scope import (fleet #2754: puts the table in every isolate); a live read per call (fails for hours at a time, which is what this replaces).
  • Under both thresholds ($50 one-time, $25/month); no Needs Bruce item.

Tools

  • istat_it_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
  • istat_it_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 k
  • istat_it_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. Exa

Tools

  • istat_it_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 k
  • istat_it_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. Exa
  • istat_it_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

Regenerated from source · build November 26, 2026