Health
Compute PVR = (mPAP − PCWP) / CO in Wood units and dyn·s/cm⁵. Normal < 3 Wood; elevated in pulmonary hypertension. Derived from Grossman 1991, Simonneau 2019, Humbert ESC/ERS 2022, StatPearls, LITFL. Not medical advice.
Call this tool from your code in three languages.
curl -X POST 'http://127.0.0.1:3003/en/api/tools/pulmonary-vascular-resistance' \
-H 'Content-Type: application/json' \
-d '{"mpap":15,"pcwp":8,"co":5,"decimalPlaces":2}'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/pulmonary-vascular-resistance| Name | Type | Required | Description |
|---|---|---|---|
| mpap | number | Yes | Mean pulmonary artery pressure (mmHg) from right heart catheterization. |
| pcwp | number | Yes | Pulmonary capillary wedge pressure (mmHg) from RHC; approximates left atrial pressure. Typical 6–12 mmHg. |
| co | number | Yes | Cardiac output in L/min (from thermodilution, Fick, or echo). |
| decimalPlaces | number | No | — |
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-pulmonary-vascular-resistance": {
"name": "pulmonary-vascular-resistance",
"description": "Compute PVR = (mPAP − PCWP) / CO in Wood units and dyn·s/cm⁵. Normal < 3 Wood; elevated in pulmonary hypertension. Derived from Grossman 1991, Simonneau 2019, Humbert ESC/ERS 2022, StatPearls, LITFL. Not medical advice.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=pulmonary-vascular-resistance",
"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": "pulmonary-vascular-resistance",
"arguments": {
"mpap": 15,
"pcwp": 8,
"co": 5,
"decimalPlaces": 2
}
}
}Questions or issues? Contact [email protected]