Strava MCP Server
@yorrickjansen
About Strava MCP Server
An MCP server to interact with Strava
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"strava-mcp-yorrickjansen": {
"command": "uvx",
"args": [
"strava-mcp"
]
}
}
}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 enables AI assistants to interact with the Strava API. It is designed for developers using MCP‑compatible clients like Claude Desktop to retrieve and analyze Strava activities, segments, and leaderboards.
How to use Strava MCP Server?
Install with uvx strava-mcp. Configure by setting STRAVA_CLIENT_ID and STRAVA_CLIENT_SECRET environment variables, then authorize via the automatic OAuth flow. Use it with MCP clients such as Claude Desktop by adding the appropriate configuration entry.
Key features of Strava MCP Server
- Retrieve authenticated user’s activities with filters
- Get detailed information of a specific activity
- Fetch segments from a given activity
- Obtain leaderboard data for a specific segment
- Supports OAuth authentication with automatic token refresh
Use cases of Strava MCP Server
- Ask an AI assistant to list recent runs within a date range
- Analyze a specific workout’s details in a chat conversation
- Compare performance on a favorite segment via its leaderboard
- Automate periodic Strava data retrieval in MCP‑based workflows
FAQ from Strava MCP Server
What is required to use Strava MCP Server?
You need a Strava API application (Client ID and Client Secret) and an MCP client like Claude Desktop. Credentials are set as environment variables.
How does authentication work?
On first use, an OAuth flow automatically starts and opens your browser to the Strava authorization page. After authorizing, the refresh token is saved locally for future use.
What tools are available?
The server provides four tools: Get User Activities, Get Activity, Get Activity Segments, and Get Segment Leaderboard. Each supports optional parameters like time filters or effort inclusion.
How do I configure it for Claude Desktop?
Add an entry to claude_desktop_config.json that runs bash -c "source ~/.ssh/strava.sh && uvx strava-mcp", where strava.sh exports your Client ID and Client Secret.
Can I manually obtain a refresh token?
Yes, run python get_token.py from the project directory to manually get a refresh token.
Frequently asked questions
What is required to use Strava MCP Server?
You need a Strava API application (Client ID and Client Secret) and an MCP client like Claude Desktop. Credentials are set as environment variables.
How does authentication work?
On first use, an OAuth flow automatically starts and opens your browser to the Strava authorization page. After authorizing, the refresh token is saved locally for future use.
What tools are available?
The server provides four tools: Get User Activities, Get Activity, Get Activity Segments, and Get Segment Leaderboard. Each supports optional parameters like time filters or effort inclusion.
How do I configure it for Claude Desktop?
Add an entry to `claude_desktop_config.json` that runs `bash -c "source ~/.ssh/strava.sh && uvx strava-mcp"`, where `strava.sh` exports your Client ID and Client Secret.
Can I manually obtain a refresh token?
Yes, run `python get_token.py` from the project directory to manually get a refresh token.
Basic information
More Other MCP servers
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Comments