Health
Calculate the UNOS/OPTN MELD-Na score — the sodium-modified MELD used for adult liver transplant allocation in the US from January 2016 until superseded by MELD 3.0 in July 2023. First compute the base MELD(i) (same formula as MELD, clamped 6–40). If MELD(i) > 11: MELD-Na = MELD(i) + 1.32·(137 − Na) − 0.033·MELD(i)·(137 − Na), with sodium clamped to 125–137 mmol/L. If MELD(i) ≤ 11, MELD-Na = MELD(i) (no sodium adjustment). The result is rounded and clamped to 6–40. Rationale: hyponatremia (Na < 137) predicts worse waitlist mortality beyond what MELD(i) captures, so the score is inflated; the interaction term scales the sodium penalty down at very high MELD(i). Derived from Kim/Biggins 2008 (NEJM) and UNOS/OPTN policy. Not medical advice.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/meld-na-score' \
-H 'Content-Type: application/json' \
-d '{"creatinine":1.5,"bilirubin":3,"inr":1.8,"sodium":130,"dialysis":false,"decimalPlaces":4}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/meld-na-score| Name | Type | Required | Description |
|---|---|---|---|
| creatinine | number | Yes | Serum creatinine in mg/dL. Floored at 1.0, capped at 4.0 (4.0 if dialyzed). Must be positive. |
| bilirubin | number | Yes | Total bilirubin in mg/dL. Floored at 1.0. Must be positive. |
| inr | number | Yes | INR. Floored at 1.0. Must be positive. |
| sodium | number | Yes | Serum sodium in mmol/L. Clamped to 125–137 for the MELD-Na adjustment. Must be positive. |
| dialysis | checkbox |
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-meld-na-score": {
"name": "meld-na-score",
"description": "Calculate the UNOS/OPTN MELD-Na score — the sodium-modified MELD used for adult liver transplant allocation in the US from January 2016 until superseded by MELD 3.0 in July 2023. First compute the base MELD(i) (same formula as MELD, clamped 6–40). If MELD(i) > 11: MELD-Na = MELD(i) + 1.32·(137 − Na) − 0.033·MELD(i)·(137 − Na), with sodium clamped to 125–137 mmol/L. If MELD(i) ≤ 11, MELD-Na = MELD(i) (no sodium adjustment). The result is rounded and clamped to 6–40. Rationale: hyponatremia (Na < 137) predicts worse waitlist mortality beyond what MELD(i) captures, so the score is inflated; the interaction term scales the sodium penalty down at very high MELD(i). Derived from Kim/Biggins 2008 (NEJM) and UNOS/OPTN policy. Not medical advice.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=meld-na-score",
"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": "meld-na-score",
"arguments": {
"creatinine": 1.5,
"bilirubin": 3,
"inr": 1.8,
"sodium": 130,
"dialysis": false,
"decimalPlaces": 4
}
}
}| If dialyzed at least twice or on CVVHD for ≥ 24 hours in the past week, creatinine is set to 4.0 mg/dL. |
| decimalPlaces | number | No | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Questions or issues? Contact [email protected]