statisticheisa-cli
Click on "Install 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., "@statisticheisa-clicerca il codice ISA per i tassisti nel 2024"
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.
statisticheisa-cli
CLI e server MCP per le statistiche ISA (Indici Sintetici di AffidabilitΓ ) dell'Agenzia delle Entrate italiana.
π Caratteristiche
Ricerca codici ISA per descrizione o alias colloquiali (es. "tassisti" β DG72U)
Dati nazionali: reddito medio, ricavi, componenti per codice ISA
Dati regionali: dettaglio per regione
Elenco anni disponibili
Catalogo sezioni ISA per anno
Alias integrati per ricerche naturali (ristoranti, idraulici, commercianti, ecc.)
Output flessibile: JSON, tabella, CSV, plain text
Filtraggio campi con notazione dot-path (es.
totale.redditoMedio)Parsing numeri italiani (es. "39.917" β 39917)
Related MCP server: Schema.gov.it MCP Server
π Installazione
# Da sorgente (richiede Go 1.21+)
git clone https://github.com/your-repo/statisticheisa-cli
cd statisticheisa-cli
go build -o statisticheisa-cli .
# Oppure scarica il binario precompilato dalle releasesπ Uso CLI
Comandi principali
# Mostra aiuto
statisticheisa-cli --help
# Cerca codice ISA per parola chiave
statisticheisa-cli cerca tassisti
statisticheisa-cli cerca "trasporto passeggeri" --anno 2024 --format table
# Elenco anni disponibili
statisticheisa-cli elenco-anni
# Tutti i dati ISA per un anno
statisticheisa-cli dati 2024
# Dati nazionali per un codice ISA
statisticheisa-cli nazionali 2024 DG72U
statisticheisa-cli nazionali 2024 DG72U --field totale.redditoMedio --format plain
statisticheisa-cli nazionali --anno 2024 --codisa DG72U --field totalePersoneFisiche.redditoMedio --format json
# Dati regionali
statisticheisa-cli regionali 2024 DG72U
# Lista codici ISA (con filtro opzionale)
statisticheisa-cli lista 2024 --cerca trasporto --format table
# Macroaree per un codice
statisticheisa-cli macroaree 2024 DG72U
# Dati multi-anno
statisticheisa-cli nazionali-multi 2024 DG72U Servizi U
statisticheisa-cli regionali-multi 2024 DG72U Servizi
# Grafici
statisticheisa-cli grafico-barre 2024 1 DG72U Servizi redditoMedio
statisticheisa-cli grafico-regioni 2024 1 DG72U Servizi
# Info endpoint e alias
statisticheisa-cli infoFlag globali
Flag | Descrizione |
| Proietta solo campi specifici (dot-separated, comma-separated) |
| Formato output (default: json) |
| Converte numeri formato italiano "39.917" β 39917 |
| Dump bytes grezzi API |
| Scrive su file invece di stdout |
| Filtra lista per query |
| Override anno |
| Override codIsa (stile flag) |
| Override macroarea |
Alias supportati
Il CLI risolve automaticamente alias comuni:
# Questi sono equivalenti:
statisticheisa-cli nazionali 2024 tassisti
statisticheisa-cli nazionali 2024 DG72U
# Altri alias: ristoranti, bar, pizzerie, idraulici, elettricisti,
# parrucchieri, commercianti, agenti-immobiliari, medici, dentisti,
# avvocati, commercialisti, architetti, ingegneri, ...Vedi tutti con: statisticheisa-cli info
π Server MCP
Il progetto include due server MCP (Model Context Protocol) per integrazione con agenti AI (OpenCode, Claude, ecc.).
1. Server stdio (locale)
Per uso diretto con agenti che supportano MCP su stdio.
# Avvia server
statisticheisa-cli mcp
# Configurazione OpenCode (opencode.json)
{
"mcp": {
"servers": {
"statisticheisa-local": {
"type": "local",
"command": ["go", "run", ".", "mcp"],
"environment": {}
}
}
}
}2. Server HTTP (remote)
Per connessione remota via HTTP.
# Avvia server su porta 8080
statisticheisa-cli mcp-http
# Oppure specifica indirizzo
statisticheisa-cli mcp-http :9090
# Configurazione OpenCode (opencode.json)
{
"mcp": {
"servers": {
"statisticheisa-http": {
"type": "remote",
"url": "http://localhost:8080/mcp"
}
}
}
}Endpoint HTTP
POST /mcp- Endpoint MCP JSON-RPC 2.0GET /health- Health check
Strumenti MCP disponibili
Tool | Descrizione | Parametri |
| Cerca codice ISA per query |
|
| Lista codici ISA per anno |
|
| Anni disponibili |
|
| Catalogo sezioni ISA |
|
| Dati nazionali per codice |
|
| Dati regionali per codice |
|
| Info endpoint e alias | (nessuno) |
Esempi uso MCP
// Inizializzazione
{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}
// Lista strumenti
{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}
// Cerca "tassisti"
{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"cerca","arguments":{"query":"tassisti","anno":2024}}}
// Dati nazionali per DG72U (tassisti)
{"jsonrpc":"2.0","id":4,"method":"tools/call","params":{"name":"nazionali","arguments":{"anno":2024,"codIsa":"DG72U","field":"totale.redditoMedio"}}}ποΈ Architettura
statisticheisa-cli/
βββ main.go # Entry point CLI
βββ internal/
β βββ aliases/aliases.go # Risoluzione alias colloquiali
β βββ client/client.go # Client HTTP per API Agenzia Entrate
β βββ client/testdata/ # Golden files per test
β βββ format/numbers.go # Parsing numeri italiani
β βββ mcp/
β β βββ server.go # Server MCP stdio
β β βββ http_server.go # Server MCP HTTP (Gin)
β βββ output/output.go # Formattazione output (JSON, table, CSV, plain)
β βββ search/search.go # Ricerca fuzzy codici ISA
βββ explore/ # Script di esplorazione API (non per produzione)
βββ go.mod / go.sum
βββ opencode.json # Configurazione MCP per OpenCodeπ§ Sviluppo
# Test
go test ./...
# Build
go build -o statisticheisa-cli .
# Lint
golangci-lint run
# Esegui server HTTP in background per test
./statisticheisa-cli mcp-http &
curl -X POST http://localhost:8080/mcp -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}'π‘ API Sorgente
I dati provengono dalle API pubbliche dell'Agenzia delle Entrate:
Base URL:
https://www.agenziaentrate.gov.it/portale/Endpoint ISA:
/portale/it/servizi/indici-sintetici-affidabilita
β οΈ Note
Il server HTTP MCP usa protocollo 2024-11-05 (compatibile OpenCode)
I dati sono soggetti a disponibilitΓ API Agenzia Entrate
Gli alias sono mantenuti manualmente in
internal/aliases/aliases.goPer contributi: apri issue o PR
π Licenza
MIT License - vedi LICENSE per dettagli.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Sourced Italian tax tools for AI agents: cited primary-source search + a deterministic tax engine.
Italian tax + anti-fraud: CF, P.IVA, IBAN, ATECO, IMU, F24, FatturaPA, NIS2. 23 free + 5 with key.
Public Data Ukraine Mcp connects AI agents to real public APIs via MCP. Tools include
Pay-per-use tool marketplace for AI agents. Search, price-check, and call APIs via MCP.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables querying Italian national statistics (ISTAT) data through natural language questions, with tools for accessing demographic, economic, and social indicators.16MIT

Schema.gov.it MCP Serverofficial
AlicenseAqualityCmaintenanceEnables AI agents to semantically explore and analyze the Italian government data catalog (schema.gov.it), including ontologies, vocabularies, datasets, and data quality checks.479MIT- AlicenseAqualityBmaintenanceEnables LLMs to access and analyze Italian statistical data from ISTAT via natural language queries, supporting dataset discovery, exploration, and data retrieval.92MIT
- AlicenseAqualityBmaintenanceEnables querying, exploring, and downloading ISTAT statistical datasets via SDMX REST API, with unified metadata, territorial code resolution, and data extraction.7MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/RiccardoEudizi/statisticheisa-cli'
If you have feedback or need assistance with the MCP directory API, please join our Discord server