/chemicals • v0.1.0
EU CLP / UFI Checksum & ECHA Annex VI Hazard API
Deterministic ECHA 16-char UFI checksum/generator, 100% BOM validation, and ECHA Annex VI Table 3 + Reg (EU) 2023/707 hazard screening.
Deterministic CoreZero-PHI / Zero-PCISHA-256 Audit Receipts
Core REST Endpoints
Base path: https://api.contextapi.dev/chemicals (or /api/chemicals via local portal proxy).
| Method | Path | Cost | Capabilities |
|---|---|---|---|
| POST | /v1/chemicals/evaluate | 1 credit | Deterministic ECHA 16-char UFI checksum/generator, 100% BOM validation, and ECHA Annex VI Table 3 + Reg (EU) 2023/707 hazard screening. |
| GET | /v1/chemicals/audit/{receipt_id} & /v1/chemicals/audit | 1 credit | Retrieve tenant-isolated SHA-256 chemic_* audit receipts and retention metadata. |
Quickstart & Hosted MCP Integration
Call REST directly or register https://api.contextapi.dev/chemicals/mcp in your AI agent.
Quickstart — Deterministic Pre-Flight Evaluation
curl -X POST "https://api.contextapi.dev/chemicals/v1/chemicals/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": "chemic_..."}}Hosted Streamable HTTP MCP (1 Tool + Resource)
Register in .cursor/mcp.json (or use npx -y mcp-remote for Claude Desktop):
{
"mcpServers": {
"contextapi-chemicals": {
"url": "https://api.contextapi.dev/chemicals/mcp",
"headers": { "X-API-Key": "${CONTEXTAPI_API_KEY}" }
}
}
}- evaluate_chemicalsTool
Lets AI agents verify EU CLP/UFI checksums and ECHA Annex VI hazard classifications with a tamper-evident SHA-256 audit receipt.
- contextchemicals://vault/statusResource
Exposes live audit vault receipt counts and service readiness for agent pre-flight health checks.