io.github.stucchi/italy-opendata
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@io.github.stucchi/italy-opendatashow me info about the municipality of Milan"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
italy-opendata-mcp
MCP server exposing Italian open data (municipalities, provinces, regions, postal codes, coordinates, geographic data) through simple, developer-friendly tools.
Features
7 MCP tools to navigate the Italian administrative hierarchy
Official sources: ISTAT and ANPR where available
Lazy download: data is fetched on first use and cached locally (~1.8 MB SQLite)
Offline after first use: all queries are local
No Docker: installable via
uvxorpip, starts and stops with Claude
Related MCP server: mcp-gouv-fr
Data sources
Data | Source | Type |
Municipalities, provinces, regions, ISTAT codes | Official | |
Resident population | Official (daily updates) | |
Surface area, altitude, altimetric zone | Official | |
Postal codes (CAP) | Community (no official source available) | |
Centroid coordinates | Community (no official source available) |
Installation
uvx italy-opendata-mcpUsage in .mcp.json
{
"mcpServers": {
"italy-opendata": {
"command": "uvx",
"args": ["italy-opendata-mcp"]
}
}
}From source
git clone https://github.com/stucchi/italy-opendata-mcp.git
cd italy-opendata-mcp
uv venv && uv pip install -e .Tools
Hierarchical navigation
list_regioni() → list_province(regione="Lombardia") → list_comuni(provincia="MI")Tool | Parameters | Description |
| — | All 20 regions with municipality count and population |
|
| Provinces with optional region filter |
|
| Municipalities with optional filters (default 400 results) |
Search
Tool | Parameters | Description |
|
| Full details of a municipality by name or ISTAT code |
|
| Find municipalities associated with a postal code |
Data management
Tool | Parameters | Description |
|
| Re-download data from sources |
| — | Local cache status |
Available fields per municipality
Each municipality includes:
Registry: name, ISTAT code, cadastral code, province abbreviation, province, region
Demographics: population (ANPR, daily updates)
Geography: latitude, longitude, surface area (km²), altitude (m), altimetric zone
Classification: coastal, island, urbanization degree
Postal: list of associated CAP codes
Example output
> get_comune("Roma")
{
"codice_istat": "058091",
"nome": "Roma",
"codice_catastale": "H501",
"popolazione": 2802399,
"superficie_kmq": 1288.19,
"altitudine": 20,
"zona_altimetrica": "Pianura",
"litoraneo": 1,
"latitudine": 41.89332,
"longitudine": 12.482932,
"sigla_provincia": "RM",
"provincia": "Roma",
"regione": "Lazio",
"cap": ["00118", "00119", "00120", ...]
}Cache
Data is saved locally on first use:
OS | Path |
macOS / Linux |
|
Windows |
|
To refresh data, use refresh_dataset(force=True).
Data coverage
Count | |
Regions | 20 |
Provinces | 107 |
Municipalities | 7,896 |
With population | 7,896 |
With coordinates | 7,889 |
With geographic data | 7,519 |
With postal codes | 7,887 |
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
dati.gov.it MCP — Italy's national open-data portal (CKAN API).
Free GeoNames MCP: countries, cities, POIs, distance & nearby. Remote HTTP + agent token signup.
- earthOAuthcom.mireye
MCP server for Mireye Earth — federal-source-cited geospatial data for any MCP-aware agent.
MCP server for Brazilian Federal Senate open data (legislative, administrative, e-Cidadania).
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceAn experimental MCP server providing spatial context for LLMs by interfacing with French Geoplateforme services. It enables tasks such as geocoding, altitude lookups, and querying administrative, cadastral, or urban planning data.11 npm4MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for exploring French public open data via APIs like data.gouv.fr, geo.api.gouv.fr, INSEE Sirene, and Radio France.MIT
- AlicenseAqualityDmaintenanceMCP server that wraps Kartverket's open APIs for Norwegian geographic data including place names, addresses, elevation, municipalities, properties, statistical districts, and building points. Requires no authentication.732 npmMIT
- FlicenseNot gradedqualityDmaintenanceMCP server to query French Open Data from data.gouv.fr-