open-parlamento-mcp
This server provides 24 MCP tools that combine Italian/EU law with public and parliamentary data, enabling citation-grounded legal research, legislative tracking, and access to official statistics and datasets.
Italian law: Ask legal questions about the Constitution and Penal Code and get answers with exact article citations (
cerca_legge).Normative changes: Find what a law modifies/abrogates and which acts modified a norm (
cosa_modifica,chi_modifica), plus latest Gazzetta Ufficiale publications (novita_normative).EU law and case law: Search EU legislation and CJEU rulings via EUR-Lex (
cerca_legge_ue,cerca_sentenze_ue).Constitutional and ordinary jurisprudence: Search Corte Costituzionale rulings and massime, check whether a norm has been declared unconstitutional or is pending before the Court, and search Cassazione rulings of the last ~6 years (
cerca_sentenze_cost,giurisprudenza_su,casi_pendenti_su,cerca_sentenze_cassazione).Administrative justice: Explore Consiglio di Stato/TAR datasets by subject (
cerca_giustizia_amministrativa).Parliamentary procedure: Search Senate bills and Camera acts by topic with their iter status (
cerca_ddl_senato,cerca_atti_camera).Curated Parliament data (OpenPolis): Search parliamentarians, power-index rankings, member profiles, votes, decree-laws, legislative activity, and parliamentary organs (
cerca_parlamentari,indice_di_forza,profilo_parlamentare,cerca_votazioni,decreti_legge,attivita_legislativa,organi_parlamentari).Open data and official statistics: Find real datasets from Italian/EU open-data portals (
cerca_dati) and get official Eurostat figures on unemployment, inflation, population, GDP, etc. (cerca_statistiche).Focused topics: PNRR-funded projects by theme/place (
cerca_pnrr) and migrant reception centers by location with capacity and costs (accoglienza_migranti).
Click 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., "@open-parlamento-mcp Is it legal to record a conversation in Italy?"
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.
open-parlamento-mcp — Italian Law & Public Data MCP Server
MCP (Model Context Protocol) server joining Italian & EU law (Constitution, codes, EU legislation, case law, with citations) with public data (open data portals, official statistics, PNRR, migration reception centers) and curated Parliament data (OpenPolis) — 24 tools, one server.
Overview
Most Italian legal/civic MCP servers cover one slice: either the law, or one data source, or parliamentary acts. open-parlamento-mcp covers all three, because answering "is X legal?" or "how much did Y cost?" properly requires citing the norm and the data together — that's the whole point of Open Parlament, the project this server was built for.
Key Features
24 MCP tools across law, EU law, case law, parliamentary iter, curated Parliament data (OpenPolis), open data, official statistics, and two focused datasets (PNRR, migrant reception)
Citation-grounded: legal answers point to the actual article (
Cost. art. 3,C.p. art. 575), never a bare LLM guessMulti-source data: CKAN (dati.gov.it + regional/local portals), Eurostat, EUR-Lex, Gazzetta Ufficiale, Normattiva modification graph
Complements RepublicMCP (deep SPARQL access to Camera/Senato ontologies) with a broader, curated surface — use RepublicMCP for raw parliamentary SPARQL depth, this server for law + cross-domain data in one place
Related MCP server: Italian Law MCP
Quick Start
Installation
pip install open-parlamento-mcpConfiguration with Claude Desktop
{
"mcpServers": {
"open-parlamento": {
"command": "open-parlamento-mcp"
}
}
}Or run directly: python -m open_parlamento_mcp.server
Environment
LIGHTRAG_URL(defaulthttp://localhost:9622) — used only bycerca_legge, which queries a LightRAG instance holding the ingested legal corpus. Without it reachable, every other tool still works (they're independent HTTP/SPARQL clients with no shared state).OPENPOLIS_API,OPENPOLIS_LEG,OPENPOLIS_TOKEN,OPENPOLIS_TTL— optional, for the OpenPolis-backed tools (anonymous access works, token raises rate limits).NORME_EDGES_DIR,SENTENZE_EDGES,PENDENZE_EDGES— optional local corpus paths forcosa_modifica/chi_modifica/giurisprudenza_su/casi_pendenti_su; without them those tools degrade gracefully (see Known Limitations).
Available MCP Tools
Diritto italiano
cerca_legge(domanda)— Answers a legal question from Italian law (Constitution + codes) via LightRAG, citing the exact articles (Cost. art. 3,C.p. art. 575).
Normattiva — relazioni di modifica
cosa_modifica(norma)— What a law/decree modifies, abrogates, replaces, or inserts (authoritative Normattiva relations), grouped by intervention type.chi_modifica(norma)— Which acts have modified a given norm/article.novita_normative(argomento?, serie?)— Latest acts published in Gazzetta Ufficiale (official RSS feed).
Diritto UE
cerca_legge_ue(argomento)— EU legislation (regulations, directives, decisions) by topic via EUR-Lex, with CELEX + link.
Giurisprudenza
cerca_sentenze_ue(argomento)— CJEU/General Court case law via EUR-Lex (CELEX sector 6).cerca_sentenze_cost(argomento)— Corte Costituzionale rulings by topic, official massime (1956→today).giurisprudenza_su(norma)— Which Corte Costituzionale rulings decided on a given norm/article, and the outcome (unconstitutional / unfounded / inadmissible).casi_pendenti_su(norma)— Is a norm/article currently under challenge before the Corte Costituzionale (pending cases, from atti di promovimento)?cerca_sentenze_cassazione(argomento)— Corte di Cassazione rulings (civil + criminal) via SentenzeWeb, last ~6 years.cerca_giustizia_amministrativa(parole_chiave)— Consiglio di Stato + TAR data via the OpenGA open-data portal (dataset-level: rulings/appeals by subject, not individual full-text rulings).
Iter parlamentare
cerca_ddl_senato(argomento)— Senato bills by topic, with progress status.cerca_atti_camera(argomento)— Camera bills/proposals by topic, with iter status.
For deep SPARQL access to the full Camera/Senato ontologies (deputies, votes, groups, commissions, governments) see RepublicMCP — these two tools are a thin, topic-search-first complement, not a replacement.
OpenPolis · Openparlamento
Curated, enriched Parliament data via the OpenPolis OPDM API. License: CC-BY-NC — non-commercial use, attribute "Fonte: Openpolis".
cerca_parlamentari(testo?, ruolo?, solo_attivi?)— Search deputies/senators by name or role, ranked by power index.indice_di_forza(ramo?, limite?)— Power-index ranking of parliamentarians (Openpolis-exclusive metric).profilo_parlamentare(nome)— Member profile: group, role, constituency, attendance stats.cerca_votazioni(testo?, solo_voti_chiave?, solo_finali?, solo_fiducia?, esito?)— Votes by topic, with outcome, confidence/key-vote flags, cohesion.decreti_legge(testo?, stato?)— Decree-laws with conversion status and Normattiva link (chainable withcosa_modifica).attivita_legislativa(testo?, tipo?, stato?, ramo?)— Bills/acts across both chambers with iter phase, sponsors, rapporteurs.organi_parlamentari(ramo?, tipo?)— Groups (with power weights), presidency, or commissions.
Dati pubblici & statistiche
cerca_dati(parole_chiave)— Real datasets from Italian (dati.gov.it + regional/local CKAN portals) and EU (data.europa.eu) open-data catalogs.cerca_statistiche(argomento)— Official Eurostat statistics (unemployment, inflation, population, life expectancy, poverty, public debt, GDP...).
Temi specifici
cerca_pnrr(tema)— PNRR-funded projects by topic/place, with amount and iter phase. Source: OpenPNRR (Fondazione Openpolis, ODbL 1.0).accoglienza_migranti(luogo)— Migrant reception centers (CAS/CPA/Hotspot) by municipality/province/region: capacity, operator, daily cost. Source: Centri d'Italia (Fondazione Openpolis, CC-BY 4.0).
Known Limitations
cerca_leggerequires a reachable LightRAG instance with the legal corpus ingested — it currently covers Constitution + Codice Penale, not the full body of Italian law.cerca_sentenze_cassazioneonly covers the last ~6 years (SentenzeWeb's public window) — full historical Cassazione case law (CED) sits behind a personal SPID-authenticated session, not automatable as open data.cerca_giustizia_amministrativareturns dataset-level results (rulings/appeals by subject), not individual full-text rulings.cosa_modifica/chi_modifica/giurisprudenza_su/casi_pendenti_suread from local pre-built corpora (NORME_EDGES_DIR,SENTENZE_EDGES,PENDENZE_EDGES) — without those paths configured they return empty results rather than failing.OpenPolis-backed tools are non-commercial use only (CC-BY-NC) — don't repackage that data behind a paywall.
Related projects
Part of the italia-mcp-servers ecosystem. If you're building in this space:
RepublicMCP — sibling project, deep SPARQL access to the official Camera/Senato ontologies (30+ tools, hand-mapped OCD/OSR type system).
mcp-legal-it / BetterCallClaude Italia — other Normattiva/case-law MCP servers, useful cross-reference for citation handling.
ckan-mcp-server — generic CKAN connector (945+ portals) if you need broader open-data coverage than the bundled
cerca_dati.
Integration Context
Developed as part of Open Parlament, an agent that answers questions about the Italian state by joining law with public data, with real citations. Works entirely standalone as a general-purpose MCP server, independent of Open Parlament.
License
Apache-2.0
Maintained by: Giulio Garofalo — part of Open Parlament
Available Tools
24 toolsaccoglienza_migrantiAccoglienza MigrantiA
Centri di accoglienza per migranti (CAS/CPA/Hotspot) in un comune/provincia/regione: numero, capienza, ente gestore, costo giornaliero per ospite. Es. 'Napoli', 'Lombardia'. Fonte: Centri d'Italia (Fondazione Openpolis, CC-BY 4.0).
Inputs: luogo (required). Returns: object
attivita_legislativaAttivita LegislativaB
Cerca ATTI/DDL (tutti i rami) per tema, con tipo, iniziativa, fase dell'iter, primi FIRMATARI e RELATORI. Dati curati Openpolis. ramo: 'Camera' o 'Senato'.
Inputs: ramo, tipo, stato, testo. Returns: object
casi_pendenti_suCasi Pendenti SuA
Una norma/articolo è attualmente IMPUGNATA davanti alla Corte Costituzionale? (casi PENDENTI, da Atti di promovimento). Es. 'legge 197/2022 art 1', 'DL 145/2024 art 16'. Usa per 'è sotto giudizio della Consulta?' o 'ci sono ricorsi pendenti su ?'.
Inputs: norma (required). Returns: object
cerca_atti_cameraCerca Atti CameraA
Cerca atti/proposte di legge alla CAMERA per tema, con lo stato dell'iter (es. 'Approvato. Trasmesso al Senato'). Usa per 'quali proposte alla Camera su ' o lo stato di un atto alla Camera.
Inputs: argomento (required). Returns: object
cerca_datiCerca DatiA
Cerca dataset di dati pubblici REALI sui portali open-data italiano (dati.gov.it) ed europeo (data.europa.eu). Passa 1-3 parole chiave (es. 'ponte stretto', 'qualità aria', 'bilancio comune'). Restituisce titolo, ente, fonte e URL di ciascun dataset. Usa per opere pubbliche, costi, bilanci, appalti, ambiente, statistiche o numeri/fatti verificabili.
Inputs: parole_chiave (required). Returns: object
cerca_ddl_senatoCerca Ddl SenatoA
Cerca disegni di legge (DDL) al SENATO per tema, con lo STATO di avanzamento (In corso, Approvato, ...). Usa per 'quali DDL su ' o 'a che punto è il DDL su ' (nucleare, sicurezza, fisco, Roma Capitale).
Inputs: argomento (required). Returns: object
cerca_giustizia_amministrativaCerca Giustizia AmministrativaB
Cerca dati di GIUSTIZIA AMMINISTRATIVA (Consiglio di Stato + TAR) sul portale open data OpenGA: dataset di sentenze/ordinanze/ricorsi per materia (es. 'appalti', 'edilizia', 'ambiente'). Dati a livello di dataset (elenchi/statistiche), non il testo della singola sentenza.
Inputs: parole_chiave (required). Returns: object
cerca_leggeCerca LeggeA
Cerca nella legge italiana (Costituzione + Codice Penale) la risposta a una domanda giuridica. Restituisce una spiegazione con i riferimenti agli articoli citati (es. 'Cost. art. 3', 'C.p. art. 575'). Usa per: cosa prevede/dice la legge, reati, pene, diritti, doveri, principi costituzionali.
Inputs: domanda (required). Returns: object
cerca_legge_ueCerca Legge UeA
Cerca normativa dell'Unione Europea (regolamenti, direttive, decisioni) per argomento, via EUR-Lex. Restituisce gli atti UE pertinenti con CELEX, titolo e link a EUR-Lex. Usa per il diritto UE o quando serve la base normativa europea (es. 'protezione dei dati', 'intelligenza artificiale', 'rifiuti').
Inputs: argomento (required). Returns: object
cerca_parlamentariCerca ParlamentariA
Cerca PARLAMENTARI (Deputato/Senatore) per nome o ruolo, ordinati per indice di forza, con foto, ruoli e stato in carica. Dati curati Openpolis. Usa per 'chi è ', 'lista senatori', 'deputati di '.
Inputs: ruolo, testo, solo_attivi. Returns: object
cerca_pnrrCerca PnrrA
Progetti del PNRR per tema o luogo (es. 'asilo nido', 'ospedale Bari', 'banda larga'), con importo finanziato e fase dell'iter. Usa per 'progetti PNRR su ', 'fondi PNRR a '. Fonte: OpenPNRR (Fondazione Openpolis, ODbL 1.0).
Inputs: tema (required). Returns: object
cerca_sentenze_cassazioneCerca Sentenze CassazioneA
Cerca SENTENZE della Corte di CASSAZIONE (civili e penali) per argomento, via SentenzeWeb (ultimi ~6 anni). Restituisce numero/anno/sezione, tipo, articoli citati e link. Usa per la giurisprudenza di legittimità su un reato o un tema (es. 'omicidio stradale', 'licenziamento', 'truffa', 'diffamazione').
Inputs: argomento (required). Returns: object
cerca_sentenze_costCerca Sentenze CostA
Cerca SENTENZE della CORTE COSTITUZIONALE per argomento, nelle massime ufficiali (1956→oggi). Restituisce le pronunce pertinenti con numero/anno, massima sintetica e link. Usa per la giurisprudenza costituzionale su un tema/diritto/articolo (es. 'libertà di stampa', 'fine vita', 'ergastolo ostativo').
Inputs: argomento (required). Returns: object
cerca_sentenze_ueCerca Sentenze UeA
Cerca SENTENZE dell'Unione Europea (Corte di Giustizia UE / Tribunale) per argomento, via EUR-Lex (CELEX settore 6). Restituisce le pronunce con CELEX, titolo e link. Usa per la giurisprudenza UE o come la Corte di Giustizia ha interpretato il diritto dell'Unione (es. 'protezione dei dati', 'concorrenza').
Inputs: argomento (required). Returns: object
cerca_statisticheCerca StatisticheA
Cerca STATISTICHE UFFICIALI sull'Italia (Eurostat): disoccupazione, occupazione, inflazione, popolazione, speranza di vita, povertà, debito pubblico, PIL. Restituisce valore, unità, periodo e link alla fonte. Usa quando la domanda chiede un NUMERO/tasso/percentuale ('quanto/quanti', 'qual è il tasso di…').
Inputs: argomento (required). Returns: object
cerca_votazioniCerca VotazioniC
Cerca VOTAZIONI parlamentari per tema, con esito, voti di FIDUCIA, voti CHIAVE, voto segreto e coesione di maggioranza/minoranza. Dati Openpolis. esito es. 'Approvata'/'Respinta'.
Inputs: esito, testo, solo_finali, solo_fiducia, +1 more. Returns: object
chi_modificaChi ModificaA
CHI ha modificato una norma o un suo articolo (relazioni autoritative da Normattiva). Es. 'Codice Penale art 575'. Restituisce gli atti modificanti con tipo di intervento ed evidence.
Inputs: norma (required). Returns: object
cosa_modificaCosa ModificaA
Cosa MODIFICA/ABROGA/SOSTITUISCE/INSERISCE una legge o decreto (relazioni autoritative da Normattiva). Es. 'DL 19/2024'. Restituisce gli interventi raggruppati per tipo, con norma+articolo ed evidence.
Inputs: norma (required). Returns: object
decreti_leggeDecreti LeggeA
Cerca DECRETI LEGGE per tema, con lo stato di CONVERSIONE in legge, l'atto di conversione e il link a Normattiva (campo normattiva_urn, concatenabile con cosa_modifica). Dati Openpolis.
Inputs: stato, testo. Returns: object
giurisprudenza_suGiurisprudenza SuA
Quali SENTENZE della Corte Costituzionale hanno deciso su una norma/articolo e con quale ESITO (incostituzionale / infondata / inammissibile). Es. 'art. 21 Cost.', 'art. 186 codice della strada'. Usa per 'la Consulta si è pronunciata su ?' o 'è mai stato dichiarato incostituzionale ?'.
Inputs: norma (required). Returns: object
indice_di_forzaIndice Di ForzaB
Classifica dei parlamentari per INDICE DI FORZA (pp) di Openpolis: chi ha più potere/influenza in Parlamento e Governo. Esclusiva Openpolis. ramo opzionale: 'camera' o 'senato'.
Inputs: ramo, limite. Returns: object
novita_normativeNovita NormativeA
Ultimi atti pubblicati in GAZZETTA UFFICIALE (Serie Generale per default) dal feed RSS ufficiale.
Restituisce titolo, data di pubblicazione e link per ciascun atto, più numero/data della GU. Filtro
opzionale argomento (parola chiave nel titolo). Usa per 'novità normative', 'ultimi decreti/leggi',
'cosa è uscito in Gazzetta di recente'.
Inputs: serie, argomento. Returns: object
organi_parlamentariOrgani ParlamentariA
Elenca ORGANI PARLAMENTARI: GRUPPI (con peso per schieramento), PRESIDENZA (presidente e vicepresidenti) o COMMISSIONI. Dati Openpolis. tipo: groups|presidency|commission_councils.
Inputs: ramo, tipo. Returns: object
profilo_parlamentareProfilo ParlamentareA
Scheda di un PARLAMENTARE: gruppo, ruolo, collegio e statistiche di presenza (presente/assente/in missione/ribelle/voti). Dati Openpolis. Usa per 'profilo/scheda/presenze di '.
Inputs: nome (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 24 tools
The tools are organized around distinct Italian legal/parliamentary domains (e.g., constitutional case law, EU law, parliamentary bill status, open data), and each description clarifies its unique source and purpose. A few pairs like 'giurisprudenza_su' and 'cerca_sentenze_cost' could overlap in intent, but their descriptions make the article-focused vs. keyword-focused boundary clear.
There is a strong but incomplete 'cerca_' verb_prefix convention covering about half the tools, while the remainder use noun phrases or question-style names ('novita_normative', 'cosa_modifica', 'chi_modifica', 'indice_di_forza'). This mixed convention makes tool discovery less predictable, despite the Italian naming being readable.
With 24 tools, the server is at the high end of the 'heavy' range. The breadth is understandable given the domain spans Italian legislation, EU law, parliamentary workflow, open data, and statistics, but the count borders on excess and could be trimmed by consolidating some rare-purpose tools.
The toolset covers an unusually wide range of legal and parliamentary workflows: searching laws, case law, pending challenges, legislative amendments, bills, parliamentary members, votes, and open-data statistics. Minor gaps exist, such as no direct full-text retrieval of an arbitrary law article and limited ability to track a single bill across both chambers, but most reasonable queries can be satisfied.
Maintenance
Related MCP Connectors
Deterministic European sovereign engine with 32 tools for AI agents: EU Tax/KYB (VIES, FatturaPA XML), Italian Tenders (D.Lgs 36/2023, ANAC), DORA, NIS2, Energy, Materials and Labour law.
Query official statistics through MCP, with periods, places and citable sources in every answer.
Italian administrative courts MCP -- search and read the published rulings of the Consiglio di…
Resolve, search and verify legal citations against the official sources, with provenance.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables querying a comprehensive data lake of Italian civic open data, returning cited facts about Italian municipalities across domains like environment, education, finance, and governance.1-
- AlicenseNot gradedqualityFmaintenanceMCP server for Italian law – indexes statutes from Normattiva such as Codice Civile, Codice Penale, and more, with EU implementation mapping.52 npm1Apache 2.0
- FlicenseNot gradedqualityCmaintenanceEnables retrieval-augmented question answering over EU AI Act and NIS-2 legal texts via MCP tools, with hybrid search and verified article-level citations.-
- AlicenseNot gradedqualityBmaintenanceEnables searching, retrieving and citing official legal sources —BOE legislation and gazette, regional bulletins, CENDOJ, Constitutional Court, EUR-Lex, CJEU and ECtHR— returning each text verbatim with its official identifier and URL. It supports lookup by citation, ECLI, CELEX or keyword across seventeen MCP tools.MIT