MCP.so
登录

Strava MCP Server

@ctvidic

关于 Strava MCP Server

暂无概览

基本信息

分类

其他

许可证

MIT license

运行时

python

传输方式

stdio

发布者

ctvidic

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "strava-mcp-server-ctvidic": {
      "command": "python",
      "args": [
        "-m",
        "venv",
        "venv"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Strava MCP Server?

A Model Context Protocol (MCP) server that provides access to the Strava API, enabling language models to interact with Strava data including activities, athlete information, and more.

How to use Strava MCP Server?

Install Python 3.12+, clone the repository, create a virtual environment, install dependencies, configure a config/.env file with Strava API credentials (Client ID, Client Secret, Refresh Token), then run via Claude Desktop configuration or as an HTTP server. With Claude you can ask natural‑language queries about activities, performance, social interactions, and achievements.

Key features of Strava MCP Server

  • Activity tracking and analysis
  • Athlete statistics
  • Route visualization
  • Achievement tracking
  • Social features (kudos, comments)

Use cases of Strava MCP Server

  • Query recent activities and get detailed run/ride summaries
  • Analyze personal performance trends (pace, heart rate, elevation gain)
  • Retrieve social interactions and club activity data
  • List segment achievements and personal records
  • Visualize activity route maps and elevation profiles

FAQ from Strava MCP Server

What are the prerequisites?

Python 3.12+, Strava API credentials (Client ID, Client Secret, Refresh Token), and pip.

How do I obtain Strava API credentials?

Go to https://www.strava.com/settings/api, create a new application, and follow the OAuth 2.0 flow to get your refresh token.

What data can I access through Claude?

Activity details (distance, duration, pace, heart rate, power, cadence, splits, weather), athlete statistics, personal records, training load, social kudos and comments, club activities, segment efforts, and route maps with elevation data.

How can I run the server as an HTTP endpoint?

Start the server with ./run_server.sh and access endpoints like GET /activities/recent, GET /activities/{id}, GET /activities/{id}/map, and GET /athlete/stats at http://localhost:8000.

What should I never commit?

The .env file and API credentials; the .gitignore file is configured to prevent sensitive data from being committed.

评论

其他 分类下的更多 MCP 服务器