strava-mcp
Fetches Strava activities (recent, range, details) and athlete stats with automatic token refresh.
Click on "Install 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-mcpshow my recent activities"
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 - Activities Reader
MCP to fetch Strava activities with OAuth and automatic token refresh.
Installation
1. Create a Strava app
Go to strava.com/settings/api
Create an application
Authorization Callback Domain:
localhostNote the Client ID and Client Secret
2. Install the MCP
mkdir -p /home/sreno/mcps/strava_custom
cp -r * /home/sreno/mcps/strava_custom/
cd /home/sreno/mcps/strava_custom
# Create the venv
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt3. Configure
Copy config.json.exemple to config.json
Edit config.json:
{
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET"
}4. Authentication (once only)
source .venv/bin/activate
python auth.pyThis opens the browser, you authorize, and tokens are saved.
5. Configure Claude Desktop
In ~/.config/claude-desktop/claude_desktop_config.json:
{
"mcpServers": {
"StravaCustom": {
"command": "bash",
"args": ["/home/sreno/mcps/strava_custom/run.sh"]
}
}
}Related MCP server: Strava MCP Server
Available tools
get_recent_activities: Latest activities (configurable limit)get_activities_range: Activities between two datesget_activity_details: Details of a specific activityget_athlete_stats: Athlete global stats
Notes
Tokens are refreshed automatically
If an error occurs after several months, re-run
python auth.pyPort 8081 is used for the OAuth callback
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SrenoG/mcp-strava'
If you have feedback or need assistance with the MCP directory API, please join our Discord server