# Insulin on Board Decay Calculator AI Agent Connect

> Calculate remaining active insulin and assess stacking risk.

## Overview
- **Category:** health
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_qgXHswYqwYfzkZxUmuIcvqZU00UkbXkdTYDsD1jX/ai-agent-connect
- **Tags:** insulin, iob, diabetes, hypoglycemia, medical

## Description

This MCP server provides deterministic tools to calculate Insulin on Board (IOB) using a linear decay model. It helps prevent insulin stacking by assessing the risk of hypoglycemia. Use `calculate_iob_metrics` to find current insulin levels and predicted blood glucose lowering potential, or `assess_stacking_risk` to check if a new dose is safe. You can also use `get_iob_at_specific_times` to project future insulin levels.

## Tools

### assess_stacking_risk
Assess the risk of insulin stacking

### calculate_iob_metrics
Calculate current insulin on board and its decay profile

### get_iob_at_specific_times
Project insulin levels at specific future time points

## Prompt Examples

**Prompt:** 
```
I took 5 units of insulin 60 minutes ago. The duration is 240 minutes and my ISF is 50. What is my current IOB and risk?
```

**Response:** 
```
Your current IOB is 3.75 units. The effective blood glucose lowering potential is 187.5 mg/dL. Your stacking risk is High Stacking Risk.
```

**Prompt:** 
```
Check if I can take more insulin. I have 0.2 units of insulin left from a dose taken 200 minutes ago.
```

**Response:** 
```
Your stacking risk is Low Stacking Risk.
```

**Prompt:** 
```
What will my insulin levels be in 30 and 60 minutes if I took 4 units 30 minutes ago with a 240 minute duration?
```

**Response:** 
```
In 30 minutes (60 mins total), your IOB will be 3.0 units. In 60 minutes (90 mins total), your IOB will be 2.25 units.
```

## Frequently Asked Questions

**How is the insulin decay calculated?**
The server uses a linear decay model where insulin activity decreases at a constant rate until it reaches zero at the end of its duration of action.

**What is insulin stacking?**
Insulin stacking occurs when a new dose is administered before the previous dose has finished its activity, which can lead to severe hypoglycemia.

**Can I use this with Claude Desktop?**
Yes, this MCP server can be connected to Claude Desktop, Cursor, VS Code, Windsurf, and any other MCP-compatible client via Vinkius Edge.
