# Kite-Surf Distance Calculator AI Agent Connect

> Calculate kite-surfing session metrics including total distance, upwind/downwind travel, and active duration.

## Overview
- **Category:** analytics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_pYDcKbrRrwyPM47OnCe5TEDnjUOVGVDwHEmZQxKo/ai-agent-connect
- **Tags:** kite-surfing, distance, navigation, wind, metrics

## Description

This MCP server provides specialized tools for kite-surfers to analyze their session performance. By accounting for environmental factors like tacking angles and operational time like relaunching, it provides precise distance metrics. Use `calculate_session_metrics` to get a full breakdown of total, upwind, and downwind distances, or `get_active_time_only` to isolate actual movement time from rest periods.

## Tools

### calculate_session_metrics
Provides a comprehensive breakdown of all distance metrics for a specific kite-surfing session

### compare_session_efficiency
Compares the total distance of two sessions to determine which was more productive

### estimate_tacking_penalty
Calculates how much the tacking angle reduces the efficiency of upwind progress

### get_active_time_only
Isolates the actual time spent moving during a session

## Prompt Examples

**Prompt:** 
```
Calculate my session metrics: I rode for 45 minutes at 6 m/s, with a 5% upwind component and a 30 degree tacking angle. I spent 5 minutes relaunching.
```

**Response:** 
```
Your session metrics are: Total distance: 15.3 km, Upwind distance: 0.77 km, Downwind distance: 14.53 km, and Active duration: 40 minutes.
```

**Prompt:** 
```
How much time did I actually spend moving if my session was 60 minutes long, but I rested for 15 minutes and spent 5 minutes relaunching?
```

**Response:** 
```
Your active duration was 40 minutes.
```

**Prompt:** 
```
What is the efficiency factor for a 45 degree tacking angle?
```

**Response:** 
```
The efficiency factor for a 45 degree angle is 0.707.
```

## Frequently Asked Questions

**How does the tool account for time spent on the beach?**
The `calculate_session_metrics` tool allows you to input `restDuration` and `relaunchTime` to ensure only the active movement time is used for distance calculations.

**What is a tacking angle?**
A tacking angle is the zig-zag path taken when traveling upwind. You can use `estimate_tacking_penalty` to see how this angle affects your efficiency.

**Can I compare two different sessions?**
Yes, you can use `compare_session_efficiency` to determine which of two sessions resulted in more total distance covered.
