# Stroke Work Index Calculator AI Agent Connect

> Stroke Work Index Calculator MCP handles complex hemodynamic math for clinicians and researchers. It calculates pressure gradients, total stroke work, and body surface area adjusted stroke work index (SWI) through your AI client. You can validate physiological inputs and manage pressure unit conversions without manual formulas.

## Overview
- **Category:** healthcare
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_T3uM700gsigbqxelZRklv0lwfCAPOZepkW8yf8xL/ai-agent-connect
- **Tags:** hemodynamics, cardiology, stroke-work, ventricular-function, medical-calculation

## Description

This MCP handles the heavy lifting for hemodynamic computations. Instead of manually running formulas for ventricular mechanical work, you provide your hemodynamic parameters to your AI client and let the tool do the math. It calculates the pressure gradient, total stroke work, and the stroke work index (SWI) adjusted for body surface area. 

Accuracy matters in cardiology, so this MCP includes a validation step to check if your input values fall within realistic human physiological limits. It also manages pressure unit metadata to ensure your conversions stay consistent. Whether you are analyzing left or right ventricular performance, this tool provides the specific mechanical efficiency data you need for clinical or research applications. You simply feed the data to your agent and get structured, ready-to-use results.

## Tools

### format_replicate_report
This tool organizes your calculation results into a structured, readable summary.

### get_pressure_unit_metadata
This tool provides information regarding the pressure units supported by the calculator.

### validate_hemodynamic_inputs
This tool checks if your provided hemodynamic values are within realistic physiological ranges.

### calculate_stroke_work
This tool computes the pressure gradient, total stroke work, and the BSA adjusted stroke work index.

## Prompt Examples

**Prompt:** 
```
Calculate the stroke work for a left ventricle with a stroke volume of 70 mL, mean arterial pressure of 90 mmHg, filling pressure of 10 mmHg, and BSA of 1.8 m2.
```

**Response:** 
```
The pressure gradient is 80 mmHg. The stroke work is 5600 mmHg·mL, and the stroke work index is 3111.11 mmHg·mL/m2.
```

**Prompt:** 
```
What is the stroke work index if the stroke volume is 60 mL, output pressure of 100 mmHg, filling pressure is 15 mmHg, and BSA is 2.0 m2?
```

**Response:** 
```
The pressure gradient is 85 mmHg. The stroke work is 5100 mmHg·mL, and the stroke work index is 2550 mmHg·mL/m2.
```

**Prompt:** 
```
Check if these hemodynamic values are realistic: stroke volume 50 mL, output pressure 80 mmHg, filling pressure 90 mmHg, BSA 1.5 m2.
```

**Response:** 
```
false
```

## Capabilities

### Ventricular Work Calculation
Your agent uses this to find the total mechanical work and pressure gradients.

### SWI Adjustment
The tool calculates the stroke work index adjusted for body surface area.

### Physiological Validation
Your AI client checks inputs against realistic human limits to catch errors.

### Unit Management
The MCP provides metadata for handling different pressure unit conversions.

### Report Formatting
Your agent turns raw math into a structured summary for easy reading.

## Use Cases

### Clinical Assessment
Calculate real time ventricular performance using current patient pressure and volume data.

### Research Data Processing
Convert raw hemodynamic measurements into standardized SWI values for study analysis.

### Data Integrity Checks
Run inputs through the validation tool to ensure they represent realistic human physiology.

### Unit Conversion
Use pressure metadata to ensure all calculations use consistent units.

## Benefits

- Reduces manual calculation errors by automating the stroke work formula.
- Prevents data entry mistakes through physiological input validation.
- Standardizes results by adjusting stroke work index for body surface area.
- Speeds up data reporting with structured summary tools.

## How It Works

You connect the MCP to your preferred client and start sending data immediately.

1. Connect your AI client to the Vinkius hosted MCP.
2. Provide hemodynamic parameters like stroke volume and pressure to your agent.
3. The MCP validates the inputs for physiological realism.
4. The tool performs the stroke work and SWI calculations.
5. Your agent presents the final formatted report.

## Frequently Asked Questions

**How do I use this MCP with Claude or Cursor?**
You connect to the Vinkius hosted MCP once. After that, you can simply ask your AI client in Claude or Cursor to perform the calculations using the provided tools.

**Does the tool account for body surface area?**
Yes, the calculate_stroke_work tool specifically calculates the stroke work index (SWI) adjusted for BSA.

**Can it detect if my input data is impossible?**
Yes, the validate_hemodynamic_inputs tool checks if your values are within realistic human physiological limits.

**What kind of data do I need to provide?**
You typically need stroke volume, mean arterial pressure, filling pressure, and body surface area (BSA).

**Do I need to host the MCP myself?**
No, Vinkius hosts and manages the MCP for you. You just connect your client and it works.

**Does this tool provide medical diagnoses?**
No. This tool is a mathematical calculation engine for hemodynamic parameters. It does not provide clinical interpretations or diagnoses of heart failure.

**How is the stroke work index calculated?**
The stroke work index is calculated by dividing the total stroke work by the patient's body surface area (BSA).

**What happens if the filling pressure is higher than the output pressure?**
The `calculate_stroke_work` tool will flag the result with a `hasInvalidPressure` status, as a negative pressure gradient is physiologically impossible in this context.
