
Intervals Icu Mcp
io.github.hhopkePublished by GitHub account hhopkev5.9.1Updated Nov 7, 2026
Read/write Intervals.icu MCP server: activities, wellness, calendar, gear, and workouts.
Overview
Connects an assistant to Intervals.icu training data: activities, wellness, calendar, workouts, gear and performance analysis.
- What you can do
- Query, search, update, download and delete activities
- Inspect activity streams, window stats, intervals, best efforts and histograms; read and post activity notes and comments
- Read athlete profile and notes, CTL/ATL/TSB fitness analysis and fitness chart time series
- Review wellness metrics such as HRV, sleep and recovery
- Manage calendar events, planned workouts, races and notes, including bulk operations
- Browse and edit the workout library, gear and maintenance reminders, sport settings and custom items
- When to use it
- Useful for athletes and coaches who want to ask an assistant about recent training, overtraining and recovery trends, power or pace curves, or to plan and adjust workouts and calendar entries in Intervals.icu.
- Requirements
- Runs locally over stdio, typically launched with uvx (uv installed) or Docker. Needs an Intervals.icu API key in INTERVALS_ICU_API_KEY and an athlete ID in INTERVALS_ICU_ATHLETE_ID. Network access to Intervals.icu.
Installation
In SourceWeft
- Open Intervals Icu Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Intervals.icu MCP Server
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 the release notes for details.
[Tests] [intervals-icu-mcp MCP server] [License: MIT] [Docker] [Sponsor]
Overview
73 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 9 MCP Prompts (training analysis, recovery check, weekly planning, and more). See Available Tools for the per-category breakdown.
Quick Start
Or for Claude Desktop, in 30 seconds:
- Get your API key and athlete ID
- Add this to your Claude Desktop config:
- Restart Claude and ask "Show me my activities from the last 7 days."
Prefer Claude Code, Cursor, or ChatGPT? See Client Configuration. Want to run from source or with Docker? See Installation & Setup.
Prerequisites
Install uv — it handles Python, dependencies, and execution in one tool. curl -LsSf https://astral.sh/uv/install.sh | sh on macOS/Linux (or brew install uv; Homebrew no longer installs on Intel Macs), or powershell -c "irm https://astral.sh/uv/install.ps1 | iex" on Windows. From there, uvx fetches Python and the package automatically. If your MCP client can't find uvx, set command to the full path that which uvx prints. Docker is also supported as an alternative.
Intervals.icu API Key Setup
Before installation, obtain your Intervals.icu API key:
- Go to https://intervals.icu/settings → Developer → Create 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
Then point your MCP client at this checkout — see the From source snippet inside each client below.
Alternative: Docker
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.
Claude Desktop
Add to your configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
From source (requires git clone + uv sync + uv run intervals-icu-mcp-auth):
Docker:
Claude Code
Register the server as a user-scoped MCP server:
Then in any Claude Code session, run /mcp to confirm intervals-icu is connected.
Cursor
Add to ~/.cursor/mcp.json (or the project-local .cursor/mcp.json):
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:
For the full catalogue of example prompts by category, see docs/examples.md.
Available Tools
73 tools, 4 resources, and 9 prompt templates. One-line summary below — full reference in docs/tools.md.
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.
See docs/remote-deployment.md for transport flags and the full security model.
Documentation
- Example prompts — full catalogue of natural-language prompts by category
- Tool reference — complete tool, resource, and prompt inventory
- Architecture overview — how the server, middleware, client, and tools fit together
- Remote deployment (HTTP/SSE) — transports, flags, and the security model for hosted/remote setups
- Testing guide — conventions for pytest + respx, fixtures, and running the suite
- Releases — release notes (CHANGELOG.md covers releases up to 5.8.0)
- Adding a new tool — step-by-step workflow for contributors
Feedback
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.
Show and tell · Q&A · Ideas · General — or open an issue for a reproducible bug.
Contributing
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.
License
MIT License - see the LICENSE file for details.
Disclaimer
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.
Source: README.md at commit 2c6e217
Tools
0Version history
11- v5.9.1LatestNov 7, 2026
- v5.8.0Oct 31, 2026
- v5.7.1Oct 18, 2026
- v5.7.0Oct 18, 2026
- v5.6.0Oct 9, 2026
- v5.5.0Oct 2, 2026
- v5.4.0Sep 27, 2026
- v5.3.0Sep 27, 2026
- v5.2.0Sep 23, 2026
- v5.1.0Sep 17, 2026
- v5.0.1Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts