# MASCC Risk Index Calculator

> MASCC Risk Index 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).

Computes the MASCC (Multinational Association for Supportive Care in Cancer) febrile neutropenia risk index score from seven clinical flags to identify low-risk patients

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/mascc
- 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/mascc-risk-index-calculator-5b419b63
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yfzIlC9iBeBbqs3h1kFKy

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 mascc-risk-index-calculator-5b419b63
```

Example prompt: Calculate the MASCC febrile neutropenia risk score for a patient with moderate burden of illness, no hypotension, no COPD, solid tumor without prior fungal infection, outpatient status at fever onset, no dehydration, and age under 60 — and tell me if they're low risk.

## When to prefer this

Use this endpoint when you need a deterministic, citation-backed MASCC febrile neutropenia risk score computed from discrete clinical flags already assessed by the caller. Prefer this over manual arithmetic to avoid calculation errors and to get a structured, auditable output. Not appropriate for ordering chemotherapy, measuring vital signs, or diagnosing; the caller must pre-assess all seven clinical variables.

## Known failure modes

- Missing required query parameters returns a validation error
- Invalid enum value for 'burden' (not none_or_mild/moderate/severe) causes a bad request
- Boolean fields supplied as strings rather than booleans may cause parse errors
- Network timeout if the endpoint is temporarily unavailable

## How this service works

MASCC risk index from Klastersky 2000: one burden-of-illness value (none_or_mild 5, moderate 3, severe 0) plus no hypotension (5), no COPD (4), solid tumor or hematologic malignancy without previous fungal infection (4), outpatient (3), no dehydration (3), and age <60 (2). Max 26; low-risk ≥21. Deterministic published arithmetic with citation; not an outpatient-chemotherapy order; magent does not read a blood pressure.

## Output

Returns the computed MASCC total score (0–26) along with an indication of whether the patient is low risk (score ≥21) or high risk (score <21), based on deterministic arithmetic from the seven caller-supplied clinical flags.

## 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": [
      "burden",
      "no_hypotension",
      "no_copd",
      "solid_tumor_or_no_prior_fungal",
      "outpatient",
      "no_dehydration",
      "age_lt_60"
     ],
     "properties": {
      "burden": {
       "enum": [
        "none_or_mild",
        "moderate",
        "severe"
       ],
       "type": "string",
       "description": "Caller-assigned burden of illness (none_or_mild, moderate, or severe). Klastersky 2000: none_or_mild → 5, moderate → 3, severe → 0. One value, not cumulative."
      },
      "no_copd": {
       "type": "boolean",
       "description": "No COPD as assigned by the caller (Klastersky 2000). true scores 4."
      },
      "age_lt_60": {
       "type": "boolean",
       "description": "Age <60 years as assigned by the caller (Klastersky 2000). true scores 2. magent does not parse a numeric age here."
      },
      "outpatient": {
       "type": "boolean",
       "description": "Outpatient status at fever onset as assigned by the caller (Klastersky 2000). true scores 3."
      },
      "no_dehydration": {
       "type": "boolean",
       "description": "No dehydration requiring parenteral fluids as assigned by the caller (Klastersky 2000). true scores 3."
      },
      "no_hypotension": {
       "type": "boolean",
       "description": "No hypotension (SBP >90 mm Hg) as assigned by the caller (Klastersky 2000). true scores 5. magent does not read a blood pressure."
      },
      "solid_tumor_or_no_prior_fungal": {
       "type": "boolean",
       "description": "Solid tumor, or hematologic malignancy without previous fungal infection, as assigned by the caller (Klastersky 2000). One item. true scores 4."
      }
     }
    }
   },
   "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/mascc",
  "count": 2,
  "items": [
   {
    "score": 26,
    "burden": "none_or_mild",
    "formula": "mascc",
    "citation": {
     "id": "klastersky-2000",
     "doi": "10.1200/JCO.2000.18.16.3038",
     "pmid": "10944139",
     "title": "The Multinational Association for Supportive Care in Cancer risk index: a multinational scoring system for identifying low-risk febrile neutropenic cancer patients",
     "source": "J Clin Oncol. 2000;18(16):3038-3051",
     "authors": "Klastersky J, Paesmans M, Rubenstein EB, Boyer M, Elting L, Feld R, Gallagher J, Herrstedt J, Rapoport B, Rolston K, Talcott J"
    },
    "max_score": 26,
    "components": [
     {
      "value": "none_or_mild",
      "factor": "burden",
      "points": 5,
      "present": true
     },
     {
      "factor": "no_hypotension",
      "points": 5,
      "present": true
     },
     {
      "factor": "no_copd",
      "points": 4,
      "present": true
     },
     {
      "factor": "solid_tumor_or_no_prior_fungal",
      "points": 4,
      "present": true
     },
     {
      "factor": "outpatient",
      "points": 3,
      "present": true
     },
     {
      "factor": "no_dehydration",
      "points": 3,
      "present": true
     },
     {
      "factor": "age_lt_60",
      "points": 2,
      "present": true
     }
    ],
    "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.",
    "mascc_band": "low_risk",
    "formula_expression": "MASCC = burden (none_or_mild 5, moderate 3, severe 0; one value) + no_hypotension 5 + no_copd 4 + solid_tumor_or_no_prior_fungal 4 + outpatient 3 + no_dehydration 3 + age_lt_60 2; Klastersky 2000; max 26; low-risk ≥21"
   },
   {
    "score": 26,
    "burden": "none_or_mild",
    "formula": "mascc",
    "citation": {
     "id": "klastersky-2000",
     "doi": "10.1200/JCO.2000.18.16.3038",
     "pmid": "10944139",
     "title": "The Multinational Association for Supportive Care in Cancer risk index: a multinational scoring system for identifying low-risk febrile neutropenic cancer patients",
     "source": "J Clin Oncol. 2000;18(16):3038-3051",
     "authors": "Klastersky J, Paesmans M, Rubenstein EB, Boyer M, Elting L, Feld R, Gallagher J, Herrstedt J, Rapoport B, Rolston K, Talcott J"
    },
    "max_score": 26,
    "components": [
     {
      "value": "n
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mascc-risk-index-calculator-5b419b63/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)
