Italy OpenData MCP Server
Italian open data: municipalities, provinces, regions, postal codes, coordinates.
Italy OpenData scores 42 (Fair), with no SPDX license recorded and written in Python. It installs as a local process. It declares 7 tools. Filed under Data and analytics. GitHub shows 1 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
42 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: short README, 7 of 7 tools barely described, short summary.
How quality is graded
Where the 42 comes from
22 + 5 + 1 + 0 + 4 + 10 = 42. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 5 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 1 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "stucchi-italy-opendata-mcp": { "command": "uvx", "args": [ "italy-opendata-mcp" ] } }}
Environment variables
This server does not declare environment variables.
Tools7Tool docs quality grade F
All capabilitiesdatasets_statustool—
get_by_captoolcap
get_comunetoolnomeocodice
list_comunitoolregione?, provincia?, limit?
list_provincetoolregione?
list_regionitool—
refresh_datasettoolforce?
About
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
Data sources
| Data | Source | Type |
|---|---|---|
| Municipalities, provinces, regions, ISTAT codes | ISTAT | Official |
| Resident population | ANPR | Official (daily updates) |
| Surface area, altitude, altimetric zone | ISTAT | Official |
| Postal codes (CAP) | comuni-json | Community (no official source available) |
| Centroid coordinates | opendatasicilia | Community (no official source available) |
Installation
uvx italy-opendata-mcp
Usage 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 |
|---|---|---|
list_regioni | — | All 20 regions with municipality count and population |
list_province | regione? | Provinces with optional region filter |
list_comuni | regione?, provincia?, limit? | Municipalities with optional filters (default 400 results) |
Search
| Tool | Parameters | Description |
|---|---|---|
get_comune | nome_o_codice | Full details of a municipality by name or ISTAT code |
get_by_cap | cap | Find municipalities associated with a postal code |
Data management
| Tool | Parameters | Description |
|---|---|---|
refresh_dataset | force? | Re-download data from sources |
datasets_status | — | 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 | ~/.cache/italy-opendata-mcp/italia.db |
| Windows | %LOCALAPPDATA%\italy-opendata-mcp\italia.db |
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
Frequently asked questions
What is Italy OpenData MCP Server?
Italian open data: municipalities, provinces, regions, postal codes, coordinates.
How do I install Italy OpenData MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Italy OpenData MCP Server runs locally from the PyPI package italy-opendata-mcp with the command uvx italy-opendata-mcp.
Does Italy OpenData MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Italy OpenData MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Italy OpenData MCP Server provide?
Italy OpenData MCP Server provides 7 tools, including datasets_status, get_by_cap, get_comune, and list_comuni. See the full tool list for descriptions and parameters.
How is Italy OpenData MCP Server's trust score calculated?
Italy OpenData MCP Server scores 42 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.