Back to Home
Stealinglight icon

StravaMCP

Verified Safe

by Stealinglight

Overview

This server enables AI assistants like Claude to manage Strava accounts, with a primary focus on enriching workout data, especially activities imported from devices like Apple Watch.

Installation

Run Command
npm start

Environment Variables

  • STRAVA_CLIENT_ID
  • STRAVA_CLIENT_SECRET
  • STRAVA_REFRESH_TOKEN
  • PORT

Security Notes

The project demonstrates good security practices by using environment variables for sensitive credentials (STRAVA_CLIENT_ID, STRAVA_CLIENT_SECRET, STRAVA_REFRESH_TOKEN) and avoiding hardcoded secrets. It employs automatic OAuth token refreshing, which is crucial for continuous and secure API access. Error handling (`formatError`) is designed to prevent leaking raw internal error messages. No 'eval' or other direct code injection vulnerabilities were found. The `createUpload` function, while its description for the 'file' parameter (`Base64 encoded file content or file path`) might be slightly ambiguous, the implementation passes the file content as a string in the JSON body to an external API endpoint, mitigating local file system risks. However, it's worth noting the current `createUpload` implementation sends the file content as JSON, which may not correctly interface with Strava's multipart/form-data requirement for file uploads, representing a functional limitation rather than a direct security vulnerability within the server itself.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens4000
Stars0
Forks0
Last Update2026-01-17

Tags

StravaFitnessAI AssistantMCPWorkout Enrichment