
Intervals Icu Mcp
io.github.hhopke由 GitHub 帳號 hhopke 發布v5.9.1更新於 Nov 7, 2026
Read/write Intervals.icu MCP server: activities, wellness, calendar, gear, and workouts.
概覽
讓助理存取 Intervals.icu 訓練資料:活動、健康指標、行事曆、訓練課、裝備與表現分析。
- 可以做什麼
- 查詢、搜尋、更新、下載與刪除活動
- 檢視活動資料流、區間統計、分段、最佳表現與直方圖;讀取與張貼活動備註和留言
- 讀取運動員個人資料與備註、CTL/ATL/TSB 體能分析和體能圖表時間序列
- 檢視 HRV、睡眠、恢復等健康指標
- 管理行事曆事件、預定訓練、比賽與備註,支援批次操作
- 瀏覽與編輯訓練課資料庫、裝備與保養提醒、運動設定和自訂項目
- 適用情境
- 適合想讓助理分析近期訓練、過度訓練與恢復趨勢、功率或配速曲線,或在 Intervals.icu 中規劃與調整訓練課和行事曆項目的運動員與教練。
- 執行需求
- 以 stdio 在本機執行,通常透過 uvx(需安裝 uv)或 Docker 啟動。需要 Intervals.icu API 金鑰(INTERVALS_ICU_API_KEY)與運動員 ID(INTERVALS_ICU_ATHLETE_ID)。需要連線至 Intervals.icu 的網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Intervals Icu Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
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.
來源:README.md,提交 2c6e217
工具
0版本歷史
11- v5.9.1最新Nov 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
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分