Skip to content
appsgit

Strava MCP

Strava MCP is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP server for accessing Strava API. It has 497 GitHub stars, is released under the MIT license and runs locally with npx -y strava-mcp-server.

github.com/r-huijts/strava-mcp (opens in a new tab)

Install Strava MCP

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "strava-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "strava-mcp-server"
      ],
      "env": {
        "STRAVA_CLIENT_ID": "your-value",
        "STRAVA_CLIENT_SECRET": "your-value",
        "STRAVA_ACCESS_TOKEN": "your-value"
      }
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --env STRAVA_CLIENT_ID=your-value --env STRAVA_CLIENT_SECRET=your-value --env STRAVA_ACCESS_TOKEN=your-value --transport stdio strava-mcp -- npx -y strava-mcp-server

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "strava-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "strava-mcp-server"
      ],
      "env": {
        "STRAVA_CLIENT_ID": "your-value",
        "STRAVA_CLIENT_SECRET": "your-value",
        "STRAVA_ACCESS_TOKEN": "your-value"
      }
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "strava_client_secret",
      "description": "STRAVA_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "strava_access_token",
      "description": "STRAVA_ACCESS_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "strava-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "strava-mcp-server"
      ],
      "env": {
        "STRAVA_CLIENT_ID": "your-value",
        "STRAVA_CLIENT_SECRET": "${input:strava_client_secret}",
        "STRAVA_ACCESS_TOKEN": "${input:strava_access_token}"
      }
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
STRAVA_CLIENT_IDYesYour Strava API client ID
STRAVA_CLIENT_SECRETsecretYesYour Strava API client secret
STRAVA_ACCESS_TOKENsecretYesYour Strava API access token

About Strava MCP

Connect Claude to your Strava account and ask questions in plain English: "How far did I run this month?", "Analyze my last ride", or "Show me my fastest segments."

FAQ

Strava MCP FAQ

Still curious? Email info@appsgit.com.

What is Strava MCP?

Strava MCP is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP server for accessing Strava API. It has 497 GitHub stars, is released under the MIT license and runs locally with npx -y strava-mcp-server. The source code is at github.com/r-huijts/strava-mcp.

How do I install the Strava MCP MCP server?

Add the command npx -y strava-mcp-server to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Strava MCP free?

The server is open source under the MIT license, so running it is free. It needs credentials (STRAVA_CLIENT_SECRET and STRAVA_ACCESS_TOKEN) for the service it connects to, which may require a paid account.

Is Strava MCP actively maintained?

The most recent commit was on Jun 13, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.