
trainingpeaks-mcp
by JamsusMaximus·★ 65·综合分 48
TrainingPeaks MCP 服务器允许通过自然语言查询训练、健身数据和最佳成绩。
概述
这个 MCP 服务器通过模型上下文协议将 TrainingPeaks 连接到 Claude Desktop、Code 和 Cowork。它提供了 62 个工具用于管理训练、分析健身数据、跟踪最佳成绩和更新运动员设置。服务器使用安全 cookie 身份验证,适用于任何 TrainingPeaks 账户,无需 API 批准。您的凭据存储在系统钥匙串中,除了发送到 TrainingPeaks 外不会传输到任何地方。该服务器有积极的维护,最近的提交提供了全面的文档。
试试问 AI
装完之后,这里有 6 个你可以让 AI 做的事:
什么时候选它
如果你使用 TrainingPeaks 进行健身追踪,并希望获得 AI 辅助来规划和分析训练,且无需经过 API 审批流程,应选择此服务器。
什么时候不要选它
如果你使用其他健身平台或需要基于官方 API 集成此 Cookie 认证不支持的高级功能,不应选择此服务器。
此 server 暴露的工具
从 README 抽取出 12 个工具tp_get_workoutsList workouts in a date range (max 90 days)
tp_get_workoutGet full details for a single workout
tp_create_workoutCreate a workout with optional interval structure
tp_analyze_workoutDetailed analysis with time-series data, zones, and laps
tp_get_fitnessGet CTL, ATL, and TSB trend (fitness, fatigue, form)
tp_get_peaksPower PRs (5s-90min) and running PRs (400m-marathon)
tp_update_ftpUpdate FTP and recalculate the default power zones
tp_log_metricsLog weight, HRV, sleep, steps, SpO2, pulse, RMR, injury
tp_get_eventsList events in a date range
tp_create_eventAdd a race/event with priority and CTL target
tp_get_profileGet athlete profile
tp_auth_statusCheck authentication status
可对比工具
安装
选项 A:使用 Claude Code 自动设置
如果你有 [Claude Code](https://claude.ai/code),粘贴此提示:
从 https://github.com/JamsusMaximus/trainingpeaks-mcp 设置 TrainingPeaks MCP 服务器 - 克隆它,创建 venv,安装它,然后引导我从浏览器获取 TrainingPeaks cookie 并运行 tp-mcp auth。最后,将其添加到我的 Claude Desktop 配置。选项 B:手动设置
步骤 1:安装
git clone https://github.com/JamsusMaximus/trainingpeaks-mcp.git
cd trainingpeaks-mcp
python3 -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e .步骤 2:身份验证
pip install tp-mcp[browser] # 一次性:安装浏览器支持
tp-mcp auth --from-browser chrome # 或:firefox, safari, edge, auto步骤 3:添加到 Claude Desktop
运行此命令获取配置代码片段:
tp-mcp config编辑 ~/Library/Application Support/Claude/claude_desktop_config.json(macOS)或 %APPDATA%\Claude\claude_desktop_config.json(Windows)并将其放入 mcpServers 内:
FAQ
- 我需要 API 批准才能使用此服务器吗?
- 不需要。此服务器使用安全的 cookie 身份验证,适用于任何 TrainingPeaks 账户,无需 API 批准。
- 我的凭据如何存储?
- 您的 cookie 被加密存储在系统钥匙串中,除了发送到 TrainingPeaks 本身外,不会传输到任何地方。
trainingpeaks-mcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。