SkillAgentSearch skills...

garmin-connect-mcp

Garmin Connect MCP

Install / Use

claude mcp add etweisberg -- npx -y github:etweisberg/garmin-connect-mcp

If the server publishes to npm under a different name, use that package instead — check the repo README.

About this skill
🔌

MCP Server

Model Context Protocol server

Quality Score

70/100

Supported Platforms

Claude Code
Claude Desktop

Our assessment of garmin-connect-mcp

garmin-connect-mcp scores 70/100 on our quality scale, 3824th of 4,646 Development & Engineering skills we index.

Its MCP Server is 9.7 KB long, well organised into 23 sections with 6 code examples: a thorough specification that gives an agent plenty to work with.

It has 45 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
29/30
Structure
20/20
Description
4/15
Adoption
7/20
Freshness
11/15

Maintenance, license and trust

  • The repository was last updated about 4 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
  • Our last check on 2026-10-21 found the source still online.
  • No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
  • Its trust signals score 73/100, with 3 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.

AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

garmin-connect-mcp compared with similar skills

All 4 of these similar skills score higher than garmin-connect-mcp; compare them before choosing.

SkillScoreStarsUpdatedFormat
garmin-connect-mcp (this skill)by etweisberg70454mo agoMCP Server
Agent-Reachby Panniantong100106.4k5d agoCLAUDE.md
taste-skillby Leonxlnx100105.7ktodayCLAUDE.md
headroomby headroomlabs-ai10078.3ktodayCLAUDE.md
ai-job-searchby ai-job-search-dev10067.6k2d agoCLAUDE.md

Frequently asked questions

How do I install garmin-connect-mcp?
Run claude mcp add etweisberg -- npx -y github:etweisberg/garmin-connect-mcp. The install tabs above show the steps for each supported agent.
Which AI agents does garmin-connect-mcp work with?
It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
Is garmin-connect-mcp safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 73/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is garmin-connect-mcp still maintained?
The repository was last updated about 4 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.

garmin-connect-mcp

CI Release npm npm downloads License: AGPL-3.0

MCP server for Garmin Connect. Access your activities, health stats, sleep data, FIT files, and more from Claude Code or any MCP client.

Why This Exists

In March 2026, Garmin changed their authentication API, breaking garth and python-garminconnect — the two most popular libraries for accessing Garmin data programmatically. Garth has been officially deprecated. Garmin added Cloudflare TLS fingerprinting that blocks all non-browser HTTP clients (Node.js fetch, Python requests, curl) from their API endpoints.

This project works around that by routing all API calls through a headless Playwright browser, inheriting a real Chrome TLS fingerprint. Authentication uses browser cookies captured from a manual login session.

Install

npm install -g @etweisberg/garmin-connect-mcp
npx playwright install chromium

Then register with Claude Code:

claude mcp add garmin -- npx @etweisberg/garmin-connect-mcp

You also need the Playwright MCP server for the login flow:

claude mcp add playwright -- npx @playwright/mcp@latest

Prerequisites

  • Node.js 18+
  • Playwright MCP server (for browser-based login)
  • A Garmin Connect account with a synced device

Setup

1. Login

In Claude Code, call the garmin-login tool. It will walk you through:

  1. Opening Garmin Connect in the Playwright browser
  2. Logging in manually
  3. Extracting cookies and CSRF token
  4. Saving the session to ~/.garmin-connect-mcp/session.json

2. Verify

Call the check-session tool to confirm authentication works.

Session cookies expire after a few hours. Re-run the login flow when they do.

Available Tools

Session & Auth

| Tool | Description | | --------------- | --------------------------------------------------------- | | garmin-login | Returns login instructions for the Playwright MCP browser | | check-session | Validates the saved session is still active | | run-tests | Returns a test plan to verify all tools work |

Activities

| Tool | Description | | ----------------------- | -------------------------------------------------------- | | list-activities | List activities with pagination | | get-activity | Full activity summary (distance, duration, HR, calories) | | get-activity-details | Time-series metrics (HR, cadence, elevation over time) | | get-activity-splits | Lap/split data | | get-activity-hr-zones | Heart rate time-in-zone breakdown | | get-activity-polyline | Full-resolution GPS track | | get-activity-weather | Weather conditions during activity | | download-fit | Download original FIT file |

Daily Health

| Tool | Description | | ----------------------------- | -------------------------------------------- | | get-daily-summary | Steps, calories, distance, intensity minutes | | get-daily-heart-rate | Heart rate data throughout the day | | get-daily-stress | Stress levels throughout the day | | get-daily-summary-chart | Combined wellness chart data | | get-daily-intensity-minutes | Intensity minutes for a date | | get-daily-movement | Movement/activity data | | get-daily-respiration | Respiration rate data |

Sleep / Body Battery / HRV

| Tool | Description | | ------------------ | ----------------------------------- | | get-sleep | Sleep score, duration, stages, SpO2 | | get-body-battery | Body battery charged/drained values | | get-hrv | Heart rate variability data |

Training & Recovery

| Tool | Description | | ------------------------ | ------------------------------------------------ | | get-training-readiness | Training readiness score (sleep, recovery, load) | | get-sleep-stats | Sleep statistics over a date range | | get-hydration | Daily hydration/water intake data |

Weight / Records / Fitness

| Tool | Description | | ---------------------- | ------------------------------------- | | get-weight | Weight measurements over a date range | | get-personal-records | All personal records with history | | get-fitness-stats | Aggregated activity stats by type | | get-vo2max | Latest VO2 Max estimate | | get-hr-zones-config | Heart rate zone boundaries | | get-power-zones | Power zone config for all sports | | get-user-profile | User profile and settings |

Calendar, Goals & Badges

| Tool | Description | | ----------------------- | ------------------------------------------- | | get-calendar | Monthly calendar with activities and events | | get-goals | Active, future, or past fitness goals | | get-badges | All earned badges/achievements | | get-badge-leaderboard | Badge leaderboard among connections |

Workouts

| Tool | Description | | ---------------------- | -------------------------------------------------- | | list-workouts | List saved workouts | | get-workout | Get workout details (steps, segments) | | create-workout | Create a new workout (warmup, intervals, cooldown) | | schedule-workout | Schedule a workout to a date (syncs to device) | | delete-workout | Delete a workout | | download-workout-fit | Download a workout as a FIT file |

Architecture

Claude Code / MCP Client
        |
        | MCP (stdio)
        v
garmin-connect-mcp server
        |
        | page.evaluate(fetch(...))
        v
Headless Playwright Chromium
        |
        | HTTPS (real Chrome TLS fingerprint)
        v
connect.garmin.com/gc-api/*

All API calls are made from within a headless Chromium browser context via page.evaluate(fetch(...)). This inherits the real Chrome TLS fingerprint, bypassing Cloudflare's detection of non-browser clients.

Auth flow: Cookies + CSRF token are captured from a manual browser login (via the Playwright MCP server) and stored at ~/.garmin-connect-mcp/session.json. The headless browser loads these cookies on startup.

Why not direct HTTP? Cloudflare blocks Node.js fetch, Python requests, and even curl with a 403. Only requests from a real browser TLS stack are accepted.

Development

git clone https://github.com/etweisberg/garmin-connect-mcp.git
cd garmin-connect-mcp
npm install
npx playwright install chromium
npm run build

Scripts

| Command | Description | | ------------------- | ---------------------------------------------- | | npm run build | Compile TypeScript | | npm run lint | Run ESLint | | npm run format | Format with Prettier | | npm run typecheck | Type check without emitting | | npm test | Run integration tests (requires valid session) |

Local Integration Testing

The standalone test suite (npm test) requires a valid Garmin session and hits the real API. Run it locally after authenticating:

npm test

Contributing

  1. Create a feature branch off main
  2. Make your changes
  3. Run checks:
    npm run lint
    npm run format
    npm run typecheck
    npm run build
    
  4. Test via Claude Code: The recommended way to verify your changes is through Claude Code. After building, call the run-tests MCP tool — it returns a test plan that exercises all 27 tools against the live Garmin API. Tell Claude to execute the plan and report results.
  5. Open a PR against main

CI runs lint, format check, typecheck, and build on every PR. Integration tests run locally only (they require Garmin authentication that can't safely run in CI).

Releasing

Releases are fully automated. Every merge to main triggers the release workflow which:

  1. Runs CI (lint, format, typecheck, build)
  2. Bumps the patch version
  3. Publishes to npm with provenance
  4. Creates a GitHub Release

No manual version bumping or tagging needed — just merge your PR.

License

AGPL-3.0

Related Skills

View on GitHub
GitHub Stars45
CategoryDevelopment
Updated3mo ago
Forks13

Languages

TypeScript

Trust signals

73/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 medium2 low2 info