Skip to main content
Glama

Strava MCP

by JonoCX

Strava MCP

此仓库包含一个 Strava MCP,您可以将其添加到您的 Claude 桌面客户端。安装完成后,您就可以向 Claude 询问您的所有活动信息了!

在这里查看我的博客文章

设置

依赖项

  • 克劳德桌面
  • uv
  • 具有开发应用程序设置的 Stava 帐户

连接到 Strava

在 Strava 个人资料上设置应用程序并克隆此存储库后,请在根目录创建一个包含以下内容的.env文件:

STRAVA_CLIENT_ID=<fill-me-in> STRAVA_CLIENT_SECRET=<fill-me-in> STRAVA_ACCESS_TOKEN=<fill-me-in> STRAVA_REFRESH_TOKEN=<fill-me-in>

将 MCP 连接到 Claude

您可以通过运行以下命令将服务器添加到您的 Claude 配置中:

uv run mcp install main.py

如果您对服务器进行更改,则需要重新启动 Claude 桌面客户端。

安装完成后,你会在 Claude 应用的文本框底部看到一个锤子图标。点击它,会显示以下内容:

Available MCP tools showing that Strava has been installed

跑步

现在服务器已添加,Claude 应该可以使用它了。

尝试:“告诉我我最近的活动”。

The output of claude when asking about a specific activity

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Claude MCP 服务器允许用户通过连接到 Strava API 来查询和分析他们的 Strava 活动数据。

  1. 设置
    1. 依赖项
    2. 连接到 Strava
    3. 将 MCP 连接到 Claude
  2. 跑步

    Related MCP Servers

    • A
      security
      A
      license
      A
      quality
      The Seq MCP Server enables interaction with Seq's API endpoints for logging and monitoring, providing tools for managing signals, events, and alerts with extensive filtering and configuration options.
      Last updated -
      3
      13
      3
      JavaScript
      MIT License
      • Apple
    • A
      security
      A
      license
      A
      quality
      A 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 updated -
      4
      3
      Python
      MIT License
      • Apple
    • -
      security
      A
      license
      -
      quality
      A Model Context Protocol server that enables language models to interact with Strava data, including activities, athlete statistics, routes, achievements, and social features.
      Last updated -
      2
      Python
      MIT License
      • Linux
      • Apple
    • A
      security
      A
      license
      A
      quality
      A 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 updated -
      3
      Python
      MIT License
      • Apple

    View all related MCP servers

    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/JonoCX/strava-mcp'

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