/healthref • v0.1.0

US Clinical Reference Validator (ICD-10-CM, HCPCS, NPI, RxNorm)

Zero-PHI, 100% public-domain validator for ICD-10-CM billable leaf codes, HCPCS Level II, CMS NPI Luhn, and NLM RxNorm.

Deterministic CoreZero-PHI / Zero-PCISHA-256 Audit Receipts

Core REST Endpoints

Base path: https://api.contextapi.dev/healthref (or /api/healthref via local portal proxy).

Healthcare / Digital Health
Method Path Cost Capabilities
POST /v1/healthref/evaluate 1 credit Zero-PHI, 100% public-domain validator for ICD-10-CM billable leaf codes, HCPCS Level II, CMS NPI Luhn, and NLM RxNorm.
GET /v1/healthref/audit/{receipt_id} & /v1/healthref/audit 1 credit Retrieve tenant-isolated SHA-256 health_* audit receipts and retention metadata.

Quickstart & Hosted MCP Integration

Call REST directly or register https://api.contextapi.dev/healthref/mcp in your AI agent.

Quickstart — Deterministic Pre-Flight Evaluation

curl -X POST "https://api.contextapi.dev/healthref/v1/healthref/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": "health_..."}}

Hosted Streamable HTTP MCP (1 Tool + Resource)

Register in .cursor/mcp.json (or use npx -y mcp-remote for Claude Desktop):

{
  "mcpServers": {
    "contextapi-healthref": {
      "url": "https://api.contextapi.dev/healthref/mcp",
      "headers": { "X-API-Key": "${CONTEXTAPI_API_KEY}" }
    }
  }
}
  • evaluate_healthrefTool

    Lets AI agents validate ICD-10-CM, HCPCS, NPI, and RxNorm reference codes without PHI and store a SHA-256 audit receipt.

  • contexthealthref://vault/statusResource

    Exposes live audit vault receipt counts and service readiness for agent pre-flight health checks.