Strava MCP Server

Enables interaction with the Strava API through a Model Context Protocol (MCP) server.

Local serverstdioPython 4

What is the Strava MCP server?

Enables interaction with the Strava API through a Model Context Protocol (MCP) server. The strava mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 2 defined tools rather than through you.

Its toolset

Everything the assistant can do here goes through one of these:

  • Installation — The Installation tool exposed by this server
  • Authentication — 1. An authentication flow will automatically start 2. Your browser will open to the Strava authorization page 3. After authorizing, you'll be

Adding it to your client

Installation goes through your MCP client rather than a global install: point it at strava-mcp on PyPI and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Configuration

You will need 2 environment variables: STRAVA_CLIENT_ID, STRAVA_CLIENT_SECRET. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

When to reach for it

Plenty of browser automation servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Strava's toolset — Installation, Authentication — is a fair guide to whether it matches your workflow. It is maintained by yorrickjansen; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the strava mcp server does with a few real requests.

Available tools

ToolWhat it does
InstallationThe Installation tool exposed by this server.
Authentication1. An authentication flow will automatically start 2. Your browser will open to the Strava authorization page 3. After authorizing, you'll be redirected back to a local page 4. Your refresh token will be saved automatica

How to install the Strava MCP server

{
  "mcpServers": {
    "strava-3": {
      "command": "uvx",
      "args": ["strava-mcp"],
      "env": {
        "STRAVA_CLIENT_ID": "your-value",
        "STRAVA_CLIENT_SECRET": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
STRAVA_CLIENT_IDConfiguration value read at startup.Optional
STRAVA_CLIENT_SECRETCredential the server authenticates with.Yes

Example prompts to try

  • Use Strava to Installation.
  • Use Strava to Authentication.

Frequently asked questions

You can install it using `uvx strava-mcp`. Then, create a Strava API application to obtain your Client ID and Client Secret. Configure your credentials and Claude Desktop as described in the documentation.