Repository navigation
Releases
Releases · LexCraft-IT/mcp-legal-it
v3.0.0-beta.5
Fifth beta of 3.0 and the release candidate for the GA. This is a pre-release: releases/latest and the Claude Code marketplace keep serving 2.17.2.
Try it: download the .mcpb (Claude Desktop), the plugin zip or the OpenAI skills bundle below, or git checkout v3.0.0-beta.5. Upgrading from 2.x: docs/migration/2.x-to-3.0.md.
What changed since 3.0.0-beta.4
- Brocardi off by default (LI-079, #188): a default install lists 233 tools, 235 with
LEGAL_BROCARDI=on. - Act resolution (G-440): more spellings, sigle and nicknames of acts (#160, #161, #162, #166), the codice di giustizia contabile (#167), the act types of 1944-1948 and the legge Basevi (#164, #181, #183).
- GA decisions (LI-086):
- Vigenza: a deferred entry into force is never served as the text in force (#173, #179, #180).
- Act models: the grave-warning fixes of 2.17.2 (#182), and the seven findings of the act-model trial (#199, closes #195).
- The 34 models that pointed at missing resources now route to the act catalogue.
- Precetto and decreto ingiuntivo are priced on their own fee tables.
verifica_mediazione_obbligatoriaanswersnull, notfalse, for a matter it cannot place.
- Codice deontologico forense, read from the CNF PDF (#158, #159).
- Deadlines: the prudent date of art. 482 c.p.c. applies art. 155 in full (LI-073, #157).
- EUR-Lex: when CELLAR does not serve a consolidation, the server falls back to the OJ text (#165).
- Senato: searches fit the URL length the site accepts (#186, #187).
- Cookie audit: the newsletter probe reads the form action (#175).
- Dependencies:
- Docs: links point to LexCraft-IT/mcp-legal-it after the repository transfer (#198); the GA checklist and decisions (#184, #192).
The whole 3.0 work is in CHANGELOG.md.
Full diff: v3.0.0-beta.4...v3.0.0-beta.5
v2.17.2
Security
- The plugin and the extension no longer read the Python environment or the uv
configuration of the folder they are launched from. The citation hook and the
.mcpbserver started uv in the user's folder, where it could use a Python
environment found there or above it, and its configuration. They now start uv in
their own folder, in a throwaway environment (--isolated --no-config --directory).
The plugin's server, started from its own locked project, was not affected. A test
runs both launchers next to such an environment. - The FastMCP floor excludes the vulnerable releases. The plugin's lock has
FastMCP 3.4.11 (it was 3.4.9: GHSA-7xgj-8392-5q4r, component authorization after a
transform was skipped on direct calls). The.mcpbasks forfastmcp>=3.4.11,<4
(it was>=2.0,<4), library installs forfastmcp>=3.4.11,!=4.0.*,!=4.1.0,!=4.1.1,<5
(it was>=3.4,<5, which admitted the releases affected by GHSA-7xgj-8392-5q4r and,
on 4.x, GHSA-vqqp-x5qm-5qp4). The.mcpblauncher changes, so Claude Desktop
rebuilds itsuvenvironment once, on the first start of 2.17.2. - Legal references are parsed in linear time. A comma's suffix ("comma 1bis") could
be matched in many ways, and some long references held the server for seconds or
minutes. Well-formed references read as before; a malformed suffix is refused
instead of being folded into the act's name. - Three vulnerable libraries in the plugin's lock (published 16/11/2026), all pulled in
indirectly: dnspython 2.9.0 → 2.9.2 (CVE-2026-128089), opentelemetry-api 1.45.1 → 1.45.2
(CVE-2026-126360), soupsieve 3.0.3 → 4.0.1 (CVE-2026-126190). No declared requirement
changes; the lock keeps its format (revision 3). pip-audit on the lock finds none.
Fixed
- Act models whose warnings cost the act or the right (G-493). Each was reread on the text
in force on Normattiva. Only the models below were reread; the others are unchanged in this
release (the istanza di esecutorietà model, for one, still counts «40 giorni + 10»).opposizione_decreto_ingiuntivoandrelata_pec_opposizione_digave «40 giorni dalla
notifica». The term is the one the decree fixes (art. 641 co. 1-2 c.p.c.): 40 days, down to
10 or up to 60 for giusti motivi; 50 days, down to 20, for a debtor in another EU State; 60,
between 30 and 120, elsewhere. A late opposition is admitted only under art. 650: no timely
knowledge of the decree (irregular notification, caso fortuito, forza maggiore) or, after C.
Cost. 120/1976, knowledge of it but no way to oppose in time for caso fortuito or forza
maggiore; never past ten days from the first act of execution. The opposition model is now the
atto introduttivo (before the giudice di pace, ricorso semplificato, art. 316 co. 1; before the
tribunale, citazione, or ricorso in the rito semplificato, art. 281-decies co. 3), with the art.
645 co. 3 hearing and a field for the term in the decree.
Thedecreto_ingiuntivotool'stermini.opposizionesays the same, and so do the
legal://riferimenti/termini-processualitable and the
legal://riferimenti/checklist-decreto-ingiuntivochecklist, whose istanza di
esecutorietà no longer waits «40 giorni» but the term fixed in the decree.avviso_543_5_cpcwas addressed to the debtor. It is notified to the third party, with the
numero di ruolo, and, notified, deposited in the file, both by the hearing date; otherwise the
pignoramento is inefficace (towards the third parties whose notice is not notified or
deposited, art. 543 co. 5 c.p.c.). Fields for the numero di ruolo and the hearing date.vendita_immobiliasked to attach an expert valuation (art. 568) and pointed to the catasto
calculator. The judge sets the market value on the parties' elements and the art. 569
expert's; what the creditor deposits, within the art. 497 term, is the catasto extract and
the twenty-year certificates, or a notarial certificate, on pain of inefficacia, with the
transcription cancelled and, without other goods, the process extinguished (art. 567 co. 2-3).
The art. 501 ten-day wait is stated too.- The live test that certified «40 giorni» as correct now checks the decree's term, with rows
for the other three models.
- Citations read as another act, or refused although right (G-493, found in G-440).
- A decree whose main text is an annex, cited by its own number. «art. 1 d.lgs.
175/2024» answered the testo unico's art. 1 (its annex) under the decree's URN, unlabelled;
the decree has an art. 1 of its own («È approvato l'allegato testo unico …»). The same for
the R.D. 262/1942 (artt. 1-2 are the decree's, not the codice civile's) and the d.lgs.
104/2010. The decree's own article now comes from its page; one the decree lacks comes from
the annex, labelled with it (allegato;cite_lawsays «Testo tratto da: …»). An act cited
without an article, and codes cited by name, are unchanged («art. 2043 c.c.», «art. 30
c.p.a.», «legge fallimentare»). - «legge sulle locazioni abitative» was typed as a decreto legislativo, so it was refused as
another act: it is the L. 9 dicembre 1998, n. 431. - Historical headings. Asked a «legge» or «r.d.» n. 512 of 1946, Normattiva serves the
D.Lgt. 30 marzo 1946, n. 512, whose art. 1 was answered as the act cited. «DECRETO
LUOGOTENENZIALE», «DECRETO DEL CAPO PROVVISORIO DELLO STATO» and «DECRETO LEGISLATIVO DEL CAPO
PROVVISORIO DELLO STATO» head real pages (measured on 1923-1950) and now mark another act:
refused, with the year or the full date. A D.Lgs.C.P.S. cited as a «d.lgs.» is the act cited
(the legge Basevi, «art. 26 d.lgs. 1577/1947»). - Cached export addresses. The export's address index never expires, and an entry written
before the historical headings were known may hold the D.Lgt.'s export for a «legge
512/1946». Its entries carry a new mark («intestazione-2»), so those older ones are no longer
read.
- A decree whose main text is an annex, cited by its own number. «art. 1 d.lgs.
- An act cited by its year is never read as another act Normattiva serves in its place
(#136, #146). Normattiva's resolver does not check an act's type: asked for a D.M. n. 241
of 1990 by its year it serves L. 7 agosto 1990, n. 241, andcite_law("art. 3 d.m. 241/1990")answered with the law's art. 3 under a decree's URN (a d.lgs. or a DPCM the
same: DPCM n. 158 of 2014 got L. 17 ottobre 2014, n. 158).- Another act's heading is refused, for every type. When the page's heading names a
known type that is not the one cited, or another year or number, every reader of the
act (article, annex, full text, index,cite_law) answers «nessun atto … la pagina
restituita è «LEGGE 7 agosto 1990, n. 241»» and asks nothing more. - Ministerial decrees, DPCM, d.lgs.lgt. These are dated by their page alone, so they
are taken only when the heading names them (headings measured on real pages:
«DECRETO», «DECRETO DEL PRESIDENTE DEL CONSIGLIO DEI MINISTRI», «DECRETO LEGISLATIVO
LUOGOTENENZIALE», «DECRETO-LEGGE LUOGOTENENZIALE»), with the heading's day. When the
page cannot be read or verified now, the answer says to retry later or to cite the
act with its full date, rather than read the year-only address, which would serve the
law. - With a full date too. The address of a D.M. 7 agosto 1990, n. 241 serves the same
law: every page read (the article, the act's page before the Akoma Ntoso export, the
full text, the index) is checked against the act its address asks for, and another
type, number, year or day is refused, naming the page. The export's address index
keeps only entries written after that check. Ported from the 3.0 line.
- Another act's heading is refused, for every type. When the page's heading names a
- The plugin says why its server stopped at start. When the server exited before the
plugin's first-start relay had handed it the session (an import error, a bad Python), the
relay's write failed and the client was told «BrokenPipeError» instead of the server's
exit code; Python 3.14's timing made it common. It now waits briefly and reports
«server exit N». - The server starts on Python 3.14 (#49, by @HeDo88TH). Python 3.14 no longer copies
a function's annotations infunctools.wraps(PEP 649), sotermini_183_190_cpc, the
one tool flagged both previgente and with its tables declared, lost the type hints of
its parameters and the server stopped at import withKeyError: 'data_udienza'. The
wrapper now carries them. The packaged launchers run Python 3.12: this mattered to
installs from pip or uvx on 3.14. From the same contribution, the annotation audit and
two isolated tests also run on Windows. - The server starts on Windows (#133). Thirty reads of the bundled tables, the
legal://resources and the Brocardi cache named no encoding, so Python used the
locale's, cp1252 on Windows: the server stopped at start with aUnicodeDecodeError,
and a table it could decode would have been read garbled. The installer read and wrote
the Claude configuration files the same way. All of them say UTF-8 now (the installer
also accepts a configuration saved with a BOM, and reads the output of the commands it
runs as UTF-8). The citation hook read its input in the locale encoding too: on a Windows
account with an accented name it could not open the session and stopped checking in
silence; it now reads the input as UTF-8, and so does the PDF export script of the
esporta-documentoskill when the markdown is piped into it. A test scans the shipped code for text I/O
without an encoding, and another imports the server with-X warn_default_encoding.
Reported, with the cause and the fix, by @Liguria360. leggi_provvedimento_ammreads the full text again. Since October 2026 the
portal's document address (mdp.giustizia-amministrativa.it/visualizza/) serves the
provvedimento as an HTML page instead of the `...
v3.0.0-beta.4
v2.17.1
What's Changed
- fix: 2.17.1 — cite_law act-first, CGUE SSRF, article ranges, other courts, codes served by their annex, certifi by @capazme in #66
Full Changelog: v2.17.0...v2.17.1
v2.17.0
What's Changed
Full Changelog: v2.16.1...v2.17.0
v2.16.1
v2.16.0
v2.15.3
What's Changed
Full Changelog: v2.15.2...v2.15.3