# Perioperative Fluid Balance Calculator AI Agent Connect

> Perioperative Fluid Balance Calculator MCP handles the math for complex fluid management. It tracks inputs like crystalloids and blood products against outputs like urine and drain loss. Your AI client uses this to generate net balances, hourly trends, and weight-normalized values for specific procedural windows.

## Overview
- **Category:** healthcare
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_rpPzmoQy3ytkLC8HZTDfCEY70tiB5Mhnw7O7ZqLp/ai-agent-connect
- **Tags:** medical, fluid-balance, perioperative, clinical-decision-support, nursing

## Description

Managing fluid balance during surgery requires tracking a moving target of inputs and outputs. This MCP handles the heavy lifting by aggregating data from crystalloids, colloids, blood products, and various outputs like urine or estimated blood loss. Instead of manual tallying, you give your agent the raw data from the procedural window. It calculates the net balance and provides weight-normalized totals to help you monitor patient status accurately. You can also see how fluid levels shift over time through hourly trend analysis. It organizes everything into category subtotals and a chronological table so you don't have to hunt for specific data points during a procedure.

## Tools

### calculate_perioperative_balance
This tool performs the core math for fluid balance within a specific procedural timeframe.

## Prompt Examples

**Prompt:** 
```
Calculate the fluid balance for a procedure from 08:00 to 12:00. Inputs: 500mL crystalloid at 08:30, 200mL medication at 09:00. Outputs: 150mL urine at 10:00. Patient weight is 70kg.
```

**Response:** 
```
The total input is 700mL and the total output is 150mL, resulting in a net balance of 550mL. The weight-normalized balance is 7.86 mL/kg.
```

**Prompt:** 
```
Show me the hourly fluid trends for a window between 10:00 and 14:00 with these inputs and outputs.
```

**Response:** 
```
The hourly net changes are: 10:00-11:00: +200mL, 11:00-12:00: -50mL, 12:00-13:00: 0mL, 13:00-14:00: -10mL.
```

**Prompt:** 
```
Validate these fluid records for errors.
```

**Response:** 
```
All records are valid and ready for calculation.
```

## Capabilities

### Net Balance Calculation
Your agent calculates the total difference between all fluid inputs and outputs.

### Hourly Trend Analysis
The MCP breaks down fluid changes into specific hourly intervals.

### Weight-Normalized Totals
Your AI client converts net balance into mL/kg values based on patient weight.

### Input and Output Aggregation
The tool groups crystalloids, colloids, and blood products against urine and drain losses.

### Chronological Data Tables
It organizes fluid records into a time-based table for easier monitoring.

## Use Cases

### Intraoperative Monitoring
Track real-time fluid changes as crystalloids and blood products are administered.

### Post-Surgical Assessment
Calculate total net balance and weight-normalized totals after a procedure ends.

### Trend Identification
Use hourly net change data to spot sudden shifts in fluid status.

### Data Validation
Check fluid records for errors before finalizing clinical documentation.

## Benefits

- Reduces manual calculation errors during critical procedural windows.
- Provides weight-normalized data for more accurate patient assessment.
- Organizes disparate fluid data into a single chronological view.
- Generates hourly trends to identify rapid fluid shifts.

## How It Works

Connect your AI client to Vinkius and start sending fluid data immediately.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your agent with fluid inputs and outputs for a specific time window.
3. The agent invokes the calculation tool to process the data.
4. Receive a detailed breakdown of net balance, hourly trends, and weight-normalized totals.

## Frequently Asked Questions

**What kind of fluid inputs can this MCP handle?**
It handles crystalloids, colloids, blood products, and medications.

**Can I see hourly changes in fluid balance?**
Yes, the MCP can generate hourly trends showing net changes for specific time intervals.

**Does it provide weight-normalized data?**
Yes, it calculates weight-normalized values based on the patient's weight.

**Which AI clients can use this MCP?**
You can use this with any MCP-compatible client like Claude, Cursor, Windsurf, or VS Code.

**How does it handle outputs like urine or drains?**
It aggregates urine, drains, and estimated blood loss to calculate the total output.

**How do I calculate the net balance?**
You can use the `calculate_perioperative_balance` tool by providing the window start/end times, input records, and output records. The tool automatically subtracts total outputs from total inputs to find the net balance.

**Can I normalize the balance by patient weight?**
Yes. If you provide the `patientWeight` parameter in the `calculate_perioperative_balance` tool, the result will include a weight-normalized balance in mL/kg.

**Does this tool support different fluid categories?**
Yes, it supports categories including crystalloid, colloid, bloodProduct, medication, enteral, urine, drain, ebl, and other.
