Strava MCP Server
@tomekkorbak
About Strava MCP Server
MCP server for Strava API integration
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"strava-mcp-server": {
"command": "python",
"args": [
"get_strava_token.py"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Strava MCP Server?
Strava MCP Server is a Model Context Protocol (MCP) server that provides access to the Strava API, allowing language models to query athlete activity data. It is designed for developers and users who want to integrate Strava data into AI assistants like Claude.
How to use Strava MCP Server?
Install the server via uvx strava-mcp-server and set the required environment variables: STRAVA_CLIENT_ID, STRAVA_CLIENT_SECRET, and STRAVA_REFRESH_TOKEN. Configure it in claude_desktop_config.json for Claude Desktop or connect locally for Claude Web. Use the included get_strava_token.py script to obtain your refresh token.
Key features of Strava MCP Server
- Retrieve recent activities from the authenticated athlete
- Query activities within a specific date range (ISO format)
- Fetch detailed information about a single activity by ID
- Get activities from the past X days with a single command
Use cases of Strava MCP Server
- Ask an AI assistant “What are my recent activities?” to get a summary
- Analyze training patterns over a custom date range
- Retrieve details of a specific workout for performance review
- Monitor recent activities without opening the Strava app
FAQ from Strava MCP Server
What authentication is required?
You need a Strava API application (Client ID and Client Secret) and a refresh token. The server uses OAuth 2.0 with the provided environment variables.
How do I set up the server?
Create a Strava API app with callback domain localhost, run get_strava_token.py to authorize and save tokens, then set STRAVA_CLIENT_ID, STRAVA_CLIENT_SECRET, and STRAVA_REFRESH_TOKEN as environment variables.
What date format should I use?
Dates must be provided in ISO 8601 format (YYYY-MM-DD), for example 2024-01-15.
What data fields are returned in activities?
The server returns fields like name, sport_type, distance_metres, elapsed_time_seconds, average_speed_mps, calories, and coordinates, all in consistent units.
How does the server handle errors?
It provides human-readable error messages for invalid date formats, API authentication errors, and network connectivity problems.
More Other MCP servers
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
ghidraMCP
LaurieWiredMCP Server for Ghidra

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Comments