Public Procurement & ANAC Tenders
Deterministic Public Procurement Engine for Italian & EU Tenders
This vertical exposes a dedicated Model Context Protocol (MCP) Streamable HTTP endpoint featuring 4 mathematically deterministic compliance tools. Specifically engineered for autonomous AI agents, enterprise ERPs, and compliance pipelines to ensure exact statutory verification without probabilistic hallucination.
Quick AI Agent Setup (Cursor / Claude Desktop / n8n)
https://appalti-mcp.novapixel.it/{
"mcpServers": {
"lexgrid-gov-appalti": {
"url": "https://appalti-mcp.novapixel.it/"
}
}
}
{
"mcpServers": {
"lexgrid-gov-appalti": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://appalti-mcp.novapixel.it/"]
}
}
}
01. Statutory Architecture & Mathematical Precision
Public procurement in Italy operates under strict statutory determinism governed by D.Lgs. 36/2023. Contracting authorities and RUPs must execute rigid mathematical formulas without arbitrary rounding—from the 10% wing-trimming arithmetic exclusion (Allegato II.2 Metodo A e B) to ANAC CIG modulo-11 checksums and provisional guarantee reductions based on ISO quality certifications.
Unlike probabilistic LLM inference which may hallucinate tax percentages, distort statutory thresholds, or produce subtle rounding discrepancies, this engine isolates all math, validation logic, and regulatory constraints into pure, auditable TypeScript routines operating with exact precision (via decimal.js and official XSD/XML schemas).
02. Included Deterministic Tools
cig_cup_anac_validator
L. 136/2010 Art. 3 & Delibere ANACANAC 10-char CIG modulo checksum and 15-char public investment CUP registry validation.
Statutory Anchor: L. 136/2010 Art. 3 & Delibere ANAC
bando_thresholds_calculator
Artt. 14, 50, 71, 106 D.Lgs. 36/2023EU procurement thresholds, direct award limits, mandatory publication windows and ISO provisional guarantee discounts.
Statutory Anchor: Artt. 14, 50, 71, 106 D.Lgs. 36/2023
subappalto_cascade_limiter
Art. 119 D.Lgs. 36/2023Enforces cascade subcontracting limits, high-intensity labor checks, and non-rebate safety & wage guarantees.
Statutory Anchor: Art. 119 D.Lgs. 36/2023
anomalia_offerte_calculator
Art. 110 & Allegato II.2 D.Lgs. 36/2023Official 10% wing-trimming and statutory anomaly threshold calculation for lowest-price public tenders.
Statutory Anchor: Art. 110 & Allegato II.2 D.Lgs. 36/2023
03. Enterprise & AI Agent Workflows
Tender Notice Pre-Flight Verification
Validates CIG/CUP codes, checks whether direct awards are permissible under Art. 50 thresholds, and calculates minimum mandatory publication deadlines in days.
Subcontracting Cascade Audit
Enforces cascade subcontracting limits under Art. 119, verifies SIOS specialized works compliance, and protects mandatory non-rebate workplace safety costs.
Automatic Anomaly Threshold Calculation
Eliminates manual spreadsheet errors by executing certified 10% wing-trimming and arithmetic anomaly threshold formulas under Art. 110.
04. Live Payload Specification (Tool: cig_cup_anac_validator)
JSON-RPC / REST 200 OK
{
"discountPercentages": [12.5, 14.2, 10.0, 18.5, 22.1],
"method": "METODO_A"
}
{
"status": "success",
"deterministic_execution": true,
"suite": "gov-appalti",
"tool": "anomalia_offerte_calculator",
"data": {
"anomalyThresholdPercentage": 16.35,
"methodUsed": "METODO_A",
"admittedOffers": [12.5, 14.2, 10.0, 18.5, 22.1]
}
}
05. Regulatory Framework & Statutory Basis
All algorithms operate under official formulas enacted by statutory regulations, without approximations or probabilistic inferences:
- ⚖️ D.Lgs. 31 marzo 2023, n. 36 (Nuovo Codice dei Contratti Pubblici)
- ⚖️ Allegato II.2 (Metodi A e B di esclusione automatica e calcolo soglia di anomalia)
- ⚖️ Art. 110 (Offerte anormalmente basse e contraddittorio)
- ⚖️ Art. 119 (Subappalto a cascata e tutela della manodopera)
- ⚖️ Delibere ANAC su CIG Ordinario, SmartCIG e tracciabilità CUP
06. Frequently Asked Questions & Regulatory Details
How does LexGrid compute the 10% wing-trimming under Allegato II.2? ↓
The algorithm sorts all admitted percentage discounts, rounds 10% of the total count to determine the top and bottom wings to trim, computes the arithmetic mean of remaining offers, and derives the statutory anomaly threshold strictly following the formulas enacted in Allegato II.2 of D.Lgs. 36/2023.
What is the difference between Ordinary CIG and SmartCIG validation? ↓
Ordinary CIG consists of 10 alphanumeric characters with a specific modulo-11 check digit algorithm, while SmartCIG applies to direct awards with distinct structural rules. LexGrid automatically identifies the type and validates checksum integrity.
Can this MCP suite be integrated into internal Public Administration software? ↓
Yes. The suite is accessible via standard Model Context Protocol (MCP) Streamable HTTP or direct JSON REST calls, allowing seamless integration with ERPs, protocol platforms, and AI assistants like Cursor, Claude Desktop, and n8n.