# Murray Lung Injury Score (LIS) Calculator

> Murray Lung Injury Score (LIS) 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-13).

Computes the Murray 1988 Lung Injury Score from four clinical components (CXR quadrants, PaO2/FiO2 ratio, PEEP, and respiratory compliance) and returns a severity classification.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/murray
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/murray-lung-injury-score-lis-calculator-c145865a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0ylrEtxaWE58_T2gk7st2

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 murray-lung-injury-score-lis-calculator-c145865a
```

Example prompt: Calculate the Murray lung injury score for a patient with 3 chest X-ray quadrants involved, a PaO2/FiO2 ratio of 150, PEEP of 10 cm H2O, and respiratory compliance of 35 mL/cm H2O — tell me the LIS and whether it's mild-moderate or severe.

## When to prefer this

Use this endpoint when you need a fast, deterministic computation of the Murray 1988 Lung Injury Score from four caller-supplied clinical values. It is not a Berlin ARDS diagnostic tool and does not interpret imaging or issue ventilator orders — it strictly performs the arithmetic scoring defined by Murray 1988. Prefer it over manual calculation when building clinical decision-support pipelines, research data pipelines, or EMR-integrated agents that need programmatic LIS computation.

## Known failure modes

- Missing required query parameters (chest_radiograph_quadrants, pf_ratio, peep_cm_h2o, compliance_ml_cm_h2o) returns a validation error
- PF ratio outside valid range (20–800) may return an input validation error
- PEEP value outside range (0–40) may return an input validation error
- Compliance outside range (5–200) may return an input validation error
- chest_radiograph_quadrants not an integer 0–4 returns schema validation error
- Payment failure via x402 protocol returns 402 with payment details

## How this service works

Murray 1988 lung injury score (LIS): mean of four 0–4 components (caller-assigned CXR quadrants; PaO2/FiO2 ≥300→0, 225–299→1, 175–224→2, 100–174→3, <100→4; PEEP cm H2O ≤5→0, 6–8→1, 9–11→2, 12–14→3, ≥15→4; compliance mL/cm H2O ≥80→0, 60–79→1, 40–59→2, 20–39→3, ≤19→4). LIS 0 none, 0<LIS≤2.5 mild_moderate, >2.5 severe. Not a medical device, not a Berlin ARDS diagnosis, not a ventilator order. magent does not interpret imaging.

## Output

Returns the computed Lung Injury Score (LIS) as a numeric mean of the four component scores (each 0–4), plus a severity classification: 'none' (LIS = 0), 'mild_moderate' (0 < LIS ≤ 2.5), or 'severe' (LIS > 2.5).

## 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": [
      "chest_radiograph_quadrants",
      "pf_ratio",
      "peep_cm_h2o",
      "compliance_ml_cm_h2o"
     ],
     "properties": {
      "pf_ratio": {
       "type": "number",
       "description": "PaO2/FiO2 ratio (20-800). Murray 1988: ≥300 → 0, 225-299 → 1, 175-224 → 2, 100-174 → 3, <100 → 4. magent does not read an ABG."
      },
      "peep_cm_h2o": {
       "type": "number",
       "description": "PEEP in cm H2O (0-40). Murray 1988: ≤5 → 0, 6-8 → 1, 9-11 → 2, 12-14 → 3, ≥15 → 4. Not a ventilator order. magent does not set PEEP."
      },
      "compliance_ml_cm_h2o": {
       "type": "number",
       "description": "Respiratory system compliance in mL/cm H2O (5-200). Murray 1988: ≥80 → 0, 60-79 → 1, 40-59 → 2, 20-39 → 3, ≤19 → 4. magent does not measure compliance."
      },
      "chest_radiograph_quadrants": {
       "enum": [
        0,
        1,
        2,
        3,
        4
       ],
       "type": "integer",
       "description": "Caller-assigned alveolar consolidation quadrants 0-4 (Murray 1988). 0 none, 1 one quadrant, 2 two quadrants, 3 three quadrants, 4 four quadrants. The integer is that component's points. magent does not interpret imaging."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/murray-lung-injury-score-lis-calculator-c145865a/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)
