# Cycling Distance Analyzer AI Agent Connect

> Cycling Distance Analyzer MCP lets your AI agent process cycling activity data instantly. It handles the math for your riding segments, allowing you to find total distance, identify your longest rides, and pull high-level statistics without manual calculation.

## Overview
- **Category:** fitness
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_SyDHp6XA2zdCSXCpi47d6XvmeDFsmY3M0W8o7AI6/ai-agent-connect
- **Tags:** cycling, distance, fitness-tracking, sports-data, analytics

## Description

If you have a list of cycling segments, you can hand them directly to your AI client to do the heavy lifting. This MCP gives your agent the ability to crunch numbers from your rides, whether you're looking at a single afternoon of training or a month's worth of data. Instead of manually adding up kilometers or miles, you just provide the segment data and ask for the totals. Your agent can pinpoint exactly which ride was your longest or calculate the average length of your segments to help you track consistency. It's a straightforward way to turn raw activity logs into useful fitness insights using any MCP-compatible client like Claude, Cursor, or Windsurf.

## Tools

### calculate_average_segment_length
This tool finds the mean length of all provided cycling segments.

### calculate_total_distance
Use this to sum up the entire distance covered across every segment in your list.

### find_longest_segment
This tool identifies the single largest segment from your collection of rides.

### get_distance_statistics
This tool pulls high-level metrics and summary data for your cycling segments.

## Prompt Examples

**Prompt:** 
```
What is the total distance of my segments: 5.2, 10.5, and 3.3?
```

**Response:** 
```
The total distance covered is 19.0.
```

**Prompt:** 
```
Which segment was the longest among 12.4, 45.2, and 22.1?
```

**Response:** 
```
The longest segment is 45.2.
```

**Prompt:** 
```
Give me the statistics for these segments: 10, 20, 30, 40.
```

**Response:** 
```
Total distance: 100, Average: 25, Max: 40, Count: 4.
```

## Capabilities

### Distance Aggregation
Your agent sums up multiple segments to find your total mileage.

### Outlier Detection
The AI identifies your longest individual rides from a dataset.

### Statistical Summaries
Your agent generates high-level metrics for a group of segments.

### Average Calculation
The tool computes the average length of your training segments.

## Use Cases

### Training Volume Tracking
Provide a list of recent rides to your agent to see your total distance for the week.

### Performance Benchmarking
Ask your AI client to find your longest segment to see how it compares to your average.

### Data Cleanup
Use the statistical tools to check for inconsistencies in your segment lengths.

### Quick Summaries
Get a full breakdown of distance, averages, and counts from a raw list of numbers.

## Benefits

- Eliminates manual math for segment totals.
- Provides instant statistical summaries of riding data.
- Identifies peak performance segments automatically.

## How It Works

Connecting this MCP to your AI client gives your agent immediate access to these math tools.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your cycling segment data to your AI agent.
3. Ask your agent to perform a specific calculation or summary.
4. The agent uses the MCP tools to process the numbers and returns the result.

## Frequently Asked Questions

**How do I use this MCP with Claude?**
You connect your Claude client to the Vinkius platform, which hosts the MCP for you. Once connected, you can simply ask Claude to analyze your cycling data.

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

**Can I use this for any cycling data?**
The MCP works with any numerical segment data you provide to your AI agent.

**What kind of statistics can I get?**
You can get total distance, average segment lengths, the longest segment, and other high-level metrics.

**Does this work with Cursor or Windsurf?**
Yes, this MCP is compatible with any client that supports the Model Context Protocol, including Cursor and Windsurf.

**How can I get a summary of all my rides?**
You can use the `get_distance_statistics` tool to receive a summary including total distance, average length, maximum distance, and the total number of segments.

**Can I find my longest ride segment?**
Yes, the `find_longest_segment` tool identifies the largest distance value within your provided list of segments.

**What units should I use for segment lengths?**
You can use any consistent unit like kilometers or miles, as long as all segments in a single request use the same unit.
