/epr • v0.1.0
EU Packaging Tax & EPR Eco-Modulation API
Deterministic EU national plastic packaging taxes (ES/IT/UK), PPWR recyclability eco-modulation, and EPR BOM fee calculator.
Deterministic CoreZero-PHI / Zero-PCISHA-256 Audit Receipts
Core REST Endpoints
Base path: https://api.contextapi.dev/epr (or /api/epr via local portal proxy).
| Method | Path | Cost | Capabilities |
|---|---|---|---|
| POST | /v1/epr/evaluate | 1 credit | Deterministic EU national plastic packaging taxes (ES/IT/UK), PPWR recyclability eco-modulation, and EPR BOM fee calculator. |
| GET | /v1/epr/audit/{receipt_id} & /v1/epr/audit | 1 credit | Retrieve tenant-isolated SHA-256 epr_* audit receipts and retention metadata. |
Quickstart & Hosted MCP Integration
Call REST directly or register https://api.contextapi.dev/epr/mcp in your AI agent.
Quickstart — Deterministic Pre-Flight Evaluation
curl -X POST "https://api.contextapi.dev/epr/v1/epr/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": "epr_..."}}Hosted Streamable HTTP MCP (1 Tool + Resource)
Register in .cursor/mcp.json (or use npx -y mcp-remote for Claude Desktop):
{
"mcpServers": {
"contextapi-epr": {
"url": "https://api.contextapi.dev/epr/mcp",
"headers": { "X-API-Key": "${CONTEXTAPI_API_KEY}" }
}
}
}- evaluate_eprTool
Lets AI agents run deterministic EU packaging tax & eco-modulation checks and store a tamper-evident SHA-256 audit receipt.
- contextepr://vault/statusResource
Exposes live audit vault receipt counts and service readiness so agents can verify health before running compliance checks.