# Swimming Rest & Training Calculator MCP. AI Agent Connect

> Swimming Rest & Training Calculator MCP gives your AI client the math needed to manage swim training. It calculates cumulative rest, total set duration, and training density so you can build more accurate training blocks without manual arithmetic.

## Overview
- **Category:** productivity
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_yx43WCv9t3RoBVRaAQWKBNxg8xSVV3kNBT9PAwj0/ai-agent-connect
- **Tags:** swimming, training, coaching, athletics, metrics

## Description

You can stop manually calculating rest intervals and set durations. This MCP gives your AI agent the specific tools it needs to handle the math behind swim training volume and intensity. Whether you are building a high-intensity interval set or a long endurance block, your agent can now determine exactly how much work is being done relative to time spent in the pool. You can use it to evaluate how much rest an athlete is getting between repetitions or to find the total elapsed time for a complex set. It turns your AI client into a specialized coaching assistant that understands the physiological load of a workout. Instead of guessing if a set is too dense, you get hard numbers on training density and rest ratios to ensure your athletes are hitting their targets.

## Tools

### get_rest_ratio
This tool calculates the ratio of rest time to active swimming time. It helps your agent evaluate the intensity of a specific set.

### get_set_duration
This tool finds the total elapsed time for a set. It includes both the active swimming time and the rest intervals.

### get_total_rest
This tool calculates the total amount of rest time for a set of repetitions. It's useful for seeing how much downtime an athlete has in a block.

### get_training_density
This tool measures how much work is performed relative to the total time spent in the pool. It helps your agent track how hard a set actually is.

## Prompt Examples

**Prompt:** 
```
What is the total rest time for 10 repetitions with a 30 second rest interval?
```

**Response:** 
```
The total rest time for 10 repetitions with a 30 second rest interval is 300 seconds.
```

**Prompt:** 
```
Calculate the total duration for a set of 5 reps, where each swim is 60 seconds and rest is 45 seconds.
```

**Response:** 
```
The total duration for the set is 525 seconds.
```

**Prompt:** 
```
What is the rest to swim ratio if I swim for 50 seconds and rest for 25 seconds?
```

**Response:** 
```
The rest to swim ratio is 0.5.
```

## Capabilities

### Rest Calculation
Your agent calculates the total downtime across multiple repetitions.

### Intensity Assessment
The AI determines the rest to swim ratio to check set difficulty.

### Time Tracking
Your agent finds the total time elapsed for a complete set.

### Work Density Analysis
The AI measures work performed against total pool time.

## Use Cases

### Set Planning
Use the AI to calculate the total time a set will take before you get in the pool.

### Intensity Monitoring
Check the rest ratio to ensure an interval set stays within the intended training zone.

### Volume Tracking
Calculate total rest across long sets to manage athlete fatigue.

### Density Auditing
Review training density to see if a workout is becoming too demanding.

## Benefits

- Eliminates manual math for rest and duration calculations.
- Provides objective data on training density.
- Allows for precise planning of physiological loads.
- Turns any AI client into a specialized swim math tool.

## How It Works

Connect your AI client to Vinkius and start asking for swim math.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your set details like swim time and rest intervals to your agent.
3. The agent calls the specific calculation tool from this MCP.
4. You receive the exact duration, rest, or ratio in your chat window.

## Frequently Asked Questions

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

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

**Can this calculate total time for a set?**
Yes, the get_set_duration tool calculates the total elapsed time including both swimming and rest.

**How does it measure training intensity?**
It uses the get_rest_ratio tool to compare rest time against active swimming time.

**Is there a way to see how much work is done in the pool?**
Yes, the get_training_density tool calculates work relative to the total time spent in the pool.

**How do I use this with my AI assistant?**
Simply connect to Vinkius Edge using your Connection Token. Once connected, you can ask your AI assistant in Cursor, Claude Desktop, or VS Code to calculate rest times or training density using the provided tools.

**What can `get_total_rest` calculate?**
The `get_total_rest` tool calculates the cumulative rest time by multiplying the duration of a single rest interval by the number of repetitions performed.

**Can I calculate training density?**
Yes, you can use `get_training_density` to find the percentage of the total set time spent actively swimming.
