# EU CBAM Compliance & Emissions Calculator (2026+ API & MCP) (`eurocomply_data/eu-cbam-compliance-calculator`) Actor

Check if CN/HS customs codes fall under EU CBAM (Regulation 2023/956), verify 50-tonne de minimis & origin exemptions, calculate embedded emissions using EU default or actual values, and estimate CBAM certificate costs for 2026–2034. Works as Batch Actor, REST API & MCP Server.

- **URL**: https://apify.com/eurocomply_data/eu-cbam-compliance-calculator.md
- **Developed by:** [Eduardo Pinto](https://apify.com/eurocomply_data) (community)
- **Categories:** Business, Automation, AI
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 cbam compliance checks

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## EU CBAM Compliance & Emissions Calculator (2026+ API & MCP)

Instant **EU Carbon Border Adjustment Mechanism (CBAM)** compliance screening, CN/HS customs code verification, embedded emissions calculation, and CBAM certificate cost estimation for the **2026–2034 definitive period** (Regulation (EU) 2023/956 & Commission Implementing Regulations 2025/2547 and 2026/1740).

Works out-of-the-box in **three modes**:

1. **Apify Batch Actor** — upload hundreds of shipments/POs as JSON and export structured CSV/Excel/JSON compliance reports.
2. **Low-Latency Standby REST API** — integrate directly into ERPs, customs platforms, or `n8n` / Make workflows.
3. **Model Context Protocol (MCP) Server (`/mcp`)** — plug directly into AI agents (Claude, Cursor, Antigravity, LangChain) for deterministic CBAM checks.

***

### Key Capabilities

- **Full Annex I CN Code Coverage (All 6 Sectors):** Cement, Electricity, Fertilisers, Iron & Steel (including Chapter 73 downstream goods like screws, bolts, pipes, and structures), Aluminium, and Hydrogen.
- **Explicit Legal Exclusions:** Automatically excludes non-CBAM ferro-alloys (`7202 2`, `7202 3`, `7202 5`–`7202 9`) and ferrous/aluminium scrap (`7204`, `7602`).
- **2026–2034 Phase-In Schedule:** Applies exact EU ETS free-allocation phase-out factors (`2.5%` in 2026, `5%` in 2027, `10%` in 2028 ... `100%` by 2034) plus 2034 full-exposure forecast.
- **50-Tonne Annual *De Minimis* Threshold:** Automatically evaluates cumulative importer tonnage across eligible sectors while enforcing the zero-threshold rule for **Electricity** and **Hydrogen**.
- **Origin Exemptions (EU27 + Annex III):** Automatically exempts EU Member States and ETS-linked EEA/EFTA countries (`IS`, `LI`, `NO`, `CH`).
- **Direct vs. Indirect Certificate Scope:** Applies EU Annex II rules (indirect emissions counted for certificates in Cement & Fertilisers; direct emissions only for Iron & Steel, Aluminium, and Hydrogen).
- **Actual vs. EU Default Values:** Uses verified supplier installation data when provided, or falls back to conservative EU default benchmarks.

***

### Example Input (Batch Mode)

```json
{
  "defaultYear": 2026,
  "defaultEuEtsPriceEur": 75,
  "applyAnnualDeMinimis": true,
  "items": [
    {
      "reference": "PO-2026-001",
      "cnCode": "7208 10 00",
      "originCountry": "TR",
      "quantityTonnes": 120,
      "year": 2026,
      "carbonPricePaidEurPerTonne": 0
    },
    {
      "reference": "PO-2026-002",
      "cnCode": "7604 21 00",
      "originCountry": "CN",
      "quantityTonnes": 35,
      "carbonPricePaidEurPerTonne": 10
    },
    {
      "reference": "PO-2026-003",
      "cnCode": "2523 29 00",
      "originCountry": "NO",
      "quantityTonnes": 200
    }
  ]
}
```

### Standby REST API & MCP Endpoints

When called via Standby URL (`https://epinto--eu-cbam-compliance-calculator.apify.actor`):

- `POST /mcp` — Streamable HTTP MCP Server exposing:
  - `check_cbam_cn_code`
  - `calculate_cbam_liability`
  - `search_cbam_cn_codes`
  - `get_cbam_schedule_and_rules`
- `POST /api/calculate` — Calculate single item or batch liability
- `GET /api/cn/:code` — Instant CN code lookup
- `GET /api/cn-codes?q=...&sector=...` — Search Annex I CN codes
- `GET /api/rules` — Get 2026–2034 schedule and exemption rules

***

*Disclaimer: Calculations are provided for operational screening, budgeting, and compliance preparation based on EU Regulation 2023/956. Final legal declarations must be verified by an accredited CBAM verifier and submitted via the official EU CBAM Registry.*

***

### Native MCP Server Setup (Claude Desktop, Cursor & VS Code)

Connect this Actor directly to any MCP-compatible AI agent using Streamable HTTP (or use our [1-Click MCP Config Generator](https://epinto1000-a11y.github.io/eurocomply-mcp-suite/#mcp-generator)):

```json
{
  "mcpServers": {
    "eu-cbam-compliance-calculator": {
      "type": "http",
      "url": "https://eurocomply-data--eu-cbam-compliance-calculator.apify.actor/mcp",
      "headers": {
        "Authorization": "Bearer apify_api_YOUR_TOKEN"
      }
    }
  }
}
```

- **Official MCP Registry ID:** `io.github.epinto1000-a11y/eu-cbam-compliance-calculator`
- **n8n Templates & Examples:** [eurocomply-mcp-suite on GitHub](https://github.com/epinto1000-a11y/eurocomply-mcp-suite)

***

### FAQ

**Does this calculator cover the 2026 CBAM definitive regime rules?**
Yes. It incorporates Reg. (EU) 2025/2620 (including 100% electricity emission coverage), Reg. (EU) 2025/2621 default value mark-ups, free allocation phase-out deductions, and Art. 9 third-country carbon price credits.

**Is CN code 3105 60 00 excluded from CBAM?**
Yes, mixed mineral/chemical fertilizers under CN `3105 60 00` are explicitly excluded from CBAM scope.

**Can I call this from Claude Desktop, Cursor, or n8n?**
Yes. Every EuroComply Actor exposes a native Streamable HTTP MCP server at `/mcp` and a Standby REST API alongside standard Apify batch runs.

***

### EuroComply Data Suite

Explore all 10 production EU compliance, live verification, and B2B automation Actors by [EuroComply Data](https://apify.com/eurocomply_data):

| Actor | Pricing | Modes |
| :--- | :--- | :--- |
| [EU CBAM 2026 Compliance Calculator](https://apify.com/eurocomply_data/eu-cbam-compliance-calculator) | `$0.005 / cbam-check` | Batch + REST + MCP |
| [EU EUDR GeoJSON Validator & Auto-Fixer](https://apify.com/eurocomply_data/eu-eudr-geojson-validator) | `$0.005 / eudr-plot-check` | Batch + REST + MCP |
| [EU TARIC Customs & Landed Cost Calculator](https://apify.com/eurocomply_data/eu-taric-customs-calculator) | `$0.005 / taric-lookup` | Batch + REST + MCP |
| [EU AI Act Risk Classifier](https://apify.com/eurocomply_data/eu-ai-act-risk-classifier) | `$0.005 / ai-act-check` | Batch + REST + MCP |
| [EU SEPA ISO 20022 XML Validator](https://apify.com/eurocomply_data/eu-sepa-iso20022-validator) | `$0.005 / sepa-validate` | Batch + REST + MCP |
| [EU NIS2 & DORA Compliance Calculator](https://apify.com/eurocomply_data/eu-nis2-dora-compliance-calculator) | `$0.005 / nis2-dora-check` | Batch + REST + MCP |
| [EU EUR-Lex Live Legislation Monitor](https://apify.com/eurocomply_data/eu-eurlex-legislation-monitor) | `$0.005 / eurlex-document` | Batch + REST + MCP |
| [EU KYB Live Company Verifier](https://apify.com/eurocomply_data/eu-kyb-company-verifier) | `$0.005 / kyb-check` | Batch + REST + MCP |
| [Universal E-Commerce Price & Stock Monitor](https://apify.com/eurocomply_data/universal-ecommerce-price-stock-monitor) | `$0.005 / product-check` | Batch + REST + MCP |
| [B2B Buying Intent Signal Finder](https://apify.com/eurocomply_data/b2b-buying-intent-signal-finder) | `$0.005 / intent-lead` | Batch + REST + MCP |

# Actor input Schema

## `items` (type: `array`):

List of imported goods to evaluate against EU CBAM (Regulation 2023/956 definitive period 2026+).

## `defaultYear` (type: `integer`):

Reporting year used when an item omits `year` (2026–2034+).

## `defaultEuEtsPriceEur` (type: `number`):

EU ETS allowance price in EUR per tonne of CO2e used to estimate CBAM certificate cost when an item omits `euEtsPriceEur`.

## `applyAnnualDeMinimis` (type: `boolean`):

When enabled, aggregates cumulative non-exempt tonnage across the batch (excluding Electricity and Hydrogen, which have a zero threshold) to determine whether the importer stays under the 50-tonne annual CBAM exemption.

## Actor input object example

```json
{
  "items": [
    {
      "reference": "PO-2026-001",
      "cnCode": "7208 10 00",
      "originCountry": "TR",
      "quantityTonnes": 120,
      "year": 2026,
      "euEtsPriceEur": 75,
      "carbonPricePaidEurPerTonne": 0
    }
  ],
  "defaultYear": 2026,
  "defaultEuEtsPriceEur": 75,
  "applyAnnualDeMinimis": true
}
```

# Actor output Schema

## `results` (type: `string`):

Per-item CBAM scope, sector, exemption status, embedded emissions (tCO2e), phase-in factor, and estimated certificate cost in EUR.

## `summary` (type: `string`):

Aggregated totals across all evaluated shipments, including 50-tonne annual de minimis status and 2026 vs. 2034 cost exposure.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "items": [
        {
            "reference": "PO-2026-001",
            "cnCode": "7208 10 00",
            "originCountry": "TR",
            "quantityTonnes": 120,
            "year": 2026,
            "euEtsPriceEur": 75,
            "carbonPricePaidEurPerTonne": 0
        }
    ],
    "defaultYear": 2026,
    "defaultEuEtsPriceEur": 75
};

// Run the Actor and wait for it to finish
const run = await client.actor("eurocomply_data/eu-cbam-compliance-calculator").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "items": [{
            "reference": "PO-2026-001",
            "cnCode": "7208 10 00",
            "originCountry": "TR",
            "quantityTonnes": 120,
            "year": 2026,
            "euEtsPriceEur": 75,
            "carbonPricePaidEurPerTonne": 0,
        }],
    "defaultYear": 2026,
    "defaultEuEtsPriceEur": 75,
}

# Run the Actor and wait for it to finish
run = client.actor("eurocomply_data/eu-cbam-compliance-calculator").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "items": [
    {
      "reference": "PO-2026-001",
      "cnCode": "7208 10 00",
      "originCountry": "TR",
      "quantityTonnes": 120,
      "year": 2026,
      "euEtsPriceEur": 75,
      "carbonPricePaidEurPerTonne": 0
    }
  ],
  "defaultYear": 2026,
  "defaultEuEtsPriceEur": 75
}' |
apify call eurocomply_data/eu-cbam-compliance-calculator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,eurocomply_data/eu-cbam-compliance-calculator"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/UHgAgN8vjMxHrEDJP/builds/hO6O0PqmMdZHxSdes/openapi.json
