Strava Training MCP

السجل الرسمي الذكاء الاصطناعي والوكلاء

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

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

PYPI package strava-training-mcp
Claude Code
claude mcp add strava-training-mcp -- uvx strava-training-mcp==0.3.2
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "strava-training-mcp": {
            "command": "uvx",
            "args": [
                "strava-training-mcp==0.3.2"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Strava MCP Server
  2. Install
  3. Tools
  4. Example conversations
  5. How it works
  6. Limitations
  7. Troubleshooting
  8. Website
  9. Built with
  10. License

Strava MCP Server

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.

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

الأسئلة الشائعة

ما هو Strava Training MCP؟

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

كيف أثبّت Strava Training MCP؟

يعمل على جهازك. في Claude Code: claude mcp add strava-training-mcp -- uvx strava-training-mcp==0.3.2. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Strava Training MCP إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل Strava Training MCP مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون Strava Training MCP؟

ينشره ArjanLig. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.