# McMahon 2013 Rhabdomyolysis Score Calculator

> McMahon 2013 Rhabdomyolysis Score 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).

Computes the McMahon 2013 Table 3 rhabdomyolysis risk score from patient labs and clinical characteristics to estimate acute kidney injury risk

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/mcmahon
- 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/mcmahon-2013-rhabdomyolysis-score-calculator-39cc067d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_twu92dl7mplcWF4Wzjo_I

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 mcmahon-2013-rhabdomyolysis-score-calculator-39cc067d
```

Example prompt: Calculate the McMahon rhabdomyolysis score for a 62-year-old male with creatinine 1.8 mg/dL, calcium 8.2 mg/dL, CPK 55000 U/L, the cause was not seizure/syncope/exercise/statin/myositis, phosphate 5.0 mg/dL, and bicarbonate 18 mmol/L.

## When to prefer this

Use this endpoint when you need a validated, formulaic McMahon 2013 rhabdomyolysis severity score from caller-supplied laboratory values. Prefer it over manual calculation to avoid arithmetic errors and ensure consistent threshold application (e.g. strict greater-than vs greater-than-or-equal boundary enforcement per the original paper). It is appropriate for clinical workflow automation, documentation, and research pipelines where the score is needed programmatically, not as a standalone dialysis or treatment decision system.

## Known failure modes

- Missing required lab parameters returns a validation error
- Out-of-range values (e.g. age <18 or >120, CPK <1 or >500000) are rejected
- Providing neither creatinine_mg_dl nor creatinine_umol_l results in an error
- Invalid sex enum value causes a bad request response
- Payment failure or missing x402 header returns 402 Payment Required

## How this service works

McMahon 2013 Table 3 rhabdomyolysis score: age ≤50→0, >50–≤70→1.5, >70–≤80→2.5, >80→3; female 1; Cr <1.4→0, 1.4–2.2→1.5, >2.2→3; Ca <7.5→2; CPK >40000→2; origin not seizure/syncope/exercise/statin/myositis→3; PO4 <4.0→0, 4.0–5.4→1.5, >5.4→3; HCO3 <19→2. Max 19. Caller-supplied labs and origin. Numeric total only; not a dialysis order.

## Output

Returns a single numeric McMahon score (0–19 maximum) calculated by summing points assigned to age bracket, sex, creatinine level, calcium, CPK, rhabdomyolysis origin, phosphate, and bicarbonate values per McMahon 2013 Table 3. Higher scores indicate greater acute kidney injury risk. No dialysis orders or clinical recommendations are included.

## 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": [
      "age",
      "sex",
      "calcium_mg_dl",
      "cpk_u_l",
      "low_risk_origin",
      "phosphate_mg_dl",
      "bicarbonate_mmol_l"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (integer 18-120). McMahon 2013 Table 3: ≤50 → 0, >50 to ≤70 → 1.5, >70 to ≤80 → 2.5, >80 → 3. magent does not assign age."
      },
      "sex": {
       "enum": [
        "female",
        "male"
       ],
       "type": "string",
       "description": "Caller-assigned sex. Female scores 1 (McMahon 2013 Table 3). magent does not assign sex."
      },
      "cpk_u_l": {
       "type": "number",
       "description": "Initial CPK in U/L (1-500000). McMahon 2013 Table 3: >40000 → 2. 40000 is not >40000. magent does not assay CPK."
      },
      "calcium_mg_dl": {
       "type": "number",
       "description": "Initial calcium in mg/dL (4-16). McMahon 2013 Table 3: <7.5 → 2. 7.5 is not <7.5. magent does not assay calcium."
      },
      "low_risk_origin": {
       "type": "boolean",
       "description": "true when the cause is seizure, syncope, exercise, statin, or myositis (0 points). false otherwise (3 points; McMahon 2013 Table 3 origin not those causes). magent does not assign etiology."
      },
      "phosphate_mg_dl": {
       "type": "number",
       "description": "Initial phosphate in mg/dL (0.5-20). McMahon 2013 Table 3: <4.0 → 0, 4.0 to 5.4 inclusive → 1.5, >5.4 → 3. magent does not assay phosphate."
      },
      "creatinine_mg_dl": {
       "type": "number",
       "description": "Initial serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. McMahon 2013 Table 3: <1.4 → 0, 1.4 to 2.2 inclusive → 1.5, >2.2 → 3. magent does not assay creatinine."
      },
      "creatinine_umol_l": {
       "type": "number",
       "description": "Initial serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42. magent d
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mcmahon-2013-rhabdomyolysis-score-calculator-39cc067d/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)
