Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

Health

APACHE II Score Calculator

Calculate the APACHE II (Acute Physiology and Chronic Health Evaluation II) ICU severity score. APACHE II = Acute Physiology Score (12 variables, each 0–4 using the worst value in the first 24 h) + Age points (0–6) + Chronic Health points (0/2/5). Range 0–71; higher scores indicate worse prognosis. Oxygenation uses the A-a gradient when FiO₂ ≥ 0.5, otherwise PaO₂. Creatinine points are doubled when acute renal failure is indicated. GCS contributes 15 − GCS. Also reports the base-model predicted mortality: R = 1/(1 + e^(−logit)), logit = −3.517 + 0.146 × score (diagnostic-category weight not included). Thresholds cross-verified against Knaus 1985 (Crit Care Med) and the SFAR scoring table. Not a substitute for clinical judgement. Not medical advice.

json· JSON resultOpen tool

Quick start

Call this tool from your code in three languages.

cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/apache-ii-score' \
  -H 'Content-Type: application/json' \
  -d '{"temperature":38.9,"map":65,"heartRate":130,"respiratoryRate":30,"fio2":0.8,"pao2":0,"aaGradient":350,"ph":7.25,"sodium":138,"potassium":5.6,"creatinine":2.5,"arf":true,"hematocrit":32,"wbc":18,"gcs":10,"age":70,"chronicHealth":"nonelective"}'

© 2026 Elysia Tools. Developer documentation.

Back to siteBrowse tools

API reference

Send a POST request with your inputs as JSON. File parameters require a separate upload first.

Endpoint

HTTP
POST https://api.elysiatools.com/en/api/tools/apache-ii-score

Parameters

NameTypeRequiredDescription
temperaturenumberYesCore/rectal temperature °C.
mapnumberYesMean arterial pressure mmHg.
heartRatenumberYesHeart rate beats/min.
respiratoryRatenumberYesRespiratory rate breaths/min (vented or spontaneous).
fio2numberYesFraction of inspired oxygen (0.21–1.0). If ≥0.5, A-a gradient is used.
pao2numberNoArterial PaO₂ mmHg. Used when FiO₂ < 0.5.
aaGradientnumberNoAlveolar-arterial gradient mmHg. Used when FiO₂ ≥ 0.5.
phnumberYesArterial pH.
sodiumnumberYesSerum sodium mmol/L.
potassiumnumberYesSerum potassium mmol/L.
creatininenumberYesSerum creatinine mg/dL.
arfcheckboxNoAcute renal failure doubles the creatinine points.
hematocritnumberYesHematocrit %.
wbcnumberYesWhite blood cell count ×10³/µL.
gcsnumberYesGlasgow Coma Scale total (3–15). Contributes 15 − GCS.
agenumberYesAge in years.
chronicHealthselectYesSevere organ insufficiency or immunocompromise: none = 0, elective postoperative = 2, non-operative or emergency postoperative = 5.

Response format

JSON result

JSON
{
  "key": {...},
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}

MCP integration

Add this tool to your Model Context Protocol server so AI agents can list and call it.

Server configuration

Add this block to your MCP client configuration:

mcp.json
{
  "mcpServers": {
    "elysiatools-apache-ii-score": {
      "name": "apache-ii-score",
      "description": "Calculate the APACHE II (Acute Physiology and Chronic Health Evaluation II) ICU severity score. APACHE II = Acute Physiology Score (12 variables, each 0–4 using the worst value in the first 24 h) + Age points (0–6) + Chronic Health points (0/2/5). Range 0–71; higher scores indicate worse prognosis. Oxygenation uses the A-a gradient when FiO₂ ≥ 0.5, otherwise PaO₂. Creatinine points are doubled when acute renal failure is indicated. GCS contributes 15 − GCS. Also reports the base-model predicted mortality: R = 1/(1 + e^(−logit)), logit = −3.517 + 0.146 × score (diagnostic-category weight not included). Thresholds cross-verified against Knaus 1985 (Crit Care Med) and the SFAR scoring table. Not a substitute for clinical judgement. Not medical advice.",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=apache-ii-score",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

List available tools

After connecting to the SSE endpoint, list the exposed tools:

tools/list
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}

Call this tool

Invoke the tool by its id, passing arguments built from its parameters:

tools/call
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "apache-ii-score",
    "arguments": {
  "temperature": 38.9,
  "map": 65,
  "heartRate": 130,
  "respiratoryRate": 30,
  "fio2": 0.8,
  "pao2": 0,
  "aaGradient": 350,
  "ph": 7.25,
  "sodium": 138,
  "potassium": 5.6,
  "creatinine": 2.5,
  "arf": true,
  "hematocrit": 32,
  "wbc": 18,
  "gcs": 10,
  "age": 70,
  "chronicHealth": "nonelective"
}
  }
}
Chain multiple tools in one session with a comma-separated toolId list, e.g. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (max 20).

Questions or issues? Contact [email protected]

Browse tools
Open tool