strava-mcp
v0.4.6Privacy-first MCP server for Strava activities, streams, routes and training.
Values you need
| Variable | What it is | |
|---|---|---|
STRAVA_CLIENT_ID | optional | Strava OAuth client ID. Optional when configured with strava-mcp-server setup. |
STRAVA_CLIENT_SECRET | optional secret | Strava 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_URI | optional | Redirect URI configured in the Strava Developer Dashboard. Optional when configured with strava-mcp-server setup. |
STRAVA_TOKEN_PATH | optional | Optional local path for OAuth tokens. Defaults to ~/.strava-mcp/tokens.json. |
STRAVA_PRIVACY_MODE | optional | Optional payload mode: summary, structured, or raw. Defaults to structured. raw means full Strava API payloads, not continuous 24/7 raw sensor telemetry. |
STRAVA_CACHE | optional | Optional SQLite cache toggle. Set to true or sqlite to enable. |
STRAVA_CACHE_PATH | optional | Optional local SQLite cache path. Defaults to ~/.strava-mcp/cache.sqlite. |
STRAVA_NO_CACHE | optional | Set 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. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add strava-mcp -- npx -y strava-mcp-unofficial@0.4.6Add to
claude_desktop_config.json{
"mcpServers": {
"strava-mcp": {
"args": [
"-y",
"strava-mcp-unofficial@0.4.6"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"strava-mcp": {
"args": [
"-y",
"strava-mcp-unofficial@0.4.6"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"strava-mcp": {
"args": [
"-y",
"strava-mcp-unofficial@0.4.6"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.strava-mcp]
command = "npx"
args = ["-y", "strava-mcp-unofficial@0.4.6"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: strava_data_inventory, strava_agent_manifest, strava_capabilities, strava_quickstart, strava_demo, strava_get_auth_url, strava_exchange_code, strava_get_athlete, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json