Skip to main content
Glama

Garmin Workouts MCP

Create Garmin Connect workouts using natural language descriptions. Built as an MCP (Model Context Protocol) server.

Installation

claude mcp add garmin-workouts-mcp npx garmin-workouts-mcp

Claude Desktop

Add to your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "garmin-workouts-mcp": {
      "command": "npx",
      "args": ["-y", "garmin-workouts-mcp"]
    }
  }
}

Then restart Claude Desktop.

Related MCP server: Garmin Workout Pipeline

Usage

⚠️ Important: Garmin's auth tokens expire after ~5 minutes. Plan multiple workouts and create them all in one session.

Quick Start

  1. Request a workout - Just describe what you want: "Create a 10 min warmup, 5x1km threshold intervals with 2 min rest, then 10 min cooldown"

  2. Authenticate when needed - A browser window will open to Garmin Connect for you to log in (happens when tokens expire ~every 5 minutes)

  3. Your workout appears - The tool creates it directly in your Garmin Connect account and provides a link to view it

  4. Available on device - The workout will be available in Garmin Connect and can be sent to your device from there

Your login is temporarily saved - Tokens are stored securely on your machine but expire after ~5 minutes, so you may need to re-authenticate between sessions.

Create multiple workouts in one session:

"Create these 3 workouts:
1. Easy 30 min run in zone 2
2. 5x1km threshold intervals with 2 min rest
3. 10x30 second sprints with 90 second recovery"

How It Works

  1. Request workouts - Describe what you want to create

  2. Auto-authentication - Browser opens for login when tokens expire

  3. Batch creation - Create multiple workouts in the same session

Example Workouts

  • Easy run: "30 minute easy run in zone 2"

  • Intervals: "5x400m at 5k pace with 60 second rest"

  • Threshold: "10 min warmup, 20 min tempo in zone 4, 10 min cooldown"

  • Sprints: "Warmup 10 min, then 8x15 second sprints with 3 min recovery"

  • Complex: "Pyramid workout: 1-2-3-4-3-2-1 minutes hard with equal recovery"

Features

  • 🧠 Natural language processing - Describe workouts in plain English

  • 🔐 Secure authentication - Token-based auth with automatic renewal

  • 🏃 Multi-sport support - Running, cycling, and swimming workouts

  • ⚡ Direct Garmin integration - Creates workouts instantly in Garmin Connect

  • 💾 Smart token handling - Automatic re-authentication when tokens expire

Current Limitations

⚠️ Heart rate/zone targets only - The tool currently supports heart rate zones (Zone 1-5) and specific BPM targets, but does not yet support pace-based targets (e.g., 4:00/km).

How It Works

  1. Converts your natural language workout description into structured data

  2. Translates to Garmin's workout API format with proper zones and targets

  3. Creates the workout directly in your Garmin Connect account

  4. Syncs automatically to your Garmin device

Made for Claude Code and Claude Desktop.

This project is an unofficial third-party tool that interacts with Garmin Connect's web interface. It is not affiliated with, endorsed by, or sponsored by Garmin Ltd. or any of its affiliates.

  • Use at your own risk - This tool may stop working if Garmin changes their API or terms of service

  • Not for commercial use - This is a personal project intended for individual use only

  • No warranty - The software is provided "as is" without any guarantees

  • Respect Garmin's terms - Users are responsible for complying with Garmin Connect's terms of service

  • Data responsibility - You are responsible for the workouts created and any data shared with Garmin

If you represent Garmin and have concerns about this project, please reach out through GitHub issues.

Development

Token Storage

Auth tokens are stored securely in:

  • Location: ~/.config/garmin-workouts-mcp/auth.json

  • Permissions: 600 (user read/write only)

  • Expiry: ~5 minutes from login

  • Content: JWT tokens and cookies for Garmin Connect API

Local Development

# Clone and install
git clone https://github.com/charlesfrisbee/garmin-workouts-mcp.git
cd garmin-workouts-mcp
pnpm install

# Build and test locally
pnpm run build
pnpm run pack

# Add to Claude Code for testing
claude mcp add garmin-workouts-mcp ./garmin-workouts-mcp-local.tgz

Requirements

  • Node.js 16+

  • pnpm

  • Claude Code (for local testing)

  • Garmin Connect account

Available Tools

3 tools
authenticate_garminB

Authenticate with Garmin Connect (opens browser)

Inputs: no named parameters.

check_garmin_authB

Check if Garmin authentication is valid

Inputs: no named parameters.

create_garmin_workoutB

Create a workout in Garmin Connect from structured workout data. Claude should parse the natural language description and pass structured workout steps.

Inputs: name (required), sport (required), steps (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: authentication initiation, authentication status verification, and workout creation. There is no overlap in functionality, and an agent can easily differentiate between them based on their names and descriptions.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with 'garmin' as a prefix: authenticate_garmin, check_garmin_auth, create_garmin_workout. The naming is uniform and predictable across the set.

    Tool Count3/5

    With only 3 tools, the set feels thin for a workout management server. While authentication and creation are covered, there are likely gaps such as retrieving, updating, or deleting workouts, which are common operations in this domain.

    Completeness2/5

    The tool surface is significantly incomplete for workout management. It lacks essential operations like getting existing workouts, updating workouts, deleting workouts, or listing workouts, which are critical for a full CRUD lifecycle. Agents will face dead ends when trying to manage workouts beyond creation.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to read Garmin activities and create/schedule structured workouts and multi-week training plans on Garmin Connect, syncing to the user's watch.
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to read Garmin activities and create/schedule structured workouts and multi-week training plans directly on Garmin Connect, syncing to your watch with guided prompts.
      1
      MIT