Strava Training MCP

io.github.ArjanLig由 GitHub 账号 ArjanLig 发布v0.3.2更新于 Oct 24, 2026

Connect Strava training data to Claude for training load analysis and activity insights

已验证STDIO仅桌面位置与生活数据与分析

概览

AI 生成的概览

将 Strava 训练数据接入 Claude,用于分析训练负荷、活动指标和装备磨损,适用于骑行和跑步。

可以做什么
读取近期活动,以及单次活动的功率、心率、速度、痛苦分数等详细指标。分析训练负荷,包括 ATL、CTL、TSB、趋势和每周训练量统计。根据当前体能和疲劳生成每周训练计划。查看功率曲线、FTP 估算、心率区间分布和心率漂移。检查训练质量,包括间歇一致性、功率解耦和恢复评分。跟踪装备里程,并对链条、飞轮、轮胎和线缆给出保养提醒。
适用场景
适合在 Strava 上记录骑行、跑步或其他运动的用户,希望让助手解读训练负荷、安排训练、复盘间歇训练或提醒更换装备时使用。
运行要求
通过 uvx 从 PyPI 包启动的本地进程。需要一个免费的 Strava API 应用,提供 Client ID 和 Client Secret,在连接器的授权页面填写,并将回调域名设为该服务器托管域名。需要访问 Strava 的网络连接。
安装前请注意
需要 Strava API 的 Client ID 和 Client Secret,并在第三方托管页面上填写。训练数据会发送到该托管服务和 AI 助手。每周计划只是启发式建议,不能替代教练;训练负荷会低估力量训练或低心率活动的疲劳。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Strava Training MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Strava MCP Server

[MCP Badge]

Connect your Strava training data to Claude. This MCP server turns Claude into your personal training coach — analyzing your training load, planning workouts, and tracking your progress. Works with cycling, running, and any sport you track on Strava.

[Strava MCP]

Install

Works with Claude Desktop and claude.ai on any plan. Free plans can add 1 custom connector (remove any existing connector first), Pro and Max are unlimited.

1. Create a Strava API app

This takes about 2 minutes. You need a free Strava API app so Claude can access your data.

  1. Go to strava.com/settings/api
  2. Fill in the form — Application Name, Category, and Description can be anything (e.g. "My Claude connector")
  3. Set Authorization Callback Domain to strava-mcp-web.vercel.app
  4. Click Create and note your Client ID and Client Secret

2. Add the connector

  1. Open Claude Desktop or claude.ai
  2. Go to Settings → Connectors → Add custom connector
  3. Paste this URL and save:
https://strava-mcp-web.vercel.app/mcp

3. Connect

Click Connect on the newly added connector. This opens a page where you enter your Strava Client ID and Client Secret, then authorize with Strava.

That's it! Ask Claude about your training.

Tools

The server exposes 10 tools:

ToolDescription
get_recent_activitiesYour last activities with distance, duration, and heart rate
get_activity_detailsDeep dive into a specific activity — power, HR, speed, suffer score
get_training_load_analysisATL, CTL, TSB with training advice and 8-week trends
get_weekly_statsWeekly volume — activities, kilometers, hours
get_weekly_training_planWeekly plan based on current fitness and fatigue
get_gear_maintenanceBike/shoe km totals with chain, cassette, tire warnings
get_power_curveBest power outputs (5s–60min), FTP estimate, monthly comparison
get_hr_zone_distributionTime in each HR zone with polarized training advice
get_hr_drift_analysisCardiac drift in steady rides — aerobic efficiency indicator
check_workout_qualityInterval consistency, power decoupling, recovery scoring

Example conversations

"I want to ride tonight, what should I do?" "How is my training load looking?" "Check the quality of my last interval workout" "When do I need to replace my chain?" "What's my FTP and how does it compare to last month?" "Am I spending enough time in zone 2?" "I'm training for a 150km race in April — am I on track?"

How it works

Claude pulls your Strava data in real-time and reasons about it in context — your recent rides, fitness trend, fatigue level, and goals.

Training load analysis uses the standard PMC model:

  • ATL (7-day) — how tired you are now
  • CTL (42-day) — your fitness level
  • TSB — CTL minus ATL. Positive = fresh, negative = fatigued
  • Ramp rate — week-over-week load change, with injury risk warnings

Gear maintenance tracks km on each bike and shoe, warning when chain (3000km), cassette (6000km), tires (5000km), or cables (8000km) need attention.

Power curve finds your best efforts across durations and estimates FTP at 95% of your 20-minute power.

HR analysis covers zone distribution (are you polarizing enough?) and cardiac drift (is your aerobic base improving?).

Limitations

  • Training load uses suffer score / HR — it underestimates fatigue from strength training or activities where HR stays low
  • Power features require a power meter or smart trainer
  • The weekly plan is a heuristic, not a replacement for a certified coach

Troubleshooting

Connector not working? Remove and re-add the connector in Settings → Connectors.

Authentication error? Check that your Strava API app has strava-mcp-web.vercel.app as the callback domain.

Website

strava-mcp-web.vercel.app

Built with

License

MIT

来源:README.md,提交 a90c87e

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.3.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分