# Shorr 2013 MRSA Pneumonia Risk Score Calculator

> Shorr 2013 MRSA Pneumonia Risk 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-13).

Calculates the Shorr 2013 MRSA pneumonia risk score (Table 2) from patient clinical factors and returns a numeric score, maximum score, and low/medium/high risk band

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/shorr
- 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/shorr-2013-mrsa-pneumonia-risk-score-calculator-534194ed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Lfx4voWaAiiFPa7iJArcs

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 shorr-2013-mrsa-pneumonia-risk-score-calculator-534194ed
```

Example prompt: Calculate the Shorr 2013 MRSA pneumonia risk score for a 75-year-old female patient with diabetes, dementia, and cerebrovascular disease who was hospitalized for 3 days two months ago but has no ICU admission, no prior IV antibiotics, and no nursing home exposure.

## When to prefer this

Use this endpoint when you need to apply the validated Shorr 2013 Table 2 MRSA pneumonia risk algorithm specifically — not HCAP criteria and not the DRIP score. It is appropriate for antimicrobial stewardship workflows, clinical decision support agents, or hospital coding tools that need a standardized, reproducible MRSA risk score rather than a free-text assessment. Prefer this over general LLM-based clinical reasoning when audit-trail accuracy and adherence to the published scoring table are required.

## Known failure modes

- Missing required query parameters (age, sex, or any boolean factor) returns a validation error
- Age outside the accepted integer range (18–120) may return an error or unexpected scoring
- Invalid sex value (not 'female' or 'male') returns an enum validation error
- Non-boolean values for boolean fields cause schema validation failure
- Network or payment errors return HTTP 402 or 5xx without a score result

## How this service works

Shorr 2013 MRSA pneumonia risk score (Table 2 only, not HCAP, not DRIP): recent hospitalization ≥2 days in 90 days 2; ICU admission 2; age <30 or >79 1; prior IV antibiotics 1; dementia 1; cerebrovascular disease 1; female with diabetes 1 (male with diabetes 0); nursing home/LTAC/SNF 1; max 10. Bands: 0-1 low, 2-5 medium, ≥6 high. Returns score, max_score, and risk_band. Not a medical device and not an antibiotic order.

## Output

Returns a JSON object containing the calculated MRSA pneumonia risk score (integer 0–10), the maximum possible score (10), and a risk_band string ('low' for 0–1, 'medium' for 2–5, 'high' for ≥6) based on Shorr 2013 Table 2 criteria.

## 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",
      "hospitalization_90d",
      "icu_admission",
      "prior_iv_antibiotics",
      "dementia",
      "cerebrovascular_disease",
      "diabetes",
      "nursing_home_ltac_snf"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (18-120). Shorr 2013 Table 2: <30 or >79 scores 1; 30 through 79 scores 0. 29 scores 1; 30 scores 0; 79 scores 0; 80 scores 1."
      },
      "sex": {
       "enum": [
        "female",
        "male"
       ],
       "type": "string",
       "description": "female or male. Female with diabetes scores 1 (Shorr 2013 Table 2). Male with diabetes scores 0. Sex alone does not score."
      },
      "dementia": {
       "type": "boolean",
       "description": "Dementia (Shorr 2013 Table 2, 1 point). true or false as assigned by the caller."
      },
      "diabetes": {
       "type": "boolean",
       "description": "Diabetes mellitus. Scores 1 only when sex is female (Shorr 2013 Table 2). Male with diabetes scores 0. true or false as assigned by the caller."
      },
      "icu_admission": {
       "type": "boolean",
       "description": "ICU admission (Shorr 2013 Table 2, 2 points). true or false as assigned by the caller."
      },
      "hospitalization_90d": {
       "type": "boolean",
       "description": "Recent inpatient hospitalization for ≥2 days within 90 days (Shorr 2013 Table 2, 2 points). true or false as assigned by the caller."
      },
      "prior_iv_antibiotics": {
       "type": "boolean",
       "description": "Prior IV antibiotic exposure (Shorr 2013 Table 2, 1 point). true or false as assigned by the caller."
      },
      "nursing_home_ltac_snf": {
       "type": "boolean",
       "description": "Recent nursing home, long-term acute care, or skilled nursing facility exposure (Shorr 2013 Table 2, 1 point). true or false as assigned by the caller. magent does not c
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/shorr-2013-mrsa-pneumonia-risk-score-calculator-534194ed/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)
