Logo vun Garmin Connect MCP

Garmin Connect MCP

Communautéit
Nicolasvegam

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

EditeurNicolasvegam
Repositorygarmin-connect-mcp
SproochTypeScript
Forks
94
Stären
180
Disponibel Tools
0
Transporttypstdio
Kategorien
Linken
  • Tools mat KI-Workflows verbannen

    Garmin Connect MCP stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 0 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    180 Stären an 94 Forks aus dem verlinkte 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

Installatioun

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

Garmin Connect MCP MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Garmin Connect MCP verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Garmin Connect MCP als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu Garmin Connect MCP an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "garmin-connect-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@nicolasvegam/garmin-connect-mcp"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu Garmin Connect MCP. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu Garmin Connect MCP.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Garmin Connect MCP?
Garmin Connect MCP
Jo. Ech hunn et gelies.
Dat hunn ech mat Garmin Connect MCP fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server Garmin Connect MCP benotzt?

Garmin Connect MCP ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Garmin Connect MCP MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Garmin Connect MCP mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat Garmin Connect MCP MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Garmin Connect MCP verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech Garmin Connect MCP MCP mat TypingMind?

Garmin Connect MCP leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt Garmin Connect MCP MCP an TypingMind zur Verfügung?

Garmin Connect MCP stellt MCP-Funktiounen zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Garmin Connect MCP MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Garmin Connect MCP eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇