strava-mcp
MCP server to fetch Strava activities using OAuth authentication with automatic token refresh. Allows retrieving recent activities, activities by date range, activity details, and athlete stats.
README
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:
localhost - Note 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.txt
3. 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.py
This 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"]
}
}
}
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.py - Port 8081 is used for the OAuth callback
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.