intervals.mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@intervals.mcp what's my current CTL and TSB?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
intervals.mcp
An MCP server for intervals.icu, exposing your training data to Claude and other MCP clients. And yes, I did vibe code this.
I am not yet sure of the value of this MCP or AI for training in general. My recent months have been focused on skiing with minimal running. I asked it to help me ease back in to trail running and it came up with a pretty aggressive mileage plan and some heavier threshold work than I am doing now. I'll keep experimenting with it and adding tools as I see fit.
Prerequisites
Python 3.14+
An intervals.icu account with API access
Related MCP server: Intervals.icu MCP Server
Configuration
Set the following environment variables:
Variable | Description |
| Your athlete ID (found in the intervals.icu URL, e.g. |
| Your API key (Settings → API) |
Claude Code Setup
Add to your MCP config (.claude/settings.json or ~/.claude/settings.json):
{
"mcpServers": {
"intervals": {
"command": "env",
"args": [
"INTERVALS_ATHLETE_ID=i12345",
"INTERVALS_API_KEY=your-api-key",
"uvx", "--from", "/path/to/intervals.mcp", "intervals-mcp"
]
}
}
}Claude Desktop Setup
Open the config via Settings → Developer → Edit Config:
{
"mcpServers": {
"intervals": {
"command": "env",
"args": [
"INTERVALS_ATHLETE_ID=i12345",
"INTERVALS_API_KEY=your-api-key",
"uvx", "--from", "/path/to/intervals.mcp", "intervals-mcp"
]
}
}
}Available Tools
Tool | Description |
| Athlete profile including sport zones and thresholds |
| List activities, filterable by date range and sport type |
| Full detail for a single activity including laps and intervals |
| CTL/ATL/TSB fitness time series |
| HRV, resting HR, sleep, and fatigue scores |
| Planned workouts and races from your calendar |
Development
uv run intervals-mcpAvailable Tools
6 toolsget_activitiesB
List activities with optional filters.
Args: oldest: Start date in YYYY-MM-DD format (inclusive). newest: End date in YYYY-MM-DD format (inclusive). sport_type: Filter by sport type (e.g. 'Ride', 'Run', 'Swim').
Inputs: oldest, newest, sport_type.
get_activity_detailA
Get full detail for a single activity including laps and intervals.
Args: activity_id: The activity ID (visible in the intervals.icu URL).
Inputs: activity_id (required).
get_athleteB
Get athlete profile including sport zones and thresholds.
Inputs: no named parameters.
get_eventsB
Get planned workouts and races from the calendar.
Args: oldest: Start date in YYYY-MM-DD format (inclusive). newest: End date in YYYY-MM-DD format (inclusive).
Inputs: oldest, newest.
get_fitnessB
Get CTL/ATL/TSB fitness time series.
Args: oldest: Start date in YYYY-MM-DD format (inclusive). newest: End date in YYYY-MM-DD format (inclusive).
Inputs: oldest, newest.
get_wellnessA
Get wellness data including HRV, resting HR, sleep, and fatigue scores.
Args: oldest: Start date in YYYY-MM-DD format (inclusive). newest: End date in YYYY-MM-DD format (inclusive).
Inputs: oldest, newest.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct domain: activity listing vs. detailed retrieval, athlete profile, calendar events, fitness metrics (CTL/ATL/TSB), and wellness data. No overlap in purpose; the distinction between planned events and completed activities is clear.
Perfectly consistent verb_noun pattern using 'get_' prefix throughout. All use snake_case. The '_detail' suffix appropriately distinguishes single-resource retrieval from list operations without breaking the convention.
Six tools is ideal for this focused read-only integration covering the core intervals.icu data surfaces (activities, athlete, calendar, fitness, wellness). Each tool earns its place; neither bloated nor sparse.
Strong coverage of read operations for athlete analytics including list/detail views and time-series data. Minor gaps exist: no power curve retrieval, segment data, or write operations (create/update activities/events), but core analysis workflows are fully supported.
Maintenance
Related MCP Connectors
Connect Intervals.icu to Claude and ChatGPT: read training, plan workouts. Training never stored.
Your endurance training data in your AI assistant: activities, recovery, plan, workout edits.
Connect Claude to your Intervals.icu watch data for fitness, workout review, and plan writing.
Ask your AI about your fitness: activities and data from Garmin, COROS, Strava, GPX and more
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables AI assistants to interact with Intervals.icu fitness tracking and wellness data, allowing users to fetch, filter, and group activities or health metrics. It provides structured summaries of workouts and physical well-being through natural language queries.4-
- AlicenseAqualityDmaintenanceEnables interaction with Intervals.icu data, including activities, wellness, and calendar events, via natural language.1040 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude AI to access and manage intervals.icu training data, including workouts, wellness, and fitness trends, through natural language conversation.MIT
- AlicenseAqualityDmaintenanceProvides AI assistants with read-only access to an athlete's Intervals.icu training data, including activities, wellness metrics, zones, and planned events, for use with MCP clients like ChatGPT and Claude.15MIT