# Energy Decarbonization, Case Green EPBD & ETS 2 — NovaPixel LexGrid MCP
> Deterministic Building Decarbonization, ETS 2 Carbon Tax & CER Communities

## Endpoint Details
- **Dedicated Host**: https://energy-mcp.novapixel.it/
- **Protocol**: Model Context Protocol (MCP) Streamable HTTP / Server-Sent Events (SSE)
- **Suite Identifier**: `energy-epbd`
- **Deterministic Tools**: 4
- **Audience**: Energy Managers, E.S.Co. Engineers, Building Decarbonization Specialists, CER Operators, Real Estate CFOs
- **Provider**: NovaPixel LexGrid (Sovereign Infrastructure)
- **Official Inquiries**: lexgrid@novapixel.it
- **Central Documentation**: https://lexgrid.novapixel.it

---

## 1. Statutory Architecture & Mathematical Precision
The European building and energy sectors are undergoing unprecedented statutory decarbonization driven by the Energy Performance of Buildings Directive (EPBD IV / "Case Green", Directive (EU) 2024/1275), the extension of emissions trading to heating and transport (EU ETS 2 from 2027 under Directive (EU) 2023/959), Renewable Energy Communities incentives (D.M. MASE 414/2023), and ARERA regulated tariff unbundling. LexGrid executes certified mathematical algorithms to audit primary energy cut targets, project 2027 carbon tax liabilities, calculate 20-year GSE incentive cash flows, and decompose electricity and gas bills.

---

## 2. Included Deterministic Tools (Exact Statutory Calculation)
### `case_green_epbd_target_audit` ($0.10 USDC (10 crediti))
- **Statutory Reference**: Direttiva (UE) 2024/1275 (EPBD IV Case Green)
- **Specification**: Audits building APE energy performance against mandatory EPBD IV Directive (EU) 2024/1275 targets (-16% 2030, -21% 2035), audits priority 43% worst stock, and flags 2025 fossil boiler subsidy bans.

### `ets2_carbon_tax_projector` ($0.10 USDC (10 crediti))
- **Statutory Reference**: Direttiva (UE) 2023/959 (ETS 2 Edifici e Trasporti)
- **Specification**: Calculates the financial impact of Directive (EU) 2023/959 ETS 2 carbon pricing on natural gas, heating oil, and LPG starting 2027 across base ceiling, market, and stress EUA-2 price scenarios.

### `cer_incentivi_gse_calculator` ($0.50 USDC (50 crediti))
- **Statutory Reference**: D.M. MASE 414/2023 & Delibera ARERA 727/2022 (TIAD)
- **Specification**: Computes 20-year GSE incentive tariff premiums for CERs under D.M. MASE 414/2023 and ARERA TIAD, applying capacity tiers, geographic insolation corrections, and PNRR 40% capital grant rules.

### `arera_bill_decomposer` ($0.01 USDC (1 credito))
- **Statutory Reference**: ARERA Testo Integrato Trasporto (TIT) e Fatturazione (TIF)
- **Specification**: Algorithmic decomposition of electric and natural gas invoices under ARERA TIT/TIF rules into energy commodity, transport and meter management, general system charges (ASOS/ARIM), and excise/VAT taxes.


---

## 3. Enterprise & AI Agent Workflows
### 01. EPBD IV "Case Green" Building Trajectory Audit
Calculates binding primary energy reduction targets (-16% by 2030, -21% by 2035) from APE certificate baseline, audits worst-performing 43% stock, and enforces 2025 fossil boiler subsidy prohibitions.

### 02. ETS 2 Carbon Tax Financial Projector (2027-2035)
Projects direct carbon tax surcharges on natural gas, heating oil, and LPG under EUA-2 carbon price scenarios (€45 base cap, €65 market, €90 stress), computing annual costs and heat pump ROI.

### 03. CER Community GSE Incentive & ARERA Bill Audit
Calculates 20-year GSE premium tariffs (60-120 €/MWh) with geographic insolation corrections and PNRR 40% capital grants, and decomposes industrial and domestic utility invoices under ARERA TIT rules.

---

## 4. Live Payload Specification
### Request Payload (Tool: `case_green_epbd_target_audit`)
```json
{
  "buildingType": "RESIDENTIAL",
  "currentEnergyClass": "G",
  "epglNren_kWh_m2_year": 240.5,
  "floorAreaM2": 150,
  "heatingSystem": "STANDALONE_GAS_BOILER"
}
```

### Response Envelope
```json
{
  "status": "success",
  "deterministic_execution": true,
  "suite": "energy-epbd",
  "tool": "case_green_epbd_target_audit",
  "data": {
    "isWorstPerformingBuildingStock": true,
    "epbd2030Target": { "requiredReductionPercentage": 16, "targetMaxEpglNren_kWh_m2_year": 202.02 },
    "epbd2035Target": { "requiredReductionPercentage": 21, "targetMaxEpglNren_kWh_m2_year": 190.00 }
  }
}
```

---

## 5. Regulatory Framework & Statutory Basis
- Direttiva Case Green EPBD IV (UE) 2024/1275
- Direttiva ETS 2 Emission Trading (UE) 2023/959
- D.M. MASE 7 dicembre 2023 n. 414 (Decreto CER)
- Delibera ARERA 727/2022/R/eel (Testo Integrato Autoconsumo Diffuso TIAD)
- Testi Integrati ARERA Trasporto e Fatturazione (TIT/TIF)
- D.Lgs. 192/2005 e D.M. 26/06/2015 (Linee Guida Nazionali APE)

---

## 6. Frequently Asked Questions & Regulatory Details
### Q: What are the binding national targets for residential buildings under EPBD IV?
**A**: Member States must ensure average primary energy use of residential buildings decreases by at least 16% by 2030 and 20-22% by 2035 compared to baseline. At least 55% of this decrease must be achieved through renovating the 43% worst-performing buildings (classes G, F, E).

### Q: How will ETS 2 affect heating bills starting in 2027?
**A**: Directive (EU) 2023/959 extends emissions trading to heating fuel distributors. At an estimated carbon price of €65/tCO2e, distributors will pass through approximately €0.13 per standard cubic meter (Smc) of natural gas and €0.18 per liter of diesel directly onto end-user bills.

### Q: How does the GSE 20-year incentive tariff for CER communities work?
**A**: D.M. MASE 414/2023 provides a guaranteed 20-year premium tariff on electricity shared under the primary electrical substation. The tariff varies between 60 and 120 €/MWh depending on plant capacity, reference PUN wholesale price, and geographic solar insolation (with a +10 €/MWh correction in Northern Italy).

---

## 7. Quick AI Agent Integration

### Cursor Configuration (`.cursor/mcp.json`)
```json
{
  "mcpServers": {
    "lexgrid-energy-epbd": {
      "url": "https://energy-mcp.novapixel.it/",
      "headers": {
        "X-API-Key": "YOUR_API_KEY_OR_LEAVE_EMPTY_FOR_FREE_TRIAL"
      }
    }
  }
}
```

### Claude Desktop Configuration (`claude_desktop_config.json`)
```json
{
  "mcpServers": {
    "lexgrid-energy-epbd": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://energy-mcp.novapixel.it/"]
    }
  }
}
```

### Direct REST Invocation
```bash
curl -X POST https://energy-mcp.novapixel.it/v1/energy-epbd/[tool-endpoint] \
  -H "Content-Type: application/json" \
  -d '{"param": "value"}'
```

---

© 2026 NovaPixel — https://lexgrid.novapixel.it — Contact: lexgrid@novapixel.it
