The Garmin Workouts MCP server manages Garmin Connect workouts and activities, with enhanced support for strength training, payload inspection, and schema validation.
Workout Management
List, retrieve, delete, upload, and schedule workouts in Garmin Connect
Workout Authoring & Validation
Preview workout payloads before uploading (no credentials needed)
Validate workouts against the schema to catch mapping errors early
Retrieve the machine-readable JSON input schema for client integration
Generate workout data from a natural language description
Strength Training Support
List supported strength exercises with optional filtering
Resolve friendly aliases (e.g.
"t bar row") to Garmin internal enum mappingsHandles rep-based end conditions and flexible exercise definitions
Activity & Calendar Access
List, retrieve, and get weather data for Garmin Connect activities (with pagination, search, and type filtering)
View your Garmin Connect training calendar by year, month, or day
Flexible Authentication
Operates without Garmin credentials for non-Garmin tools (e.g., preview, schema inspection, exercise resolution)
Provides tools for managing Garmin Connect workouts, enabling users to create, preview, validate, list, and schedule strength and cardio workouts while resolving exercise metadata and supported sport types.
Garmin Workouts MCP
garmin-workouts-mcp is a standalone MCP server for Garmin Connect workouts.
It is intended as a focused extension for workflows that need a bit more structure around Garmin workout payloads, especially strength training.
This project is packaged as a stdio MCP server and can be published as an OCI image for MCP registries and Glama deployment. It is not a standalone public HTTP MCP endpoint.
Additions
Supports Garmin strength workout steps with
repsend conditions.Supports exercise metadata via explicit Garmin enums or friendly aliases.
Adds
preview_workout_payloadso payloads can be inspected before upload.Adds
validate_workoutfor early schema and mapping errors.Adds
resolve_supported_strength_exercisefor quick mapping checks.Adds
get_workout_input_schemafor machine-readable client integration.Includes
walkingas a supported sport type, which is also reflected in the prompt/schema.Keeps the familiar list/get/delete/schedule/calendar/activity tools.
Environment
Garmin-backed tools authenticate lazily when they are called:
Authentication path:
GARMIN_EMAILandGARMIN_PASSWORD
The server can start without credentials. Tools that do not talk to Garmin, such as payload preview and schema inspection, still work without secrets.
Workout Input
The upload and preview tools accept a JSON object shaped like this:
{
"name": "Upper Day",
"type": "strength",
"steps": [
{
"stepType": "warmup",
"endConditionType": "lap.button",
"stepDescription": "General warm-up"
},
{
"stepType": "interval",
"exercise": "incline db press",
"endConditionType": "reps",
"stepReps": 8,
"stepDescription": "8-10 reps"
},
{
"stepType": "rest",
"endConditionType": "time",
"stepDuration": 120
}
]
}For strength exercises, either pass a friendly alias:
{ "exercise": "t bar row" }or explicit Garmin enums:
{
"exercise": {
"category": "ROW",
"exerciseName": "T_BAR_ROW"
}
}You can also inspect the accepted structure programmatically through get_workout_input_schema, or resolve likely Garmin strength mappings with resolve_supported_strength_exercise.
Development
Run tests in Docker Compose:
docker compose run --rm testsBuild the runtime image:
docker build -t garmin-workouts-mcp:local .Smoke test the stdio server startup without Garmin credentials:
python - <<'PY'
import subprocess
proc = subprocess.Popen(
["bash", "-lc", "tail -f /dev/null | docker run --rm -i garmin-workouts-mcp:local"]
)
try:
proc.wait(timeout=5)
print(f"container exited early with code {proc.returncode}")
finally:
if proc.poll() is None:
proc.terminate()
proc.wait()
print("container stayed up for 5 seconds")
PYPublishing
The intended OCI image location is:
ghcr.io/pranciskus/garmin-workouts-mcpRegistry metadata lives in server.json. The OCI image carries the required label:
io.modelcontextprotocol.server.name=io.github.pranciskus/garmin-workouts-mcpGlama ownership metadata lives in glama.json. It declares the GitHub maintainer account that can claim and manage the Glama listing.