Health
Calculate the total body sodium deficit and safe correction rate to prevent ODS. Na⁺ deficit = TBW × (Target − Measured). Default 8 mmol/L/24h for chronic; 12 mmol/L/24h for acute symptomatic. 3% NaCl volume estimated. Derived from Adrogué NEJM 2000, Verbalis 2013, Spasovski 2014, Sterns 2018, and MDCalc. Not medical advice.
Call this tool from your code in three languages.
curl -X POST 'http://127.0.0.1:3003/en/api/tools/sodium-deficit-calculator' \
-H 'Content-Type: application/json' \
-d '{"sodiumCurrent":120,"sodiumTarget":128,"weight":60,"sex":"male","ageGroup":"adult","correctionRate":"8","decimalPlaces":1}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST http://127.0.0.1:3003/en/api/tools/sodium-deficit-calculator| Name | Type | Required | Description |
|---|---|---|---|
| sodiumCurrent | number | Yes | Measured serum sodium (mmol/L). |
| sodiumTarget | number | Yes | Target serum sodium (mmol/L). For chronic hyponatremia the first-24h target should be current + 4–8, not above 135. |
| weight | number | Yes | Patient body weight (kg). |
| sex | select | Yes | — |
| ageGroup | select | Yes |
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-sodium-deficit-calculator": {
"name": "sodium-deficit-calculator",
"description": "Calculate the total body sodium deficit and safe correction rate to prevent ODS. Na⁺ deficit = TBW × (Target − Measured). Default 8 mmol/L/24h for chronic; 12 mmol/L/24h for acute symptomatic. 3% NaCl volume estimated. Derived from Adrogué NEJM 2000, Verbalis 2013, Spasovski 2014, Sterns 2018, and MDCalc. Not medical advice.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=sodium-deficit-calculator",
"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": "sodium-deficit-calculator",
"arguments": {
"sodiumCurrent": 120,
"sodiumTarget": 128,
"weight": 60,
"sex": "male",
"ageGroup": "adult",
"correctionRate": "8",
"decimalPlaces": 1
}
}
}| — |
| correctionRate | select | Yes | — |
| decimalPlaces | number | No | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Questions or issues? Contact [email protected]