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 分