About Istat MCP Server
Istat MCP Server is an MCP server published by ondata in the Science category: mCP server to query Italian statistics (ISTAT) via SDMX API — compatible with any MCP client. Conduid read 8 tools from its source: discover_dataflows, get_cache_diagnostics, get_codelist_description, get_concepts, get_constraints, get_data and 2 more. No package is published for it, so it installs from a source checkout.
The repository has 24 stars and 8 forks, is licensed MIT, and its last commit was on 29 Nov 2026. Conduid has no tagged release on record for it. It passes all 5 static checks Conduid ran on the repository. Its topics include data, istat, italy, open-data, sdmx and statistics.
Install
git clone https://github.com/ondata/istat_mcp_serverTools (8)
discover_dataflowsDiscover available dataflows from ISTAT SDMX API. Optionally filter by comma-separated keywords.| Parameter | Type | Description |
|---|---|---|
| keywords | string | Comma-separated keywords (e.g., 'population,employment'). Leave empty for all dataflows. |
get_cache_diagnosticsGet diagnostic information about the cache system (path, size, keys). For debugging.get_codelist_descriptionGet Italian and English descriptions for all values in a codelist.| Parameter | Type | Description |
|---|---|---|
| codelist_id * | string | Codelist ID (e.g., 'CL_AGRI_MADRE') |
get_conceptsGet the Italian or English description of an ISTAT SDMX concept by its ID. Uses cached concept schemes (TTL 1 month). Returns a single description string.| Parameter | Type | Description |
|---|---|---|
| concept_id * | string | Concept ID (e.g. 'AGRIT_AUTHORIZATION') |
| lang | string | Language: 'it' (default) or 'en' |
get_constraintsGet available constraints (dimension values) for a dataflow with descriptions. Returns all valid values for each dimension.| Parameter | Type | Description |
|---|---|---|
| dataflow_id * | string | Dataflow ID (e.g., '101_1015_DF_DCSP_COLTIVAZIONI_1') |
get_dataFetch actual data from a dataflow in TSV table format. Supports dimension filtering and time ranges. If no time period specified, fetches last complete year. Output includes reproducible URLs: a CSV URL (openable in browser via format=csv), the SDMX XML URL, and a curl command.| Parameter | Type | Description |
|---|---|---|
| dataflow_id | string | Alias of id_dataflow (for compatibility). |
| detail | string | Detail level: 'full', 'dataonly', 'serieskeysonly', or 'nodata' |
| dimension_at_observation | string | Dimension at observation level (e.g., 'TIME_PERIOD'). Optional. |
| dimension_filters | object | Optional dimension filters. Keys are dimension IDs, values are arrays of codes. |
| end_period | string | End period (e.g., '2025-11-30' or '2025'). Omit for last year only. |
| filters | object | Alias of dimension_filters (for compatibility). |
| id_dataflow * | string | Dataflow ID (e.g., '22_315_DF_DCIS_POPORESBIL1_2') |
| start_period | string | Start period (e.g., '2024-11-01' or '2024'). Omit for last year only. |
get_structureGet data structure definition for a datastructure ID. Returns dimensions and their codelists.| Parameter | Type | Description |
|---|---|---|
| id_datastructure * | string | Datastructure ID (e.g., 'DCSP_COLTIVAZIONI') |
get_territorial_codesGet ISTAT REF_AREA territorial codes by level (italia, ripartizione, regione, provincia, comune) or place name search. Supports filtering by region, province, and capoluogo status. Contains the full territorial hierarchy (9142 entries) with parent-child relationships. Use cases: find REF_AREA codes for get_data queries (e.g. all comuni capoluogo for accident statistics, all provinces in Southern regions for olive oil production, all comuni in a specific province for demographic analysis).| Parameter | Type | Description |
|---|---|---|
| capoluogo | boolean | If true, return only comuni that are capoluogo di provincia |
| level | string | Territorial level: 'italia', 'ripartizione', 'regione', 'provincia', 'comune' |
| name | string | Place name to search (substring, case-insensitive) |
| province | string | Filter by province name or code (e.g. 'Milano', 'ITC45') |
| region | string | Filter by region name or code (e.g. 'Lombardia', 'ITC4') |
Security checks
- ✓README presentThe repository's README runs to about 2.1K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionScanned 30 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
README
The repository's README runs to about 2.1K words, fetched a month ago. The original in the repository is authoritative.
Read full README