# durely insights MCP for Garmin [Health: Active]

**Category:** 🏃 Sports  
**Repository:** https://github.com/durely/garmin-insights-mcp  
**GitHub Stars:** 2  
**npm Downloads (last month):** 922  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/durely-insights-mcp-for-garmin

## Description
Your full Garmin history, kept locally, analysed down to the second, via the official Personal API.

## Tools
Capabilities this server exposes over MCP:

- **garmin_status** — Connection check: key, token, time zone, key expiry
- **garmin_get_profile** — Profile settings, heart rate zones per sport, fitness age
- **garmin_list_activities** — Search your activities by date, sport, name, distance or duration
- **garmin_get_activity** — One activity in full: summary metrics, splits, structured workout
- **garmin_get_activity_laps** — Laps from the FIT file: pace, HR, power, cadence, swim lengths, VO2max, recovery time
- **garmin_get_activity_streams** — Second-by-second HR, power, speed, cadence, altitude, …; zoom into any part
- **garmin_analyze_activity** — Time in zones, NP/IF/TSS, aerobic decoupling, best efforts, intervals
- **garmin_compare_activities** — 2–6 activities side by side
- **garmin_training_summary** — Per week or month: volume per sport, load, intensity, fitness/fatigue/form
- **garmin_recovery_trends** — Sleep, HRV, resting HR, Body Battery and stress against your baseline, and their link with load
- **garmin_get_daily_health** — Per day, week or month: steps, resting HR, stress, Body Battery, calories, sleep, HRV
- **garmin_get_sleep** — Nightly sleep stages, times and sleep score
- **garmin_get_hrv** — Nightly HRV, 7-day average, baseline and status
- **garmin_get_intraday** — One day hour by hour: heart rate, Body Battery, overnight HRV, SpO2
- **garmin_get_body_composition** — Weigh-ins, body composition, weight goal
- **garmin_get_nutrition** — Food and hydration logged in Garmin Connect or a linked app
- **garmin_get_womens_health** — Menstrual cycle tracking
- **garmin_query** — Read-only SQL over your synced data
- **garmin_download_activity_fit** — Save an activity's original FIT file, e.g. to import elsewhere
- **garmin_sync** — Sync now, go further back in time, or download all FIT files
- **garmin_sync_status** — What's synced, and sync progress

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "durely-insights-mcp-for-garmin": {
    "command": "npx",
    "args": ["-y","@durely/garmin-insights-mcp"],
    "env": {
      "GARMIN_MCP_TIMEZONE": "",
      "GARMIN_API_KEY_EXPIRES": ""
    }
  }
}
```

**Requires environment variables:** `GARMIN_MCP_TIMEZONE`, `GARMIN_API_KEY_EXPIRES` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What durely insights MCP for Garmin does

Garmin Connect data becomes available to an AI assistant through a local MCP server. The server syncs a copy of the account history to local storage, then lets an assistant inspect activities, health records, sleep, recovery, nutrition, body composition, and women's health data. It uses Garmin's official Personal API, so authentication is based on a Personal API key rather than a Garmin password.

The data model covers both high-level records and detailed workout information. Activities can include summaries, splits, structured workouts, lap metrics, and second-by-second streams such as heart rate, power, speed, cadence, and altitude. Original FIT files can also be saved for use elsewhere. The server is read-only with respect to the Garmin account.

## How it works

On first use, the server starts synchronization in the background. Recent activities become available within seconds, while older history continues to download. Once synchronized, data is retained locally and refreshed automatically when it is more than an hour old. Sync can also be started manually, extended further back in time, or used to download all available FIT files.

A Personal API key is created in Garmin Connect and stored locally in `~/.config/garmin/connect-personal-api-key`. The authentication command checks the key before saving it, and the key is not placed in the MCP client configuration. The `garmin_status` tool reports connection details, time zone, and key status. Garmin API keys have an expiry period; `GARMIN_API_KEY_EXPIRES` lets the server remind you about that date.

Intraday Garmin detail, including through-the-day heart rate and overnight HRV readings, may be removed by Garmin after roughly four to five months. Data already synchronized remains in the local copy, so regular synchronization matters for preserving this detail.

## Setup and configuration

Run the package with Node.js 24 or newer using:

```bash
npx -y @durely/garmin-insights-mcp
```

Docker is also supported. Mount the local key file read-only and use a persistent volume for `/data`. Set `GARMIN_MCP_TIMEZONE` to the account's time zone, for example `Europe/Brussels`. The Docker image supports Intel and ARM systems, including Apple silicon and Raspberry Pi.

After starting the server, add it as a stdio MCP server in the client of your choice. Claude Code, Claude Desktop, Cursor, VS Code, Gemini CLI, and Codex CLI have documented configuration examples. Other clients that support stdio can use the same server command. For desktop JSON configurations, use absolute paths where required because application launchers may not inherit the shell's `PATH` or expand `~`.

## Tools and capabilities

The available tools include:

- Check API connectivity, key details, time zone, and expiry with `garmin_status`.
- Retrieve profile settings, sport-specific heart-rate zones, and fitness age.
- Find activities by date, sport, name, distance, or duration, then inspect a selected activity in detail.
- Read laps and FIT-derived metrics including pace, heart rate, power, cadence, swim lengths, VO2max, and recovery time.
- Examine second-by-second streams and analyze zones, normalized power, intensity factor, training stress, aerobic decoupling, best efforts, and intervals.
- Compare two to six activities and review weekly or monthly training volume, load, intensity, fitness, fatigue, and form.
- Relate sleep, HRV, resting heart rate, Body Battery, stress, and training load through recovery and daily-health tools.
- Query sleep, HRV, intraday readings, body composition, nutrition, hydration, and menstrual-cycle tracking data.
- Run read-only SQL over synchronized data, download original activity FIT files, and inspect or control synchronization progress.

These tools support questions ranging from a single run's interval data to multi-month training and recovery trends.

## Limitations and notes

The project is described as being in early development, so tool names and options may change before version 1.0. It is an unofficial project and is not affiliated with or endorsed by Garmin. The server can read Garmin data but cannot modify the Garmin account. Garmin shows a newly created Personal API key only once, so it must be copied when created and should not be pasted into an assistant conversation.

_Full upstream README: https://allmcps.com/mcp/durely-insights-mcp-for-garmin/readme_

