Skip to main content
Glama

Strava MCP Server

A Model Context Protocol (MCP) server that provides Strava activity data to Cursor AI. Currently uses sample data, but easily extensible for real Strava API integration.

🤖 Add to Cursor

The configuration has been automatically added to your Cursor MCP settings!

If you need to add it manually or on another machine:

  1. Open ~/.cursor/mcp.json in a text editor

  2. Replace the content with:

{
  "mcpServers": {
    "strava": {
      "command": "python",
      "args": ["/Users/dylanmelotik/Code/melotik/mcp-hackathon/strava_mcp.py"],
      "env": {}
    }
  }
}
  1. Restart Cursor for changes to take effect

🚀 Setup

  1. Install dependencies:

    pip install -r requirements.txt
  2. Test the server:

    python strava_mcp.py

🛠️ Available Tools

  • get_strava_activities - Get recent Strava activities (sample data)

    • limit parameter (default: 10) - max number of activities to return

Usage in Cursor

Once configured, you can ask Cursor: "Show me my recent Strava activities" and it will use the MCP server to return formatted activity data including:

  • Activity name and type

  • Distance and time

  • Date and description

  • Activity ID

🔧 For Real Strava Integration

To connect to the actual Strava API:

  1. Register at https://www.strava.com/settings/api

  2. Replace the hardcoded activities in get_strava_activities() with real API calls

  3. Add authentication handling

License

MIT License - feel free to use and modify!

F
license - not found
-
quality - not tested
-
maintenance - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

  • Garmin data in Claude: 135 tools — activities, sleep, HRV, training, workouts. Free, open source.

  • Create Hevy routines and analyze your training from chat. Unofficial; BYO Hevy PRO API key.

  • Garmin data in Claude & ChatGPT via the Garmin Health API. OAuth sign-in, no password sharing.

View all MCP Connectors

Latest Blog Posts

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/Beefsupreme21/mcp-hackathon'

If you have feedback or need assistance with the MCP directory API, please join our Discord server