Health
Calculate the Charlson Comorbidity Index (CCI), including the age-adjusted variant, to predict 1-year mortality from chronic comorbidities. 19 comorbidities are weighted by mortality risk: 1 point (MI, CHF, PVD, cerebrovascular disease, dementia, chronic pulmonary disease, connective tissue disease, peptic ulcer, mild liver disease, diabetes without complications); 2 points (hemiplegia/paraplegia, moderate-to-severe CKD, diabetes with end-organ damage, any non-metastatic tumor, leukemia, lymphoma); 3 points (moderate-to-severe liver disease); 6 points (metastatic solid tumor, AIDS). Age adjustment adds 1 point per decade ≥50 (50-59 +1 … ≥90 +5). Interpretation: 0 ~8%, 1-2 ~25%, 3-4 ~50%, ≥5 ~80-90% 1-year mortality (derivation cohort). Derived from Charlson 1987 (J Chronic Dis) and the 1994 validation. Not medical advice.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/charlson-comorbidity-index' \
-H 'Content-Type: application/json' \
-d '{"age":75,"mi":true,"chf":false,"pvd":false,"cvd":false,"dementia":false,"pulmonary":false,"connective":false,"ulcer":false,"mildLiver":false,"dmSimple":true,"hemiplegia":false,"ckd":false,"dmOrgan":false,"tumor":false,"leukemia":false,"lymphoma":false,"severeLiver":false,"metastatic":true,"aids":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/charlson-comorbidity-index| Name | Type | Required | Description |
|---|---|---|---|
| age | number | Yes | Age in years. Adds 1 point per decade ≥50 (50-59 +1, 60-69 +2, 70-79 +3, 80-89 +4, ≥90 +5). |
| mi | checkbox | No | History of myocardial infarction. +1. |
| chf | checkbox | No | Congestive heart failure. +1. |
| pvd | checkbox | No | Peripheral vascular disease. +1. |
| cvd | checkbox | No | Cerebrovascular disease (TIA, stroke). +1. |
| dementia | checkbox | No | Dementia. +1. |
| pulmonary | checkbox | No | Chronic pulmonary disease (e.g., COPD). +1. |
| connective | checkbox | No | Connective tissue disease (e.g., SLE, RA). +1. |
| ulcer | checkbox | No | Peptic ulcer disease. +1. |
| mildLiver | checkbox | No | Mild liver disease (chronic hepatitis, cirrhosis without portal HTN). +1. |
| dmSimple | checkbox | No | Diabetes without end-organ damage. +1. |
| hemiplegia | checkbox | No | Hemiplegia or paraplegia. +2. |
| ckd | checkbox | No | Moderate-to-severe chronic kidney disease. +2. |
| dmOrgan | checkbox | No | Diabetes with end-organ damage (retinopathy, neuropathy, nephropathy). +2. |
| tumor | checkbox | No | Any solid tumor (non-metastatic) within last 5 years. +2. |
| leukemia | checkbox | No | Leukemia (acute or chronic). +2. |
| lymphoma | checkbox | No | Lymphoma. +2. |
| severeLiver | checkbox | No | Moderate-to-severe liver disease (cirrhosis with portal HTN). +3. |
| metastatic | checkbox | No | Metastatic solid tumor. +6. |
| aids | checkbox | No | AIDS (not just HIV). +6. |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}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-charlson-comorbidity-index": {
"name": "charlson-comorbidity-index",
"description": "Calculate the Charlson Comorbidity Index (CCI), including the age-adjusted variant, to predict 1-year mortality from chronic comorbidities. 19 comorbidities are weighted by mortality risk: 1 point (MI, CHF, PVD, cerebrovascular disease, dementia, chronic pulmonary disease, connective tissue disease, peptic ulcer, mild liver disease, diabetes without complications); 2 points (hemiplegia/paraplegia, moderate-to-severe CKD, diabetes with end-organ damage, any non-metastatic tumor, leukemia, lymphoma); 3 points (moderate-to-severe liver disease); 6 points (metastatic solid tumor, AIDS). Age adjustment adds 1 point per decade ≥50 (50-59 +1 … ≥90 +5). Interpretation: 0 ~8%, 1-2 ~25%, 3-4 ~50%, ≥5 ~80-90% 1-year mortality (derivation cohort). Derived from Charlson 1987 (J Chronic Dis) and the 1994 validation. Not medical advice.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=charlson-comorbidity-index",
"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": "charlson-comorbidity-index",
"arguments": {
"age": 75,
"mi": true,
"chf": false,
"pvd": false,
"cvd": false,
"dementia": false,
"pulmonary": false,
"connective": false,
"ulcer": false,
"mildLiver": false,
"dmSimple": true,
"hemiplegia": false,
"ckd": false,
"dmOrgan": false,
"tumor": false,
"leukemia": false,
"lymphoma": false,
"severeLiver": false,
"metastatic": true,
"aids": false
}
}
}Questions or issues? Contact [email protected]