- Strava MCP Server
Content
Strava MCP Server
This is a Model Context Protocol (MCP) server for the Strava API, allowing Claude to interact with your Strava data.
Features
The Strava MCP server provides the following tools:
get_athlete_activities: Get activities for the authenticated athleteget_activity: Get details of a specific activitycreate_activity: Create a manual activityget_activity_kudoers: Get the athletes who kudoed an activityget_activity_laps: Get the laps of an activity
Setup Instructions
1. Create a Strava API Application
- Go to Strava API Settings
- Create a new application:
- Application Name: Claude Strava Integration (or any name you prefer)
- Website: http://localhost
- Authorization Callback Domain: localhost
- After creating the application, note your Client ID and Client Secret
2. Obtain a Refresh Token
-
Install the required dependencies:
cd /Users/{USERNAME}/Documents/Cline/MCP/strava-mcp-server npm install -
Run the get-strava-token.js script with your Client ID and Client Secret:
node get-strava-token.js YOUR_CLIENT_ID YOUR_CLIENT_SECRET
- The script will open a browser window asking you to authorize the application to access your Strava data.
- After authorization, the script will display your refresh token in the terminal.
3. Configure the MCP Settings
- Update the MCP settings file with your Strava API credentials:
- Location:
/Users/{USERNAME}/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json - Add your Client ID, Client Secret, and Refresh Token to the
envsection of thestravaserver configuration:"strava": { "command": "node", "args": [ "/Users/{USERNAME}/Documents/Cline/MCP/strava-mcp-server/dist/index.js" ], "env": { "STRAVA_CLIENT_ID": "YOUR_CLIENT_ID", "STRAVA_CLIENT_SECRET": "YOUR_CLIENT_SECRET", "STRAVA_REFRESH_TOKEN": "YOUR_REFRESH_TOKEN" }, "disabled": false, "autoApprove": [] }
- Location:
4. Build and Start the Server
The server will be automatically started by Claude when needed. If you want to test it manually:
cd /Users/{USERNAME}/Documents/Cline/MCP/strava-mcp-server
npm run build
npm start
Usage Examples
Once the Strava MCP server is configured, you can ask Claude to interact with your Strava data:
- "Show me my recent Strava activities"
- "Get details about my latest Strava run"
- "Create a new manual activity on Strava"
- "Who kudoed my latest Strava ride?"
- "Show me the laps from my last track workout"
Troubleshooting
- Authentication Errors: If you encounter authentication errors, your refresh token may have expired. Run the get-strava-token.js script again to obtain a new refresh token.
- Server Not Starting: Make sure the path to the server in the MCP settings file is correct and that you've built the server with
npm run build. - API Rate Limits: The Strava API has rate limits. If you encounter rate limit errors, wait a few minutes before trying again.
License
This project is licensed under the MIT License.
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
CursorThe AI Code Editor
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
DeepChatYour AI Partner on Desktop
ChatWiseThe second fastest AI chatbot™
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Amap Maps高德地图官方 MCP Server
WindsurfThe new purpose-built IDE to harness magic
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Serper MCP ServerA Serper MCP Server
Playwright McpPlaywright MCP server
Tavily Mcp