Health
Calculate VA = (VT − VD) × RR in L/min. VD may be supplied or estimated as ~2 mL/kg body weight. Normal resting ~4–6 L/min; low → hypercapnia, high → hypocapnia. Derived from West, LITFL, StatPearls, and Radford 1955. Not medical advice.
Call this tool from your code in three languages.
curl -X POST 'http://127.0.0.1:3003/en/api/tools/alveolar-ventilation-calculator' \
-H 'Content-Type: application/json' \
-d '{"vt":500,"rr":12,"vd":150,"bodyWeight":0,"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/alveolar-ventilation-calculator| Name | Type | Required | Description |
|---|---|---|---|
| vt | number | Yes | Tidal volume per breath (mL). |
| rr | number | Yes | Respiratory rate (breaths per minute). |
| vd | number | No | Anatomical dead space per breath (mL). If omitted, estimated from body weight (~2 mL/kg). |
| bodyWeight | number | No | Body weight (kg). Used to estimate VD (~2 mL/kg) when VD is not provided. |
| decimalPlaces | number | No |
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-alveolar-ventilation-calculator": {
"name": "alveolar-ventilation-calculator",
"description": "Calculate VA = (VT − VD) × RR in L/min. VD may be supplied or estimated as ~2 mL/kg body weight. Normal resting ~4–6 L/min; low → hypercapnia, high → hypocapnia. Derived from West, LITFL, StatPearls, and Radford 1955. Not medical advice.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=alveolar-ventilation-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": "alveolar-ventilation-calculator",
"arguments": {
"vt": 500,
"rr": 12,
"vd": 150,
"bodyWeight": 0,
"decimalPlaces": 1
}
}
}Questions or issues? Contact [email protected]
| — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}