Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

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.

json· JSON resultOpen tool

Quick start

Call this tool from your code in three languages.

cURL
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

HTTP
POST https://api.elysiatools.com/en/api/tools/chads2-vasc-score

Parameters

NameTypeRequiredDescription
ageGroupselectYesAge band. <65 scores 0; 65–74 scores 1; ≥75 scores 2.
sexselectYesBiological sex. Female scores +1 (sex category). Female sex alone does NOT trigger anticoagulation.
chfcheckboxNoCongestive heart failure or left ventricular dysfunction. +1 if present.
hypertensioncheckboxNoHypertension (treated or untreated). +1 if present.
diabetescheckbox

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:

mcp.json
{
  "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:

tools/list
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}

Call this tool

Invoke the tool by its id, passing arguments built from its parameters:

tools/call
{
  "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
}
  }
}
Browse toolsOpen tool

© 2026 Elysia Tools. Developer documentation.

Back to siteBrowse tools
No
Diabetes mellitus. +1 if present.
strokecheckboxNoPrior ischemic stroke, TIA, or systemic thromboembolism. +2 if present.
vascularcheckboxNoPrior myocardial infarction, peripheral artery disease, or aortic atherosclerotic plaque. +1 if present.

Response format

JSON result

JSON
{
  "key": {...},
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
Chain multiple tools in one session with a comma-separated toolId list, e.g. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (max 20).

Questions or issues? Contact [email protected]