MCP.so
登录

Strava MCP Server

@yorrickjansen

基本信息

分类

其他

许可证

MIT license

传输方式

stdio

作者

yorrickjansen

关于 Strava MCP Server

An MCP server to interact with Strava

Strava MCP Server 配置

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

{
  "mcpServers": {
    "strava-mcp-yorrickjansen": {
      "command": "uvx",
      "args": [
        "strava-mcp"
      ]
    }
  }
}

Strava MCP Server 工具

工具列表暂未提供

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

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Strava MCP Server?

Strava MCP Server is a Model Context Protocol (MCP) server that enables AI assistants to interact with the Strava API. It is designed for developers using MCP‑compatible clients like Claude Desktop to retrieve and analyze Strava activities, segments, and leaderboards.

How to use Strava MCP Server?

Install with uvx strava-mcp. Configure by setting STRAVA_CLIENT_ID and STRAVA_CLIENT_SECRET environment variables, then authorize via the automatic OAuth flow. Use it with MCP clients such as Claude Desktop by adding the appropriate configuration entry.

Key features of Strava MCP Server

  • Retrieve authenticated user’s activities with filters
  • Get detailed information of a specific activity
  • Fetch segments from a given activity
  • Obtain leaderboard data for a specific segment
  • Supports OAuth authentication with automatic token refresh

Use cases of Strava MCP Server

  • Ask an AI assistant to list recent runs within a date range
  • Analyze a specific workout’s details in a chat conversation
  • Compare performance on a favorite segment via its leaderboard
  • Automate periodic Strava data retrieval in MCP‑based workflows

常见问题

1

What is required to use Strava MCP Server?

You need a Strava API application (Client ID and Client Secret) and an MCP client like Claude Desktop. Credentials are set as environment variables.

2

How does authentication work?

On first use, an OAuth flow automatically starts and opens your browser to the Strava authorization page. After authorizing, the refresh token is saved locally for future use.

3

What tools are available?

The server provides four tools: Get User Activities, Get Activity, Get Activity Segments, and Get Segment Leaderboard. Each supports optional parameters like time filters or effort inclusion.

4

How do I configure it for Claude Desktop?

Add an entry to `claude_desktop_config.json` that runs `bash -c "source ~/.ssh/strava.sh && uvx strava-mcp"`, where `strava.sh` exports your Client ID and Client Secret.

5

Can I manually obtain a refresh token?

Yes, run `python get_token.py` from the project directory to manually get a refresh token.

评论

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