Garmin Connect MCP logo

Garmin Connect MCP

Community
Nicolasvegam

MCP server for Garmin Connect — access 61 health, fitness and activity tools from any AI assistant

PublisherNicolasvegam
Repositorygarmin-connect-mcp
LanguageTypeScript
Forks
94
Stars
180
Available tools
0
Transport typestdio
Categories
Links
  • Connect tools to AI workflows

    Garmin Connect MCP exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    180 stars and 94 forks from the linked repository.

garmin-connect-mcp

MCP server for Garmin Connect. Access your fitness, health, and training data from Claude Code, Claude Desktop, Cursor, Windsurf, or any MCP client.

61 tools across 7 categories: activities, daily health, trends, sleep, body composition, performance/training, and profile/devices.

API endpoints and authentication flow based on python-garminconnect by cyberjunky.

Requirements

  • Node.js 20+
  • A Garmin Connect account (email and password)

Installation

Claude Code

bash
claude mcp add garmin -e GARMIN_EMAIL=you@email.com -e GARMIN_PASSWORD=yourpass -- npx -y @nicolasvegam/garmin-connect-mcp

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{
  "mcpServers": {
    "garmin": {
      "command": "npx",
      "args": ["-y", "@nicolasvegam/garmin-connect-mcp"],
      "env": {
        "GARMIN_EMAIL": "you@email.com",
        "GARMIN_PASSWORD": "yourpass"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project root:

json
{
  "mcpServers": {
    "garmin": {
      "command": "npx",
      "args": ["-y", "@nicolasvegam/garmin-connect-mcp"],
      "env": {
        "GARMIN_EMAIL": "you@email.com",
        "GARMIN_PASSWORD": "yourpass"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

json
{
  "mcpServers": {
    "garmin": {
      "command": "npx",
      "args": ["-y", "@nicolasvegam/garmin-connect-mcp"],
      "env": {
        "GARMIN_EMAIL": "you@email.com",
        "GARMIN_PASSWORD": "yourpass"
      }
    }
  }
}

Any MCP Client

Run the server with environment variables:

bash
GARMIN_EMAIL=you@email.com GARMIN_PASSWORD=yourpass npx -y @nicolasvegam/garmin-connect-mcp

The server communicates over stdio using the Model Context Protocol.

Available Tools

Activities (12 tools)

ToolDescription
get_activitiesList recent activities with pagination
get_activities_by_dateSearch activities within a date range
get_last_activityGet the most recent activity
count_activitiesGet total number of activities
get_activitySummary data for a specific activity
get_activity_detailsDetailed metrics: HR, pace, elevation time series
get_activity_splitsPer-km or per-mile split data
get_activity_weatherWeather conditions during activity
get_activity_hr_zonesTime in each heart rate zone
get_activity_exercise_setsStrength training sets (reps, weight)
get_activity_typesAll available activity types
get_progress_summaryFitness stats over a date range by activity type

Daily Health (14 tools)

ToolDescription
get_daily_summaryFull daily summary (steps, calories, distance, etc.)
get_stepsStep count for a date
get_steps_chartIntraday step data throughout the day
get_heart_rateHeart rate data (resting, max, zones, time series)
get_resting_heart_rateResting heart rate for a date
get_stressStress levels and time series
get_body_batteryBody Battery energy levels (date range)
get_body_battery_eventsBattery charge/drain events for a day
get_respirationBreathing rate data
get_spo2Blood oxygen saturation
get_intensity_minutesModerate/vigorous intensity minutes
get_floorsFloors climbed chart data
get_hydrationDaily hydration/water intake
get_daily_eventsDaily wellness events

Trends (4 tools)

ToolDescription
get_daily_steps_rangeDaily step counts over a date range
get_weekly_stepsWeekly step aggregates
get_weekly_stressWeekly stress aggregates
get_weekly_intensity_minutesWeekly intensity minutes

Sleep (2 tools)

ToolDescription
get_sleep_dataSleep stages, score, bed/wake times
get_sleep_data_rawRaw sleep data with HR and SpO2

Body Composition (5 tools)

ToolDescription
get_body_compositionWeight, BMI, body fat %, muscle mass (date range)
get_latest_weightMost recent weight entry
get_daily_weigh_insAll weigh-ins for a date
get_weigh_insWeigh-in records over a date range
get_blood_pressureBlood pressure readings (date range)

Performance & Training (11 tools)

ToolDescription
get_vo2maxVO2 Max estimate (running/cycling)
get_training_readinessTraining Readiness score
get_training_statusTraining status and load
get_hrvHeart Rate Variability
get_endurance_scoreEndurance fitness score
get_hill_scoreClimbing performance score
get_race_predictions5K/10K/half/full marathon predictions
get_fitness_ageEstimated fitness age
get_personal_recordsAll personal records
get_lactate_thresholdLactate threshold HR and pace
get_cycling_ftpFunctional Threshold Power (cycling)

Profile & Devices (13 tools)

ToolDescription
get_user_profileUser social profile and preferences
get_user_settingsUser settings, measurement system, sleep schedule
get_devicesRegistered Garmin devices
get_device_settingsSettings for a specific device
get_device_last_usedLast used device info
get_primary_training_devicePrimary training device
get_device_solar_dataSolar charging data
get_gearAll tracked gear/equipment
get_gear_statsUsage stats for a gear item
get_goalsActive goals and progress
get_earned_badgesEarned badges and achievements
get_workoutsSaved workouts
get_workoutSpecific workout by ID

Authentication

Uses Garmin Connect credentials (email/password) via environment variables. OAuth tokens are cached in ~/.garmin-mcp/ to avoid re-authentication on each request.

MFA (Multi-Factor Authentication)

If your Garmin account has MFA enabled (required for devices with ECG capabilities), you need to run the interactive setup once before using the MCP server:

bash
GARMIN_EMAIL='you@email.com' GARMIN_PASSWORD='yourpass' npx -y @nicolasvegam/garmin-connect-mcp setup

This will:

  1. Log in to Garmin Connect
  2. Prompt you for the MFA code sent to your email or authenticator app
  3. Save OAuth tokens to ~/.garmin-mcp/

After setup, the MCP server will use the saved tokens automatically — no MFA prompt needed until the tokens expire. When they do, simply run the setup command again.

Development

bash
git clone https://github.com/Nicolasvegam/garmin-connect-mcp.git
cd garmin-connect-mcp
npm install
npm run build

To test locally:

bash
GARMIN_EMAIL=you@email.com GARMIN_PASSWORD=yourpass npm start

Credits

License

MIT

Installation

TypingMind
{
  "mcpServers": {
    "garmin-connect-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "garmin-connect-mcp"
      ],
      "env": {
        "GARMIN_EMAIL": "<GARMIN_EMAIL>",
        "GARMIN_PASSWORD": "<GARMIN_PASSWORD>"
      }
    }
  }
}

Use Garmin Connect MCP MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Garmin Connect MCP is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Garmin Connect MCP as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Garmin Connect MCP MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "garmin-connect-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@nicolasvegam/garmin-connect-mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Garmin Connect MCP MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Garmin Connect MCP MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Garmin Connect MCP to help me with this task?
Garmin Connect MCP
Sure. I read it.
Here is what I found using Garmin Connect MCP.

Frequently asked questions

What is the Garmin Connect MCP MCP server used for?

Garmin Connect MCP is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Garmin Connect MCP MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Garmin Connect MCP with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Garmin Connect MCP MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Garmin Connect MCP connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Garmin Connect MCP MCP to TypingMind?

Garmin Connect MCP runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Garmin Connect MCP MCP provide in TypingMind?

Garmin Connect MCP exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Garmin Connect MCP MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Garmin Connect MCP requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇