# Route Elevation & Grade Analyzer AI Agent Connect

> Route Elevation & Grade Analyzer MCP processes route telemetry to give your AI client a deep understanding of terrain. It calculates cumulative elevation gain and loss, identifies specific climbing events, and determines perceived effort by weighting distance against steepness. Instead of looking at flat distance, your agent sees the actual physical toll of the route.

## Overview
- **Category:** fitness
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_USKzthx3tb7D2OtGH9lFXgNDg2s4SfzJgY7zpS61/ai-agent-connect
- **Tags:** elevation, cycling, hiking, telemetry, terrain

## Description

You can stop manually parsing elevation files or staring at raw coordinate lists. This MCP gives your AI client the ability to interpret vertical profiles from any route telemetry data you provide. It handles the math for total climbing effort and net displacement so you don't have to. 

If you need to know where the hardest parts of a ride or hike actually happened, your agent can use this to break down vertical changes into specific segments. It also filters out the minor bumps and noise in the data to find the real climbing or descending events. You can even get a sense of how hard a route actually felt by using grade-weighted metrics, which accounts for how much steeper a hill is compared to flat ground. It's a direct way to turn a list of points into a clear picture of physical effort.

## Tools

### get_grade_weighted_metrics
This tool calculates perceived effort distance by weighting the route based on its incline. It helps your agent understand how steepness changes the difficulty of a path.

### get_route_summaries
This tool provides a high level overview of total vertical effort and net displacement. Use it to get the big picture of a route's elevation profile.

### get_segment_contributions
This tool breaks down total gain or loss into specific segments. It shows exactly where the most vertical work occurred during a trip.

### get_threshold_grouping
This tool identifies distinct climbing or descending events. It filters out minor elevation noise to find the significant hills and valleys.

## Prompt Examples

**Prompt:** 
```
What was the total elevation gain for this route: [{'distance': 0, 'elevation': 100}, {'distance': 500, 'elevation': 250}, {'distance': 1000, 'elevation': 200}]?
```

**Response:** 
```
The total elevation gain for this route is 150 meters.
```

**Prompt:** 
```
Identify the major climbs in this route with a 10m threshold: [{'distance': 0, 'elevation': 100}, {'distance': 100, 'elevation': 120}, {'distance': 200, 'elevation': 110}, {'distance': 300, 'elevation': 150}]?
```

**Response:** 
```
The identified ascent event starts at 0m and ends at 300m with a total vertical change of 50m.
```

**Prompt:** 
```
How much effort was spent on the descent for this route: [{'distance': 0, 'elevation': 500}, {'distance': 500, 'elevation': 400}]?
```

**Response:** 
```
The total elevation loss for this segment is 100 meters.
```

## Capabilities

### Vertical Effort Calculation
Your agent calculates total climbing and descending work from telemetry.

### Steepness Weighting
Your agent determines perceived effort by factoring in the grade of the terrain.

### Climb Identification
Your agent finds significant climbing events by ignoring minor elevation fluctuations.

### Segment Breakdown
Your agent identifies specific sections of a route where the most elevation change occurs.

## Use Cases

### Training Analysis
An athlete provides a ride file to an agent to see how much total climbing they actually did.

### Difficulty Assessment
A planner uses grade-weighted metrics to compare a flat route to a hilly one of the same distance.

### Climb Detection
A user identifies the exact start and end points of major ascents in a long hike.

### Effort Mapping
An agent analyzes where a rider spent the most energy based on steepness segments.

## Benefits

- Converts raw elevation points into meaningful climbing data.
- Filters out sensor noise to find real hills.
- Weights distance by grade to reflect actual physical effort.
- Breaks down total vertical change into specific, actionable segments.

## How It Works

Connect your client to Vinkius and start sending telemetry data to your agent.

1. Connect your MCP-compatible client to Vinkius.
2. Provide your route telemetry data to your AI client.
3. Ask your agent to perform specific vertical calculations.
4. Receive structured summaries or segment breakdowns from your agent.

## Frequently Asked Questions

**What kind of data does this MCP need?**
It needs route telemetry data, specifically lists containing distance and elevation points.

**How does it handle small elevation changes?**
The threshold grouping tool filters out minor elevation noise to focus on significant climbing or descending events.

**Can it tell me how hard a climb felt?**
Yes, the grade-weighted metrics tool calculates perceived effort by weighting the distance against the incline.

**Which clients can use this?**
Any MCP-compatible client like Claude, Cursor, Windsurf, or VS Code can use this tool once connected via Vinkius.

**Does it work for hiking or only cycling?**
It works for any terrain telemetry, including cycling, hiking, and running.

**How do I calculate the total climbing effort?**
You can use the `get_route_summaries` tool to retrieve the total elevation gain and loss from your route points.

**Can I filter out small elevation changes?**
Yes, use `get_threshold_grouping` with a minimum vertical threshold to identify significant climbing or descending events.

**What is grade-weighted distance?**
It is a metric that adjusts distance based on steepness. You can calculate this using `get_grade_weighted_metrics` by providing a steepness factor.
