Skip to content
MCP server

Strava MCP

Privacy-first MCP server for Strava activities, streams, routes and training.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.4.6
Listing updated
5 days ago

About Strava MCP

Strava MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add strava-mcp --env STRAVA_CLIENT_SECRET='<STRAVA_CLIENT_SECRET>' -- npx -y strava-mcp-unofficial

Add to claude_desktop_config.json

{
  "mcpServers": {
    "strava-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "strava-mcp-unofficial"
      ],
      "env": {
        "STRAVA_CLIENT_SECRET": "<STRAVA_CLIENT_SECRET>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "strava-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "strava-mcp-unofficial"
      ],
      "env": {
        "STRAVA_CLIENT_SECRET": "<STRAVA_CLIENT_SECRET>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "strava-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "strava-mcp-unofficial"
      ],
      "env": {
        "STRAVA_CLIENT_SECRET": "<STRAVA_CLIENT_SECRET>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "strava-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "strava-mcp-unofficial"
      ],
      "env": {
        "STRAVA_CLIENT_SECRET": "<STRAVA_CLIENT_SECRET>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "strava-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "strava-mcp-unofficial"
      ],
      "env": {
        "STRAVA_CLIENT_SECRET": "<STRAVA_CLIENT_SECRET>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • STRAVA_CLIENT_IDStrava OAuth client ID. Optional when configured with strava-mcp-server setup.
  • STRAVA_CLIENT_SECRETStrava OAuth client secret. Prefer strava-mcp-server setup so this secret is stored in ~/.strava-mcp/config.json instead of MCP client config.
  • STRAVA_REDIRECT_URIRedirect URI configured in the Strava Developer Dashboard. Optional when configured with strava-mcp-server setup.
  • STRAVA_TOKEN_PATHOptional local path for OAuth tokens. Defaults to ~/.strava-mcp/tokens.json.
  • STRAVA_PRIVACY_MODEOptional payload mode: summary, structured, or raw. Defaults to structured. raw means full Strava API payloads, not continuous 24/7 raw sensor telemetry.
  • STRAVA_CACHEOptional SQLite cache toggle. Set to true or sqlite to enable.
  • STRAVA_CACHE_PATHOptional local SQLite cache path. Defaults to ~/.strava-mcp/cache.sqlite.
  • STRAVA_NO_CACHESet to true to bypass the in-memory HTTP response cache (60s TTL for GET only). POST/PUT/DELETE and 4xx/5xx responses are never cached regardless.

Pricing

Open source

Prices change. Check wellness.delx.ai before you buy.

Strava MCP FAQ

Is Strava MCP free?

Yes. Strava MCP is open source, so you can use and self-host it for free.

How do I add Strava MCP to Claude Code?

Run this command in your terminal: claude mcp add strava-mcp --env STRAVA_CLIENT_SECRET='<STRAVA_CLIENT_SECRET>' -- npx -y strava-mcp-unofficial

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers