Health
CHA₂DS₂-VASc Score (AFib Stroke Risk)
Calculate the CHA₂DS₂-VASc score to stratify stroke risk in non-valvular atrial fibrillation and guide oral anticoagulation. Components: Congestive heart failure/LV dysfunction (+1), Hypertension (+1), Age ≥75 (+2), Diabetes (+1), prior Stroke/TIA/thromboembolism (+2), Vascular disease — prior MI/PAD/aortic plaque (+1), Age 65–74 (+1), Sex category female (+1). Range 0–9 (women) / 0–8 (men). Thresholds: men ≥2 or women ≥3 → recommend oral anticoagulation (DOAC preferred over warfarin); men 1 or women 2 → consider anticoagulation; men 0 or women ≤1 → omit. Female sex alone is not an independent risk factor (score 1 from sex alone is treated as 0). Includes an approximate annual stroke-risk estimate (Lip 2010 derivation cohort). Derived from Lip 2010 (Chest), 2019 AHA/ACC/HRS update, and 2023 ACC/AHA/ACCP/HRS AF guideline. Combine with bleeding risk (HAS-BLED) and shared decision-making. Not medical advice.
Quick start
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/chads2-vasc-score' \
-H 'Content-Type: application/json' \
-d '{"ageGroup":"gte75","sex":"female","chf":false,"hypertension":true,"diabetes":false,"stroke":true,"vascular":false}'API reference
Send a POST request with your inputs as JSON. File parameters require a separate upload first.
Endpoint
POST https://api.elysiatools.com/en/api/tools/chads2-vasc-scoreParameters
| Name | Type | Required | Description |
|---|---|---|---|
| ageGroup | select | Yes | Age band. <65 scores 0; 65–74 scores 1; ≥75 scores 2. |
| sex | select | Yes | Biological sex. Female scores +1 (sex category). Female sex alone does NOT trigger anticoagulation. |
| chf | checkbox | No | Congestive heart failure or left ventricular dysfunction. +1 if present. |
| hypertension | checkbox | No | Hypertension (treated or untreated). +1 if present. |
| diabetes | checkbox |
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:
{
"mcpServers": {
"elysiatools-chads2-vasc-score": {
"name": "chads2-vasc-score",
"description": "Calculate the CHA₂DS₂-VASc score to stratify stroke risk in non-valvular atrial fibrillation and guide oral anticoagulation. Components: Congestive heart failure/LV dysfunction (+1), Hypertension (+1), Age ≥75 (+2), Diabetes (+1), prior Stroke/TIA/thromboembolism (+2), Vascular disease — prior MI/PAD/aortic plaque (+1), Age 65–74 (+1), Sex category female (+1). Range 0–9 (women) / 0–8 (men). Thresholds: men ≥2 or women ≥3 → recommend oral anticoagulation (DOAC preferred over warfarin); men 1 or women 2 → consider anticoagulation; men 0 or women ≤1 → omit. Female sex alone is not an independent risk factor (score 1 from sex alone is treated as 0). Includes an approximate annual stroke-risk estimate (Lip 2010 derivation cohort). Derived from Lip 2010 (Chest), 2019 AHA/ACC/HRS update, and 2023 ACC/AHA/ACCP/HRS AF guideline. Combine with bleeding risk (HAS-BLED) and shared decision-making. Not medical advice.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=chads2-vasc-score",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}List available tools
After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Call this tool
Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "chads2-vasc-score",
"arguments": {
"ageGroup": "gte75",
"sex": "female",
"chf": false,
"hypertension": true,
"diabetes": false,
"stroke": true,
"vascular": false
}
}
}