B2A SPECIALIZED HUB • DETERMINISTIC COMPLIANCE SPECS

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.

🎯 Target: Procurement Officers, Contracting Authorities, Tender Managers, Administrative Law Firms

Quick AI Agent Setup (Cursor / Claude Desktop / n8n)

https://appalti-mcp.novapixel.it/
// 1. Add to .cursor/mcp.json:
{
  "mcpServers": {
    "lexgrid-gov-appalti": {
      "url": "https://appalti-mcp.novapixel.it/"
    }
  }
}
// 2. Claude Desktop (claude_desktop_config.json):
{
  "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 ANAC
$0.08 USDC

ANAC 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/2023
$0.20 USDC

EU 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/2023
$0.25 USDC

Enforces 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/2023
$0.22 USDC

Official 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

01

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.

02

Subcontracting Cascade Audit

Enforces cascade subcontracting limits under Art. 119, verifies SIOS specialized works compliance, and protects mandatory non-rebate workplace safety costs.

03

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
// Sample Request Payload:
{
  "discountPercentages": [12.5, 14.2, 10.0, 18.5, 22.1],
  "method": "METODO_A"
}
// Deterministic Response Envelope:
{
  "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:

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.