MCP directory
SM

Strava Mcp

by github.com/davidmosiah · v0.4.6 · updated May 29, 2026

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

npm

Run it locally

Install the package and point your AI client at it.

Environment variables

  • STRAVA_CLIENT_ID

    Strava OAuth client ID. Optional when configured with strava-mcp-server setup.

  • STRAVA_CLIENT_SECRETsecret

    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

    Redirect URI configured in the Strava Developer Dashboard. Optional when configured with strava-mcp-server setup.

  • STRAVA_TOKEN_PATH

    Optional local path for OAuth tokens. Defaults to ~/.strava-mcp/tokens.json.

  • STRAVA_PRIVACY_MODE

    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 SQLite cache toggle. Set to true or sqlite to enable.

  • STRAVA_CACHE_PATH

    Optional local SQLite cache path. Defaults to ~/.strava-mcp/cache.sqlite.

  • STRAVA_NO_CACHE

    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.

More from github.com/davidmosiah

More MCP servers