Strava Mcp Server
A Model Context Protocol (MCP) server that connects to the Strava API, offering tools to access Strava data through Large Language Models (LLMs).
Overview
What is Strava MCP?
Strava MCP (Model Context Protocol) is a server designed to connect with the Strava API, enabling users to access Strava data through Large Language Models (LLMs). This innovative tool allows developers and data enthusiasts to leverage Strava's extensive dataset for various applications, including fitness tracking, data analysis, and personalized training recommendations.
Features of Strava MCP
- API Integration: Seamlessly connects with the Strava API to fetch real-time data.
- Data Accessibility: Provides tools for easy access to Strava data, making it user-friendly for developers.
- LLM Compatibility: Designed to work with Large Language Models, enhancing the capabilities of data interpretation and interaction.
- Public Repository: Available on GitHub, allowing users to contribute and collaborate on the project.
- MIT License: Open-source license that encourages sharing and modification of the software.
How to Use Strava MCP
-
Clone the Repository: Start by cloning the Strava MCP repository from GitHub using the command:
git clone https://github.com/r-huijts/strava-mcp.git -
Set Up Environment: Ensure you have the necessary environment set up, including Python and any required libraries.
-
API Key Configuration: Obtain your Strava API key and configure it within the application settings to enable data access.
-
Run the Server: Launch the Strava MCP server to start interacting with the Strava API. Use the command:
python app.py -
Access Data: Utilize the provided endpoints to access various types of Strava data, such as activities, athlete information, and more.
Frequently Asked Questions
What is the purpose of Strava MCP?
Strava MCP serves as a bridge between the Strava API and users looking to access Strava data through advanced models, enhancing data usability and interaction.
Is Strava MCP free to use?
Yes, Strava MCP is open-source and available under the MIT license, allowing users to freely use, modify, and distribute the software.
Can I contribute to Strava MCP?
Absolutely! Contributions are welcome. You can fork the repository, make changes, and submit a pull request on GitHub.
What programming languages are used in Strava MCP?
Strava MCP is primarily built using Python, making it accessible for developers familiar with this language.
How can I report issues or request features?
You can report issues or request features by opening an issue on the GitHub repository. The maintainers will review and respond accordingly.
Details
Server Config
{
"mcpServers": {
"strava-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/metorial/mcp-container--r-huijts--strava-mcp--strava-mcp",
"npm run start"
],
"env": {
"STRAVA_CLIENT_ID": "STRAVA_CLIENT_ID",
"STRAVA_CLIENT_SECRET": "STRAVA_CLIENT_SECRET",
"STRAVA_ACCESS_TOKEN": "STRAVA_ACCESS_TOKEN",
"STRAVA_REFRESH_TOKEN": "STRAVA_REFRESH_TOKEN"
}
}
}
}