Developer docs · Virtual BCode

Turn medical codes into a stable semantic service layer.

Virtual BCode classifies CPT/HCPCS, diagnosis, revenue, modifier, and place-of-service inputs into concise reusable medical-service families — exposed as a public MCP tool for agents and applications.

Public MCP HTTPS Structured output No PHI Production-minded
Database-native intelligence

Virtual BCode

Virtual BCode converts medical billing and service codes into a concise, reusable medical-service classification.

Instead of requiring every agent or application to independently interpret combinations of CPT, diagnosis, revenue, modifier, and place-of-service codes, Virtual BCode returns a stable Virtual BCode, a reusable canonical service label, a short description, and normalized inputs.

Semantic classification only. Virtual BCode does not determine coverage, payment, medical necessity, network status, eligibility, or clinical appropriateness.

01 · Connect

Quick start

MCP endpoint
https://www.veraxor.com/mcp

The server supports remote Model Context Protocol clients over HTTPS. Discover and call:

classify_medical_service

Minimal MCP definition

{
  "server_label": "veraxor_virtual_bcode",
  "server_description": "Classifies medical billing codes into stable Virtual BCode medical service families.",
  "server_url": "https://www.veraxor.com/mcp"
}
02 · Supply codes

Input

All fields are optional, but useful service information must be supplied for a meaningful classification.

{
  "cpt_codes": ["99214"],
  "diagnosis_codes": ["I10"],
  "place_of_service": "11",
  "revenue_codes": [],
  "modifiers": ["25"]
}
Field Type Description
cpt_codes array[string] CPT/HCPCS procedure codes
diagnosis_codes array[string] ICD diagnosis codes
place_of_service string CMS-style place-of-service code
revenue_codes array[string] Revenue codes
modifiers array[string] Procedure modifiers
03 · Consume structured output

Output

{
  "success": true,
  "virtual_bcode": "VB-936CB82A",
  "canonical_label": "office_visit",
  "description": "office/outpatient visit est",
  "version": "2026-10-v2",
  "source": "local_student:...",
  "cached": false,
  "processing_ms": 0,
  "normalized_cpt_codes": ["99214"],
  "normalized_diagnosis_codes": ["I10"],
  "normalized_revenue_codes": [],
  "normalized_modifiers": ["25"],
  "normalized_place_of_service": "11"
}
Stable ID
VB-936CB82A
Canonical service
office_visit

Important response fields

virtual_bcode is the stable machine-friendly identifier for the classified service family.

canonical_label is the reusable semantic category, such as office_visit, diagnostic_imaging, or physical_therapy.

source is diagnostic information about how the result was produced. Clients should not depend on its exact format or value.

normalized_* fields show the normalized code values used for classification.

04 · Agent integration

Use it with OpenAI

OpenAI agents that support remote MCP servers can connect directly to the public Virtual BCode endpoint.

curl https://api.openai.com/v1/responses \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -d '{
    "model": "gpt-6-astra",
    "tools": [
      {
        "type": "mcp",
        "server_label": "veraxor_virtual_bcode",
        "server_description": "Classifies medical billing codes into stable Virtual BCode medical service families.",
        "server_url": "https://www.veraxor.com/mcp",
        "require_approval": "never"
      }
    ],
    "input": "Use Veraxor Virtual BCode to classify CPT 99214 with diagnosis I10, place of service 11, and modifier 25. Report the canonical label and Virtual BCode."
  }'

Example agent prompt

Use Veraxor Virtual BCode to classify CPT 99214 with diagnosis I10,
place of service 11, and modifier 25.

Return the canonical service label and Virtual BCode.
05 · Stable semantics

What gets classified

Virtual BCode attempts to describe what medical service was performed, not how that service should be adjudicated.

Examples of canonical service families include:

office_visit
emergency_department_visit
outpatient_laboratory_testing
diagnostic_imaging
physical_therapy
durable_medical_equipment

Equivalent medical-service inputs are intended to resolve to the same canonical service family and therefore the same stable Virtual BCode.

06 · Bounded input

Privacy and data use

Do not submit patient identifiers or personally identifiable health information.

Typical requests should contain only non-identifying values such as:

  • CPT/HCPCS codes
  • diagnosis codes
  • place of service
  • revenue codes
  • modifiers

Do not submit names, dates of birth, member IDs, Social Security numbers, addresses, or identifying claim notes.

07 · Confidence-aware

Reliability

Virtual BCode uses multiple classification paths and may defer uncertain classifications to a higher-capability semantic model.

Internal validation of the current service version showed that its high-confidence local routing tier handled approximately one quarter of the evaluation set at roughly 99% observed classification accuracy.

These figures are experimental measurements from a finite evaluation set, not a guarantee of future accuracy. Virtual BCode should be treated as semantic classification infrastructure rather than an authoritative medical, clinical, coverage, or payment determination.

08 · Production use

Rate limits

The public MCP endpoint is rate-limited to protect service availability. Developers expecting sustained production volume should contact Veraxor for production access and capacity planning.

Virtual BCode does not determine benefit eligibility, covered status, payment amount, network status, medical necessity, prior authorization, clinical diagnosis, or treatment recommendations.

Reference

Endpoint summary

Protocol:       MCP over HTTPS
Server:         https://www.veraxor.com/mcp
Tool:           classify_medical_service
Authentication: Public endpoint currently requires no MCP authentication
Purpose:        Semantic medical-service classification
PHI:            Do not submit