Training Condition Check MCP
Integrates with Garmin Connect to retrieve training schedules, upcoming workouts, and activity history for the current month.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Training Condition Check MCPrecommend outdoor exercise times today for Seattle"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Training Condition Check MCP server
Project Overview
This project aims to provide runners and outdoor enthusiasts with personalized recommendations for optimal outdoor exercise times based on weather conditions, training schedules from Garmin Connect, and individual performance metrics. It is internal development task for Jangtse Runners club.
Key features include:
Integration with weather service for real-time weather data. (Currently using OpenWeatherMap API)
Synchronization with Sport Communities to fetch training plans and user performance metrics. (Currently using Garmin Connect)
Recommendations for best time windows for outdoor activities based on weather and training plans.
Related MCP server: Garmin MCP Server
MCP Tools
Get Outdoor Running Time Window of Today for a Specific Location Function: Finds outdoor Training windows for a specific location, avoiding bad weather conditions.
Get Local Outdoor Exercise Time Window for Today Function: Automatically detects the user's current location via IP address and finds suitable time windows for outdoor exercise today.
Get Next Training in Garmin Connect Function: Retrieves the current training in current week plan from Garmin Connect.
Get Activities of Current Month in Garmin Connect Function: Retrieves all activities (including training and recorded activities) for the current month from Garmin Connect.
No-Go Conditions for Outdoor Exercise Function: Retrieves the current filter of weather conditions that are not suitable for outdoor exercise based on environment variables.
System Features
Location-Based Weather Queries: Fetch current and forecasted weather data for a given location.
Garmin Connect Integration: Retrieve training schedules and user statistics.
Optimal Time Window Calculation: Combine weather forecasts and training schedules to recommend ideal exercise periods.
Technical Architecture
The primary modules include:
garmin_connect.py: Handles interactions with Garmin Connect, which uses Garth for authentication.openweathermap.py: Manages interactions with OpenWeatherMap.server.py: Implements the core MCP server.
Installation and Setup
{
"mcpServers": {
"Training_Condition_Check": {
"command": "<local git repo>\\.venv\\Scripts\\python>",
"args": [
"<local git repo>\\src\\training_condition_check_mcp_server\\server.py"
],
"env": {
"GARMIN_CONNECT_LOGIN": "<your email as garmin connect login>",
"GARMIN_CONNECT_PASSWORD": "<your garmin connect password>",
"OPENWEATHER_API_KEY": "<your OPENWEATHER_API_KEY>",
"UNHEALTHY_WEATHER_CONDITIONS": "rain,snow,thunderstorm"
}
}
}
}Environment Variables:
UNHEALTHY_WEATHER_CONDITIONS: Comma-separated list of weather conditions to avoid (default: no avoidance).
Prerequisites:
UV for Python environment, e.g.,
uv syncGarmin connect account
openweathermap API key
Known Issues and Future Work
Currently, weather conditions are incomplete; future updates will handle additional adverse weather types.
Documentation is still under development.
Support for additional weather services and sport communities is planned.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/sojakaese/training-condition-check-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server