# Running Lap Counter AI Agent Connect

> Running Lap Counter converts your total distance traveled into actionable track data. It handles the math for you, turning raw meter or kilometer counts into completed circuits, partial progress, and exact decimal lap values. Your AI client uses these tools to give you a clear picture of your progress on any standard running track.

## Overview
- **Category:** utilities
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_eXL29tDTzEumNjWt0wvq64sb6Umr449onlkiaGNe/ai-agent-connect
- **Tags:** running, track, laps, distance, fitness-tracking

## Description

If you're training on a track, you shouldn't have to do mental math to figure out how many laps you've actually finished. This MCP handles the conversion between total distance and track laps. You can feed your total distance into your AI client, and it will tell you exactly where you stand. It works for whole laps, fractional progress, or a full summary of your run. Whether you're tracking a 400m circuit or a different distance, the math stays accurate. You get clear answers on how many full laps you've cleared and how much distance is left in your current circuit.

## Tools

### get_completed_laps
This tool identifies the total number of full circuits you have finished.

### get_exact_lap_count
This tool provides the precise mathematical lap count, including any fractional parts.

### get_lap_summary
This tool gives a full overview of your progress, including whole laps and remaining distance.

### get_partial_progress
This tool calculates the specific distance you have left to go in your current lap.

## Prompt Examples

**Prompt:** 
```
I ran 5000 meters on a 400 meter track. How many laps did I complete?
```

**Response:** 
```
You have completed 12 full laps.
```

**Prompt:** 
```
Give me a summary of my progress: 1250m total distance on a 400m track.
```

**Response:** 
```
You have completed 3 full laps, with 50 meters remaining in your current lap, for a total of 3.125 laps.
```

**Prompt:** 
```
What is the exact lap count for 1000m on a 400m track?
```

**Response:** 
```
The exact lap count is 2.5 laps.
```

## Capabilities

### Lap Conversion
Your agent converts raw distance numbers into track laps.

### Progress Tracking
Your agent calculates how much distance remains in an unfinished lap.

### Fractional Math
Your agent provides exact decimal lap counts for precise training logs.

### Summary Generation
Your agent creates a full breakdown of completed laps and remaining distance.

## Use Cases

### Training Log Automation
Input your total distance to get a clean lap count for your workout journal.

### Real-time Progress Checks
Ask your agent how much distance is left in your current lap during a session.

### Workout Planning
Determine exactly how many laps are required to hit a specific distance goal.

### Data Summarization
Get a full summary of completed laps and remaining distance from a single distance input.

## Benefits

- Eliminates manual division of distance by track length.
- Provides exact decimal values for precise training records.
- Calculates remaining distance in the current lap automatically.

## How It Works

Connect the MCP to your client and start asking for lap data.

1. Connect the MCP to Claude, Cursor, or Windsurf via Vinkius.
2. Provide your total distance and the track length to your AI client.
3. The agent uses the specific lap tools to perform the math.
4. Receive your completed laps, partial progress, or exact lap counts.

## Frequently Asked Questions

**How do I use this MCP with my AI client?**
You connect to the MCP through the Vinkius platform. Once connected, your AI client in Claude, Cursor, or Windsurf can immediately use the lap calculation tools.

**Can I use this for tracks that aren't 400 meters?**
Yes. You simply provide the specific track length to your agent along with your distance, and it will calculate the laps based on that length.

**Does this provide decimal lap counts?**
Yes. The get_exact_lap_count tool provides precise mathematical values including the fractional parts of a lap.

**What if I only want to know my completed laps?**
You can use the get_completed_laps tool, which specifically returns the number of full circuits you have finished.

**Can it tell me how much further I have to go in my current lap?**
Yes. The get_partial_progress tool calculates the remaining distance in your current, unfinished lap.

**How do I calculate my total laps?**
You can use the `get_lap_summary` tool to get a full report of completed laps, remaining distance, and the exact decimal lap count.

**Can I get the exact decimal number of laps?**
Yes, use the `get_exact_lap_count` tool to receive the precise mathematical lap count including fractional parts.

**How much distance is left in my current lap?**
Use the `get_partial_progress` tool to find the remaining distance covered in your current, unfinished lap.
