Health
Calculate the Ranson criteria to grade acute pancreatitis severity and estimate mortality (non-gallstone/classic variant). Five criteria at admission (age >55, WBC >16,000, glucose >200, AST >250, LDH >350) and six at 48 hours (hematocrit fall >10%, BUN rise >5 mg/dL, calcium <8, PaO₂ <60, base deficit >4, fluid sequestration >6 L); each = 1 point, total 0–11. Interpretation: 0-2 mild (~2% mortality), 3-4 moderate (~15%), 5-6 severe (~40%), ≥7 very severe (~100%). The gallstone variant uses different thresholds and is NOT included. Derived from Ranson et al. 1974. Not medical advice.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/ranson-criteria' \
-H 'Content-Type: application/json' \
-d '{"age":true,"wbc":true,"glucose":false,"ast":false,"ldh":true,"hctFall":false,"bunRise":false,"calcium":true,"pao2":true,"baseDeficit":false,"fluidSequestration":false}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/ranson-criteria| Name | Type | Required | Description |
|---|---|---|---|
| age | checkbox | No | At admission. +1. |
| wbc | checkbox | No | At admission. +1. |
| glucose | checkbox | No | At admission. +1. |
| ast | checkbox | No | At admission. +1. |
| ldh | checkbox | No | At admission. +1. |
| hctFall |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-ranson-criteria": {
"name": "ranson-criteria",
"description": "Calculate the Ranson criteria to grade acute pancreatitis severity and estimate mortality (non-gallstone/classic variant). Five criteria at admission (age >55, WBC >16,000, glucose >200, AST >250, LDH >350) and six at 48 hours (hematocrit fall >10%, BUN rise >5 mg/dL, calcium <8, PaO₂ <60, base deficit >4, fluid sequestration >6 L); each = 1 point, total 0–11. Interpretation: 0-2 mild (~2% mortality), 3-4 moderate (~15%), 5-6 severe (~40%), ≥7 very severe (~100%). The gallstone variant uses different thresholds and is NOT included. Derived from Ranson et al. 1974. Not medical advice.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=ranson-criteria",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "ranson-criteria",
"arguments": {
"age": true,
"wbc": true,
"glucose": false,
"ast": false,
"ldh": true,
"hctFall": false,
"bunRise": false,
"calcium": true,
"pao2": true,
"baseDeficit": false,
"fluidSequestration": false
}
}
}| checkbox |
| No |
| At 48 hours (vs admission). +1. |
| bunRise | checkbox | No | At 48 hours despite IV fluids. +1. |
| calcium | checkbox | No | At 48 hours. +1. |
| pao2 | checkbox | No | At 48 hours. +1. |
| baseDeficit | checkbox | No | At 48 hours. +1. |
| fluidSequestration | checkbox | No | At 48 hours. +1. |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Questions or issues? Contact [email protected]