Strava MCP Chatbot

by marekratho

332 downloads
Not rated
GitHub

Description

# Strava MCP Chatbot This is a simple Python chatbot that connects to a locally hosted MCP (Model Context Protocol) server. The chatbot acts as an elite cycling coach, analyzing Strava activities and providing interactive, data-driven feedback. ## Features - Connects to a local…

About

# Strava MCP Chatbot This is a simple Python chatbot that connects to a locally hosted MCP (Model Context Protocol) server. The chatbot acts as an elite cycling coach, analyzing Strava activities and providing interactive, data-driven feedback. ## Features - Connects to a local MCP server via stdio. - Uses OpenAI…

Details

Author
marekratho
Downloads
332
Categories
AI

- Connects to a local MCP server via stdio.
- Uses OpenAI GPT-4o for response generation.
- Acts as an elite cycling coach analyzing Strava activities.
- Provides interactive, data-driven feedback.
- Simple text-based interface with exit/quit commands.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Strava MCP Chatbot
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

First, set up the Strava MCP server following the instructions in the linked repository. Then install Python dependencies with pip install -r requirements.txt, create a .env file in the src directory with OPENAI_API_KEY and MCP_SERVER_PATH, and run python src/chatbot_agent.py. Enter your message or Strava activity details at the prompt; type exit or quit to stop.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "strava mcp chatbot": {
            "mcp_server_playground": {
                "command": "python",
                "args": [
                    "src/chatbot_agent.py"
                ]
            }
        }
    }
}

McpServers

{
    "mcp_server_playground": {
        "command": "python",
        "args": [
            "src/chatbot_agent.py"
        ]
    }
}

Strava MCP Chatbot

This is a simple Python chatbot that connects to a locally hosted MCP (Model Context Protocol) server. The chatbot acts as an elite cycling coach, analyzing Strava activities and providing interactive, data-driven feedback.

Features

- Connects to a local MCP server via stdio.
- Uses OpenAI GPT-4o for generating responses.

Setup

1. Strava MCP Server
- Setup Strava MCP server in accordance with instructions in this repository

2. Install Python dependencies:

   pip install -r requirements.txt

3. Set up your environment variables:
- Create a .env file in the src directory.
- Add the following params into your .env:

     OPENAI_API_KEY
MCP_SERVER_PATH=/path/to/your/mcp-server.js

4. Run the chatbot:

   python src/chatbot_agent.py

Usage

- When prompted, enter your message or Strava activity details.
- Type exit or quit to stop the chatbot.

License

MIT License

---

This project is for demonstration purposes and is not affiliated with Strava or Mathieu van der Poel.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.