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
      An MCP server that enables Claude to interact with Twitter, allowing for posting tweets and searching Twitter content.
      Last updated -
      2
      896
      253
      TypeScript
      MIT License
      • Apple
    • -
      security
      A
      license
      -
      quality
      A Python-based MCP server that allows Claude and other LLMs to execute arbitrary Python code directly through your desktop Claude app, enabling data scientists to connect LLMs to APIs and executable code.
      Last updated -
      26
      MIT License
      • Apple
      • Linux
    • -
      security
      A
      license
      -
      quality
      Connects to Garmin Connect and exposes your fitness and health data (activities, sleep, heart rate, steps, body composition) to Claude and other MCP-compatible clients.
      Last updated -
      61
      Python
      MIT License
      • Apple
    • -
      security
      A
      license
      -
      quality
      An MCP server that integrates with Sonar API to provide Claude with real-time web search capabilities for comprehensive research.
      Last updated -
      0
      JavaScript
      MIT License

    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