Strava MCP server
Provides read-only access to a Strava athlete's profile and activities, including tools to retrieve the authenticated athlete's profile, list recent activities with paging and date filters, and fetch detailed activity data by Strava ID.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Strava MCP servershow me my last 5 runs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Strava MCP server
A local, read-only Model Context Protocol server for an athlete's Strava profile and activities. It uses standard input/output, so it works with MCP hosts that can launch a local command.
What it can do
get_my_profile— retrieve the authenticated athlete's profilelist_my_activities— retrieve recent activities, with paging and date filtersget_activity— retrieve a detailed activity by its Strava ID
Related MCP server: Strava MCP Server
Set up
In Strava API Settings, create an application. Copy the client ID and client secret.
In the app settings, set Authorization Callback Domain to
localhost.Copy
.env.exampleto.envand fill inSTRAVA_CLIENT_IDandSTRAVA_CLIENT_SECRET.Run
npm run authorize. Open the printed sign-in link and authorizeread,activity:read. The helper verifies activity access and saves the issued tokens to.envautomatically.Install and check the project:
npm install npm run buildConfigure your MCP host to run:
{ "command": "npx", "args": ["tsx", "C:/absolute/path/to/strava-mcp/src/index.ts"] }
The server reads credentials from the project's .env file. Do not duplicate
tokens in the MCP host configuration, because copied values become stale when
Strava rotates a refresh token.
Use the server's inspect script to test it interactively before connecting it to a host.
Security
Never place
.envor a refresh token in source control.The server only registers read-only tools. Add activity-creating or activity-editing tools only after deciding how you want human confirmation to work.
OAuth access may be narrower than requested if the athlete declined a scope; tool calls then receive a Strava error.
Token refresh
Strava issues a refresh token plus a short-lived access token. The authorization helper saves the initial token set to .env, and the server writes newly rotated tokens back to .env before continuing. This ensures that restarts use the most recent refresh token.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityFmaintenanceA Model Context Protocol server that provides language models with access to Strava API data, allowing them to query and analyze athlete activities from Strava.Last updated422MIT
- Alicense-qualityDmaintenanceA Model Context Protocol server that enables language models to interact with Strava data, including activities, athlete statistics, routes, achievements, and social features.Last updated6MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables users to access Strava fitness data, including user activities, activity details, segments, and leaderboards through a structured API interface.Last updated34MIT
- Flicense-qualityDmaintenanceMCP server to fetch Strava activities using OAuth authentication with automatic token refresh. Allows retrieving recent activities, activities by date range, activity details, and athlete stats.Last updated
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Mastodon MCP — public Mastodon data via mastodon.social (no auth required)
MCP server for Withings health data — sleep, activity, heart, and body metrics.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ls2g08/strava-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server