home / mcp / strava mcp server

Strava MCP Server

A Strava MCP

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "jonocx-strava-mcp": {
      "command": "uv",
      "args": [
        "run",
        "mcp",
        "install",
        "main.py"
      ],
      "env": {
        "STRAVA_CLIENT_ID": "<fill-me-in>",
        "STRAVA_ACCESS_TOKEN": "<fill-me-in>",
        "STRAVA_CLIENT_SECRET": "<fill-me-in>",
        "STRAVA_REFRESH_TOKEN": "<fill-me-in>"
      }
    }
  }
}

You can add a Strava MCP to your Claude Desktop client to query your Strava activities directly from Claude. This MCP bridges Claude with your Strava data so you can ask questions like about your latest activity, total distance this week, or recent workouts, making your fitness data instantly searchable and actionable.

How to use

After you install the MCP, Claude will expose a hammer icon in the text input area. Open it to browse and use the Strava MCP. You can ask natural language questions like “tell me about my latest activity” or “show me my runs from last month.” The MCP reads your Strava data using the configured credentials and returns concise, readable answers within Claude.

How to install

Prerequisites you need before installing the Strava MCP: - Claude Desktop installed on your computer - Python runtime available on your system - A Strava account with a developer app created and API credentials ready - A local environment where you can run the MCP using the provided command Follow these steps to install and run the MCP:

STRAVA_CLIENT_ID=<fill-me-in>
STRAVA_CLIENT_SECRET=<fill-me-in>
STRAVA_ACCESS_TOKEN=<fill-me-in>
STRAVA_REFRESH_TOKEN=<fill-me-in>

Additional setup and start command

Next, connect the MCP to Claude by running the start command shown here. This launches the MCP locally so Claude can communicate with Strava through the bridge.

uv run mcp install main.py

Notes on configuration and usage

If you change credentials, you should restart Claude Desktop to ensure the MCP picks up the new values. The credentials you provide enable the MCP to request data from Strava on your behalf. Make sure to keep these values secure and never share them publicly.