MCP.so
登录
S

Strava MCP Server

@eddmann

基本信息

分类

其他

传输方式

stdio

作者

eddmann

提交者

Edd Mann

关于 Strava MCP Server

A comprehensive Model Context Protocol server for Strava integration. Query and analyze your activities, explore segments and routes, compare workouts, and track training progress. Includes 11 tools organized into Activities, Athlete, Segments, Routes, and Analysis categories, pl

Strava MCP Server 配置

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

{
  "mcpServers": {
    "strava": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-v",
        "/ABSOLUTE/PATH/TO/strava-mcp.env:/app/.env",
        "ghcr.io/eddmann/strava-mcp:latest",
        "--transport",
        "stdio"
      ]
    }
  }
}

Strava MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

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

概览

What is Strava?

An MCP server that provides 11 tools to interact with a user's Strava account, organized into activities, athlete profile, segments, routes, and analysis. It also includes a resource for athlete context and prompt templates for common queries, enabling access through Claude, ChatGPT, and other LLMs.

How to use Strava?

Install using Python 3.11+ with uv or Docker, then run the interactive authentication wizard (strava-mcp-auth). Add the server to your Claude Desktop configuration using uv run or Docker commands, and then ask natural language questions about your activities, segments, routes, or training analysis.

Key features of Strava

  • 11 tools across 5 categories (activities, athlete, segments, routes, analysis)
  • 1 MCP resource for ongoing athlete profile context
  • 6 built-in prompt templates for common queries
  • Supports both stdio (single-user) and HTTP (multi-user) modes
  • OAuth-based authentication with automatic token refresh
  • Cursor-based pagination with sensible defaults (10 items for most lists)

Use cases of Strava

  • Analyze recent training over a specified time period
  • Explore and track performance on specific segments
  • Compare multiple runs or races side-by-side
  • Export routes to GPX or TCX format
  • Find activities similar to a reference workout for progress tracking

常见问题

1

What are the prerequisites for running Strava?

You need Python 3.11+ and uv, or Docker. A Strava API application must be created at strava.com with the callback domain set to `localhost`.

2

How does authentication work?

For stdio mode, a one-time OAuth flow through the browser saves tokens to a `.env` file with auto-refresh. For HTTP mode, per-user OAuth flow stores tokens in a session store (in-memory or DynamoDB) with a configurable expiration (default 12 hours).

3

What data can I access with this server?

The server can read your athlete profile and zones, all activity data, activity summaries, and star/unstar segments. The required OAuth scopes include `profile:read_all`, `activity:read_all`, `activity:read`, and `profile:write`.

4

Can I use this server with ChatGPT?

Yes, by running the server in HTTP mode and exposing it via ngrok or a public URL. Set `STRAVA_MCP_BASE_URL` to the ngrok URL and use that URL (with `/mcp` path) as your MCP server endpoint in ChatGPT.

5

What transport modes does the server support?

Two modes: stdio (default, single-user via standard input/output) and HTTP (streamable HTTP, multi-user with separate sessions). Select with the `--transport` flag (e.g., `--transport http`).

评论

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