# magent McDonald 2024 MS Criteria Calculator

> magent McDonald 2024 MS Criteria 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-14).

Evaluates 2024 McDonald criteria for relapsing-onset multiple sclerosis diagnosis based on caller-assigned clinical and paraclinical inputs

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/mcdonald_2024
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/magent-mcdonald-2024-ms-criteria-calculator-6fac1465
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_X4NxTc9KvibyhQpYKM6tx

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 magent-mcdonald-2024-ms-criteria-calculator-6fac1465
```

Example prompt: Apply the 2024 McDonald criteria for this patient: typical CIS, no better explanation, one attack, one lesion, DIS met (periventricular and spinal cord positive, optic nerve positive), MRI DIT positive, OCB positive — does this patient meet McDonald 2024 MS criteria?

## When to prefer this

Choose this endpoint when you need a deterministic, formula-based evaluation of the published 2024 McDonald MS diagnostic criteria (Montalban 2025 update) for a relapsing-onset pathway, especially when optic nerve as a fifth DIS topography or kappa free-light chains as a DIT marker are relevant. Prefer over manual calculation when integrating into clinical decision support pipelines requiring reproducible, auditable outputs. Not suitable for PPMS, RIS, atypical presentations, or when MRI reading or CSF assay is needed.

## Known failure modes

- Missing required query parameters returns a validation error
- Incorrect boolean string formats may cause parsing failure
- Endpoint does not handle PPMS, RIS, or atypical CIS — always returns false for non-typical CIS
- Caller-assigned inputs that contradict clinical reality are not validated by the API
- Network timeout or 402 payment failure if USDC payment header is missing or insufficient

## How this service works

2024 McDonald typical CIS (Montalban 2025). mcdonald_ms iff typical_cis and no_better_explanation and: ≥2 attacks with ≥2 lesions; or ≥2 attacks with one lesion plus DIS; or CIS with ≥2 lesions plus MRI DIT, OCB, or kappa FLC; or CIS with one lesion plus DIS and MRI DIT, OCB, or kappa FLC. DIS = ≥2 of 5 topographies (optic nerve added). Kappa FLC interchangeable with OCB. Not 2017 McDonald. Not PPMS. Not RIS. magent does not read MRI or assay CSF. Not a diagnosis. Not a medical device.

## Output

Returns a boolean indicating whether the 2024 McDonald criteria for relapsing-onset MS are met, along with intermediate flags for dissemination in space (DIS) and dissemination in time (DIT) satisfaction, based entirely on caller-assigned inputs. Does not perform MRI reading, CSF assay, or patient examination.

## 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": [
      "typical_cis",
      "no_better_explanation",
      "two_or_more_attacks",
      "two_or_more_lesions",
      "periventricular",
      "cortical_or_juxtacortical",
      "infratentorial",
      "spinal_cord",
      "optic_nerve",
      "dit_mri",
      "csf_specific_ocb",
      "csf_kflc"
     ],
     "properties": {
      "dit_mri": {
       "type": "boolean",
       "description": "MRI dissemination in time as assigned by the caller (simultaneous Gd-enhancing and non-enhancing lesions, or a new T2 or Gd-enhancing lesion on follow-up vs baseline). true or false. magent does not read MRI."
      },
      "csf_kflc": {
       "type": "boolean",
       "description": "CSF kappa free-light chains positive as assigned by the caller (2024: interchangeable with oligoclonal bands as the CSF DIT marker). Caller-assigned flag only; this tool does not apply a numeric kFLC index cutoff. true or false. magent does not assay CSF."
      },
      "optic_nerve": {
       "type": "boolean",
       "description": "Caller-assigned typical optic-nerve topography (fifth 2024 DIS location; Montalban 2025). true or false. magent does not read MRI, OCT, or VEP."
      },
      "spinal_cord": {
       "type": "boolean",
       "description": "Caller-assigned typical spinal-cord MS lesion topography (one of five 2024 DIS locations). true or false. magent does not read MRI."
      },
      "typical_cis": {
       "type": "boolean",
       "description": "Typical clinically isolated syndrome as assigned by the caller (Montalban 2025 typical CIS / relapsing pathway). If false, mcdonald_ms is false; this tool does not diagnose MS from atypical presentations, PPMS, or RIS. true or false. magent does not examine the patient."
      },
      "infratentorial": {
       "type": "boolean",
       "description": "Caller-assigned typical infratentorial MS lesion topography (one of five 2024 DIS locations). true or false. ma
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/magent-mcdonald-2024-ms-criteria-calculator-6fac1465/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)
