/cbam • v0.1.0
EU CBAM Scope, 50-Tonne Threshold & Cost Estimator API
Deterministic EU CBAM Annex I CN code matching, cumulative 50-tonne de minimis threshold tracking, and EU ETS certificate cost estimation.
Deterministic CoreZero-PHI / Zero-PCISHA-256 Audit Receipts
Core REST Endpoints
Base path: https://api.contextapi.dev/cbam (or /api/cbam via local portal proxy).
| Method | Path | Cost | Capabilities |
|---|---|---|---|
| POST | /v1/cbam/evaluate | 1 credit | Deterministic EU CBAM Annex I CN code matching, cumulative 50-tonne de minimis threshold tracking, and EU ETS certificate cost estimation. |
| GET | /v1/cbam/audit/{receipt_id} & /v1/cbam/audit | 1 credit | Retrieve tenant-isolated SHA-256 cbam_* audit receipts and retention metadata. |
Quickstart & Hosted MCP Integration
Call REST directly or register https://api.contextapi.dev/cbam/mcp in your AI agent.
Quickstart — Deterministic Pre-Flight Evaluation
curl -X POST "https://api.contextapi.dev/cbam/v1/cbam/evaluate" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"identifier": "SAMPLE-001", "jurisdiction": "EU"}'→ {"status": "PASS", "valid": true, "audit_receipt": {"receipt_id": "cbam_..."}}Hosted Streamable HTTP MCP (1 Tool + Resource)
Register in .cursor/mcp.json (or use npx -y mcp-remote for Claude Desktop):
{
"mcpServers": {
"contextapi-cbam": {
"url": "https://api.contextapi.dev/cbam/mcp",
"headers": { "X-API-Key": "${CONTEXTAPI_API_KEY}" }
}
}
}- evaluate_cbamTool
Lets AI agents check EU CBAM CN-code scope, 50-tonne thresholds, and certificate cost estimates with a SHA-256 audit receipt.
- contextcbam://vault/statusResource
Exposes live audit vault receipt counts and service readiness for agent pre-flight health checks.