Open·Parlamento
query the law · real sources · living graph
Open·ParlamentoProjects & libraries
open source · npm · PyPI · GitHub

Projects & libraries

Open·Parlamento is reuse-first and open source. Here are my projects and published libraries — MIT code, data from official and citable sources. Everything is installable and inspectable.

Where it began

It all started with RepublicMCP: an MCP server that exposes the Italian Chamber and Senate as agentic tools over SPARQL. Mapping the OCD (Chamber) and OSR (Senate) ontologies and their relations is what sparked the bigger idea — uniting law and public data into a single queryable graph. Open·Parlamento is the natural evolution.

My projects

ProjectTypeWhat
Open·Parlamento ↗GitHub · monorepoThe project: a function-calling agent, connectors, knowledge graph and webapp. The layer that makes queryable the sources that, on their own, are not. active
RepublicMCP ↗GitHub · TypeScriptThe origin. An MCP server exposing the Chamber and Senate (acts, legislative process, votes, signatories) over SPARQL, with the OCD/OSR ontologies documented and diagrammed. origin
republic-mcp ↗npm · TypeScriptThe published RepublicMCP package: «npx -y republic-mcp». Chamber & Senate + Openpolis data (MPs, power index, votes, decrees, organs). published
open-parlamento-mcp ↗PyPI · PythonThe MCP server for law and data: Constitution and codes, Normattiva amendments, legislative process, EU/Constitutional/Cassation case law, statistics, Official Gazette, CKAN data. published

Open data

DatasetFormatWhat
Relations graph ↗JSONAmendment/repeal/replacement relations between statutes and articles, from Normattiva (Akoma Ntoso), with provenance and confidence. open
Legal corpus ↗HTML · ELIPer-article consolidated text of decrees and laws, with ELI identifiers and static, indexable pages. open

What it stands on

Nothing from scratch where a standard exists:

How to install

Both MCP servers work from Claude Desktop, Cursor and other compatible clients. The full guide is on the MCP server page.

republic-mcp · npm ↗ · open-parlamento-mcp · PyPI ↗ · code · GitHub ↗

FAQ

Which project did Open·Parlamento grow out of?

RepublicMCP: the MCP server that exposes the Chamber and Senate over SPARQL. Mapping the OCD and OSR ontologies sparked the idea of uniting law and data into a single queryable graph.

Are the projects open source?

Yes. The code is published under the MIT license on GitHub; packages are on npm (republic-mcp) and PyPI (open-parlamento-mcp). Data comes from public, citable sources.

Can I use the libraries without the webapp?

Yes. The MCP servers are standalone: «npx -y republic-mcp» or «pip install open-parlamento-mcp», then configure them in your MCP client. They work independently of the website.

See also

MCP server · Open data · How it works · Versione italiana

Informational tool — not legal advice. MIT code, public and citable sources (ELI/CELEX).