Read/write Intervals.icu MCP server: activities, wellness, calendar, gear, and workouts.
The Intervals.icu MCP server provides Model Context Protocol access to Intervals.icu data. It supports reading and writing training-related information, including activities and wellness metrics, plus calendar content, gear details, and workout data for use via Claude, ChatGPT, and other LLMs.
๐ ๏ธ Key Features
Read/write Intervals.icu integration for training data
Exposes activities, wellness metrics, calendar, gear, and workouts
๐ Use Cases
Training data access for LLM-driven analysis
Wellness and performance review using Intervals.icu metrics
Workout planning workflows based on stored workouts and gear info
โก Developer Benefits
Model Context Protocol (MCP) server for Intervals.icu
Topic coverage includes workout planning, training analysis, and fitness tracking
Uses a Python-oriented project scope (topic: python)
โ ๏ธ Limitations
The provided excerpt does not list specific MCP tools, authentication, or supported endpoints (toolCount not provided).
A Model Context Protocol (MCP) server for Intervals.icu integration. Access your training data, wellness metrics, and performance analysis through Claude, ChatGPT, and other LLMs.
Originally based on eddmann/intervals-icu-mcp (MIT licensed). This project is an independent continuation with significant bug fixes and new features โ see CHANGELOG.md for details.
Overview
67 tools spanning activities, activity analysis, activity messages, athlete profile, wellness, events/calendar, performance curves, workout library, gear, sport settings, and custom items โ plus 4 MCP Resources (athlete profile, workout syntax, event categories, custom item schemas) and 7 MCP Prompts (training analysis, recovery check, weekly planning, and more). See Available Tools for the per-category breakdown.
Install uv โ it handles Python, dependencies, and execution in one tool. brew install uv on macOS/Linux, or powershell -c "irm https://astral.sh/uv/install.ps1 | iex" on Windows. From there, uvx fetches Python and the package automatically. Docker is also supported as an alternative.
Intervals.icu API Key Setup
Before installation, obtain your Intervals.icu API key:
Copy the key, and note your Athlete ID from your profile URL (format: i123456).
Installation & Setup
Nothing to install separately if you use the recommended setup.uvx (which ships with uv) automatically downloads and caches the intervals-icu-mcp package the first time your MCP client launches it โ just paste the config snippet from Client Configuration into your client and you're done.
Alternative: from source โ for development or local modifications
bash
git clone https://github.com/hhopke/intervals-icu-mcp.git
cd intervals-icu-mcp
uv sync
uv run intervals-icu-mcp-auth # interactive credential setup; or create .env manually:# INTERVALS_ICU_API_KEY=your_api_key_here# INTERVALS_ICU_ATHLETE_ID=i123456
Then point your MCP client at this checkout โ see the From source snippet inside each client below.
Alternative: Docker
bash
docker build -t intervals-icu-mcp .
# Interactive credential setup (creates intervals-icu-mcp.env in the current directory):touch intervals-icu-mcp.env # pre-create the file so Docker mounts it as a file, not a dir
docker run -it --rm \
-v "$(pwd)/intervals-icu-mcp.env:/app/.env" \
--entrypoint= intervals-icu-mcp:latest \
python -m intervals_icu_mcp.scripts.setup_auth
Or create intervals-icu-mcp.env manually (same format as the .env above).
Then point your MCP client at the Docker image โ see the Docker snippet inside each client below.
Client Configuration
The server speaks MCP over stdio and works with any compliant client. Click a client to expand. If you followed Quick Start (uvx), use the first config block; if you used the source or Docker alternative above, use the matching variant inside the same collapsible.
Restart Cursor and open Settings โ MCP to verify the server is listed.
ChatGPT โ requires a paid plan, Developer Mode, and a publicly reachable URL (walkthrough not yet verified end-to-end)
ChatGPT's custom MCP connector flow requires running the server over HTTP and exposing it via a tunnel, then registering the URL in ChatGPT's Developer Mode settings. See docs/chatgpt-connector.md for the full walkthrough, plan-tier requirements, and security notes.
Usage
Ask Claude to interact with your Intervals.icu data in natural language. A few starter prompts:
code
"Show me my activities from the last 30 days"
"Am I overtraining? Check my CTL, ATL, and TSB"
"How's my recovery this week? Show HRV and sleep trends"
"Create a sweet spot cycling workout for tomorrow"
"What's my 20-minute power and FTP?"
For the full catalogue of example prompts by category, see docs/examples.md.
Available Tools
67 tools, 4 resources, and 7 prompt templates. One-line summary below โ full reference in docs/tools.md.
User customizations: custom charts, fields, zones, dashboard panels
Delete Safety Mode
Destructive tools are gated by the optional INTERVALS_ICU_DELETE_MODE env var (safe / full / none, default safe) โ a server-side gate outside the model's reach, so unregistered tools can't be invoked. See docs/tools.md for the full mode table, response envelope, and TZ-buffer rationale.
Remote Deployment (HTTP / SSE)
The server runs over stdio by default โ the right transport for local clients like Claude Desktop, Claude Code, and Cursor. HTTP and SSE transports are available for remote or hosted use.
โ ๏ธ MCP has no built-in authentication โ never expose an HTTP-mode server to an untrusted network without a tunnel (Tailscale, Cloudflare Tunnel) or an authenticating reverse proxy.
How are you using this? Which tools you lean on, what your prompts look like, where it gets in your way โ that shapes the roadmap more than my own guesses do.
Contributions are very welcome, and none is too small โ a typo, a clearer parameter description, an extra test, a whole new tool. No Python or MCP expertise assumed. See CONTRIBUTING.md; in short, run make can-release before opening a PR. Good first issues are a gentle place to start.
Sponsor
Free under the MIT License, maintained in my spare time. If it's useful to you, GitHub Sponsors supports continued development โ entirely optional, and feedback or a PR helps just as much.
This project is not affiliated with, endorsed by, or sponsored by Intervals.icu. All product names, logos, and brands are property of their respective owners.
Install
Configuration
Environment variables
INTERVALS_ICU_API_KEYrequiredsecret
Your Intervals.icu API key (from Settings โ Developer)