MCP server · Audited from source
Strava MCP server
by r-huijts/strava-mcpMIT licenceAudited 30 Sep 2026 · source 3d2556713bce
Is it safe? With care — CAUTION, grade B (84/100). It exposes 24 tools: 22 read, 1 write and 1 destructive. The audit recorded 9 findings (0 critical, 0 high, 8 medium, 1 low). Maintainer's description: A Model Context Protocol (MCP) server that connects to Strava API, providing tools to access Strava data through LLMs
Cite
Cite this page
ModelsAtlas. “Strava MCP server (r-huijts/strava-mcp)”. Retrieved 30 Sep 2026. https://modelsatlas.com/mcp/r-huijts/strava-6
Trust audit
Audit 0.4.1 · full source read 30 Sep 2026
9 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared1 observation
- NetworkDeclared5 observations
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS |
L1 Static source | Secrets, path traversal, supply chain | WARN 8 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
r-huijtsUser accountAccount type recorded when we read the repository. - PackagePublished on npm
@r-huijts/strava-mcp-serverat version 1.2.1 - LicenceMITFrom the repository, as read at the audited commit.
- Last push4 months agoActivity of the repository when we read it.
- Source commit read3d2556713bceThe audit covers exactly this commit, read on 30 Sep 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory24 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (9)
Sorted by severity
MEDIUMInformation disclosuredisclose.log_secret · scripts/setup-auth.ts:103
console.log(`i️ Using Client Secret from .env.`);
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · scripts/setup-auth.ts:140
console.log(`Access Token: ${access_token}`);- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · scripts/setup-auth.ts:141
console.log(`Refresh Token: ${refresh_token}`);- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · scripts/setup-auth.ts:142
console.log(`Access Token Expires At: ${new Date(expires_at * 1000).toLocaleString()}`);- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · test-strava-api.ts:23
console.log(`[TEST] Using token: ${accessToken.substring(0, 5)}...${accessToken.slice(-5)}`);- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMObfuscation / stealthobf.zero_width · src/auth/pages.ts:146
<div class="logo">🏃♂️</div>
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMObfuscation / stealthobf.zero_width · src/auth/pages.ts:302
<div class="logo">🏃♂️</div>
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
disconnect-strava
- Why
- 1 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, axios, dotenv, open, zod, @types/node, @typescript-eslint/eslint-plugin, @typescript-eslint/parser
- Why
- 13 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
Tools it exposes
24 declared in source · 1 destructive
1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
disconnect-strava | destructive | Disconnect your Strava account and remove stored credentials. Use this when the user wants to logout, disconnect, or remove their Strava connection. |
connect-strava | write | Connect your Strava account to enable activity tracking. This will open a browser window for secure authentication. Use this when the user asks to connect, link, or authenticate their Strava account. |
check-strava-connection | read | Check if Strava is connected and show the current connection status. Use this when the user asks about their connection status. |
explore-segments | read | Searches for popular segments within a given geographical area. |
export-route-gpx | read | Exports a specific Strava route in GPX format and saves it to a pre-configured local directory. |
export-route-tcx | read | Exports a specific Strava route in TCX format and saves it to a pre-configured local directory. |
format-workout-file | read | Formats a workout plan into a structured file format (currently supports Zwift .zwo) |
get-activity-details | read | Fetches detailed information about a specific activity using its ID. |
get-activity-streams | read | Retrieves detailed time-series data streams from a Strava activity. Perfect for analyzing workout metrics, |
get-all-activities | read | Fetches complete activity history with optional filtering by date range and activity type. Supports pagination to retrieve all activities. |
get-athlete-profile | read | Fetches the profile information for the authenticated athlete, including their unique numeric ID needed for other tools like get-athlete-stats. |
get-athlete-shoes | read | Fetches the authenticated athlete |
get-athlete-stats | read | Fetches the activity statistics (recent, YTD, all-time) for a specific athlete using their ID. Requires the athleteId obtained from the get-athlete-profile tool. |
get-recent-activities | read | Fetches the most recent activities for the authenticated athlete. |
get-route | read | Fetches detailed information about a specific route using its ID. |
get-segment | read | Fetches detailed information about a specific segment using its ID. |
get-segment-effort | read | Fetches detailed information about a specific segment effort using its ID. |
get-segment-leaderboard | read | Retrieves the leaderboard for a specific Strava segment. Shows top performances with times, |
get-server-version | read | Returns the Strava MCP server version and related metadata. |
list-athlete-clubs | read | Lists the clubs the authenticated athlete is a member of. |
list-athlete-routes | read | Lists the routes created by the authenticated athlete, with pagination. |
list-segment-efforts | read | Lists the authenticated athlete |
list-starred-segments | read | Lists the segments starred by the authenticated athlete. |
star-segment | read | Stars or unstars a specific segment for the authenticated athlete. |
Install
Package version 1.2.1 · audited commit 3d25567
Read the findings first. The most severe is Information disclosure (medium) at scripts/setup-auth.ts.
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 1.2.1. The audit covers commit 3d25567 only.
claude mcp add strava-mcp-server --env STRAVA_ACCESS_TOKEN=${STRAVA_ACCESS_TOKEN} --env STRAVA_CLIENT_SECRET=${STRAVA_CLIENT_SECRET} --env STRAVA_REFRESH_TOKEN=${STRAVA_REFRESH_TOKEN} -- npx -y @r-huijts/[email protected]{
"mcpServers": {
"strava-mcp-server": {
"command": "npx",
"args": [
"-y",
"@r-huijts/[email protected]"
],
"env": {
"STRAVA_ACCESS_TOKEN": "${STRAVA_ACCESS_TOKEN}",
"STRAVA_CLIENT_SECRET": "${STRAVA_CLIENT_SECRET}",
"STRAVA_REFRESH_TOKEN": "${STRAVA_REFRESH_TOKEN}"
}
}
}
}The command pins the package version recorded in the source (1.2.1); the audit covers commit 3d2556713bce. Transport: stdio. Reads these environment variables: STRAVA_ACCESS_TOKEN, STRAVA_CLIENT_SECRET, STRAVA_REFRESH_TOKEN. Give it the narrowest token it needs.
Audit history
- !CAUTION B 84 / 100
First audit ·
3d2556713bce
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/r-huijts/strava-6/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Strava MCP server
What is the Strava MCP server?
What tools does Strava expose?
Is Strava safe to connect to an agent?
What credentials does Strava need?
How does Strava run?
How current is this page?
Sources
- r-huijts/strava-mcp on GitHub — the source we read, its licence, stars and activityObserved · 30 Sep 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 3d2556713bceObserved · 30 Sep 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Strava MCP server?
- What tools does Strava expose?
- Is Strava safe to connect to an agent?