Strava MCP Server
Provides access to Strava activity data, enabling retrieval of recent activities with details like distance, time, activity type, and descriptions
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Strava MCP Servershow my last 5 runs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Strava MCP Server
A Model Context Protocol (MCP) server that provides Strava activity data to Cursor AI. Currently uses sample data, but easily extensible for real Strava API integration.
🤖 Add to Cursor
The configuration has been automatically added to your Cursor MCP settings!
If you need to add it manually or on another machine:
Open
~/.cursor/mcp.jsonin a text editorReplace the content with:
{
"mcpServers": {
"strava": {
"command": "python",
"args": ["/Users/dylanmelotik/Code/melotik/mcp-hackathon/strava_mcp.py"],
"env": {}
}
}
}Restart Cursor for changes to take effect
🚀 Setup
Install dependencies:
pip install -r requirements.txtTest the server:
python strava_mcp.py
🛠️ Available Tools
get_strava_activities- Get recent Strava activities (sample data)limitparameter (default: 10) - max number of activities to return
Usage in Cursor
Once configured, you can ask Cursor: "Show me my recent Strava activities" and it will use the MCP server to return formatted activity data including:
Activity name and type
Distance and time
Date and description
Activity ID
🔧 For Real Strava Integration
To connect to the actual Strava API:
Register at https://www.strava.com/settings/api
Replace the hardcoded activities in
get_strava_activities()with real API callsAdd authentication handling
License
MIT License - feel free to use and modify!
Related MCP Connectors
- Coach MCPOAuthai.iamcoach
Your endurance training data in your AI assistant: activities, recovery, plan, workout edits.
Strava MCP tools for AI: athletes, activities, segments, clubs, routes. Powered by HAPI MCP server.
Your strength-training data for any AI assistant: workouts, progress, muscle volume, routines.
- SomviaOAuthapp.somvia
Apple Health training load, recovery, HRV and workout detail for Claude, ChatGPT and any MCP client.