intervals.mcp
Enables AI assistants to access and analyze intervals.icu training data including activities, fitness metrics (CTL/ATL/TSB), wellness stats, and calendar events. Supports natural language querying of athletic performance for training insights and workout planning.
README
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+
- uv
- An intervals.icu account with API access
Configuration
Set the following environment variables:
| Variable | Description |
|---|---|
INTERVALS_ATHLETE_ID |
Your athlete ID (found in the intervals.icu URL, e.g. i12345) |
INTERVALS_API_KEY |
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 |
|---|---|
get_athlete |
Athlete profile including sport zones and thresholds |
get_activities |
List activities, filterable by date range and sport type |
get_activity_detail |
Full detail for a single activity including laps and intervals |
get_fitness |
CTL/ATL/TSB fitness time series |
get_wellness |
HRV, resting HR, sleep, and fatigue scores |
get_events |
Planned workouts and races from your calendar |
Development
uv run intervals-mcp
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.