intervals.mcp
Click on "Install 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.mcpwhat'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
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-mcpResources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ryansheppard/intervals.mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server