# CDC 2022 MME Calculator

> CDC 2022 MME Calculator is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Calculates morphine milligram equivalents (MME) for a given opioid and daily dose using CDC 2022 conversion factors

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/mme
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cdc-2022-mme-calculator-37efb3ab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UN2Vz8iT4HG5JqgITp_EQ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability cdc-2022-mme-calculator-37efb3ab
```

Example prompt: What's the CDC 2022 MME for oxycodone at 30 mg/day?

## When to prefer this

Use this endpoint when you need a fast, standards-grounded MME calculation based on CDC 2022 published conversion factors — particularly for prior authorization workflows, clinical decision support, or opioid risk flagging. Prefer this over manual lookup tables when integrating into automated healthcare workflows. Do not use for opioid rotation/conversion dosing or OUD treatment protocols.

## Known failure modes

- Invalid opioid name not in CDC 2022 enum returns error (valid values: codeine, fentanyl_transdermal, hydrocodone, hydromorphone, methadone, morphine, oxycodone, oxymorphone, tapentadol, tramadol)
- Dose out of range (below 0.1 or above 5000 mg/day, or outside 12-300 mcg/hr for fentanyl_transdermal) returns validation error
- Missing required query parameters (opioid or dose) returns 400 error
- Brand names or aliases for opioids (e.g. 'Vicodin' instead of 'hydrocodone') will not be recognized

## How this service works

CDC 2022 morphine milligram equivalents from a published opioid key and dose (mg/day, or mcg/hr for fentanyl_transdermal). Estimates only; do not use MME to convert one opioid to another. Not a taper protocol or OUD dosing tool.

## Output

Returns the calculated MME value (morphine milligram equivalents per day) for the specified opioid and dose, derived from CDC 2022 published conversion factors. The result is an estimate only and is not intended for opioid-to-opioid conversion, taper protocols, or OUD dosing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "opioid",
      "dose"
     ],
     "properties": {
      "dose": {
       "type": "number",
       "description": "Daily opioid dose in mg/day (0.1-5000), or fentanyl_transdermal patch rate in mcg/hr (12-300)."
      },
      "opioid": {
       "enum": [
        "codeine",
        "fentanyl_transdermal",
        "hydrocodone",
        "hydromorphone",
        "methadone",
        "morphine",
        "oxycodone",
        "oxymorphone",
        "tapentadol",
        "tramadol"
       ],
       "type": "string",
       "description": "CDC 2022 MME table key (case-insensitive exact match). Not a brand name or alias."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "path": "/api/calc/mme",
  "count": 2,
  "items": [
   {
    "mme": 20,
    "dose": 20,
    "opioid": "hydrocodone",
    "formula": "mme",
    "citation": {
     "id": "cdc-mme-2022",
     "doi": "10.15585/mmwr.rr7103a1",
     "title": "CDC Clinical Practice Guideline for Prescribing Opioids for Pain — United States, 2022",
     "source": "MMWR Recomm Rep. 2022;71(No. RR-3):1-95",
     "authors": "Dowell D, Ragan KR, Jones CM, Baldwin GT, Chou R"
    },
    "dose_unit": "mg/day",
    "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
    "conversion_factor": 1,
    "formula_expression": "mme = dose * conversion_factor (dose is mg/day except fentanyl_transdermal in mcg/hr)"
   },
   {
    "mme": 20,
    "dose": 20,
    "opioid": "hydrocodone",
    "formula": "mme",
    "citation": {
     "id": "cdc-mme-2022",
     "doi": "10.15585/mmwr.rr7103a1",
     "title": "CDC Clinical Practice Guideline for Prescribing Opioids for Pain — United States, 2022",
     "source": "MMWR Recomm Rep. 2022;71(No. RR-3):1-95",
     "authors": "Dowell D, Ragan KR, Jones CM, Baldwin GT, Chou R"
    },
    "dose_unit": "mg/day",
    "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
    "conversion_factor": 1,
    "formula_expression": "mme = dose * conversion_factor (dose is mg/day except fentanyl_transdermal in mcg/hr)"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cdc-2022-mme-calculator-37efb3ab/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
