it-eli-mcp

v0.7.3
io.github.matematicsolutions/it-eli-mcp Checked 8 hours ago Published 3 months ago

Italian law: Normattiva legislation + Corte Costituzionale, Cassazione and TAR case law, live.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

it_list_codes

List the major Italian codes and consolidated acts with their canonical URN. A curated, verified dictionary (Codice civile/penale/procedura, Codice privacy, CAD, D.Lgs. 231/2001, Costituzione, L. 241/1990). Feed any ``urn`` to ``it_get_act`` / ``it_get_text``.

it_resolve

Build a canonical, resolvable URN:NIR from act coordinates. Offline (no network). ``act_type`` accepts friendly forms ('legge', 'd.lgs', 'dpr', 'regio.decreto'). With only ``year`` + ``number`` the partial URN still resolves on Normattiva; add ``month``/``day`` for the exact promulgation date.

ParameterTypeDescription
query *object``ResolveQuery`` (act_type, year, number, month?, day?, authority).

it_get_act

Fetch act metadata from Normattiva.

ParameterTypeDescription
reference *stringa code name ("codice civile"), a URN ("urn:nir:stato:legge:1990-08-07;241"), an ELI path ("eli/id/1990/08/18/090G0294"), or a normattiva.it URL.

it_get_text

Fetch the text of a whole act or a single article.

ParameterTypeDescription
reference *stringa code name, URN, ELI path, or normattiva.it URL.
articlean article number ("2043", "art. 2043", "2043-bis"). Omit for the whole act.
at_dateISO date ("2020-01-01") for the point-in-time (multivigenza) version; omit for the version in force today (consolidated).
formatstring``"text"`` (extracted, whitespace-normalized) or ``"akn_xml"`` (raw Akoma Ntoso; only valid for the whole act).

it_case_get_decision

Fetch the full text of one Constitutional Court decision, by ECLI or year + number.

ParameterTypeDescription
annoyear (used with ``numero`` when ``ecli`` is not given).
eclian ECLI, e.g. "ECLI:IT:COST:2024:1".
numerodecision number (used with ``anno``).

it_case_recent

The most recent Constitutional Court decisions in the index (newest first).

ParameterTypeDescription
limitintegermax items (1..100).

it_case_stats

Constitutional case-law index coverage and freshness (totals, years, last build).

it_cassazione_get

Fetch the full text of one Corte di Cassazione decision, live, by its SentenzeWeb id.

ParameterTypeDescription
sic_id *stringthe SentenzeWeb ``id`` (e.g. "snciv2024D01234O"), as returned by ``it_cassazione_search`` hits.

it_ga_get_decision

Fetch the full text of one administrative decision, live, by its document URL.

ParameterTypeDescription
document_url *stringthe ``document_url`` of an ``it_ga_search`` hit, verbatim (an ``https://mdp.giustizia-amministrativa.it/visualizza/?...`` URL).

it_coverage

Declare what this connector covers, how it is sourced, and what it does NOT cover. Call this before telling a user that the law "does not contain" something, and whenever a search comes back empty: the absence may be a gap in this connector rather than in the law. Every gap carries a fallback saying where to look instead. Returns: ``Coverage`` with families, an as-of note, and a non-empty list of known gaps.

it_verify_citations

Verify Italian legal citations found in a text against their real sources. Extracts statute citations ("art. 2043 c.c.", "art. 5 della legge 241/1990", "artt. 1341 e 1342 c.c.", commi) and ECLIs, then checks each: statutes against the live Normattiva act (does the act resolve? does the article exist?), ECLI:IT:COST against the local Constitutional Court index. A parenthetical description right after a citation is content-checked with a trigram match (mismatch = review signal). Non-existent articles come back with a range hint of what DOES exist.

ParameterTypeDescription
text *stringthe text to verify (an LLM answer, a memo, a contract clause).
max_citationsintegercap on citations to verify (1..30, default 15).