Garmin MCP Server

Garmin MCP Server

A local, read-only MCP server that allows Claude Desktop to access Garmin Connect data such as activities and recovery metrics, enabling AI-assisted running plan creation and adjustment.

Category
Visit Server

README

Garmin MCP server

A local, read-only MCP server that lets Claude Desktop retrieve data from an approved Garmin Connect Developer Program project. Claude can use the returned activities and recovery metrics to create or adjust a running plan.

What it exposes

  • garmin_connection_status — authorized user and granted permissions
  • garmin_get_data — one Garmin summary category for a recent upload window
  • garmin_get_training_context — activities, daily health, sleep, HRV, stress, and fitness metrics in one call

The server does not generate a plan itself. It gives Claude the source data; Claude performs the analysis and plan customization.

Prerequisites

  • Node.js 20 or newer
  • An approved Garmin Connect Developer Program application
  • OAuth 2.0 + PKCE enabled for that application
  • Ping/Pull access and the summary feeds you want enabled in Garmin's portal

Garmin's Health API is a partner API, not a public personal-account API. A normal Garmin username and password are not API credentials.

Install and authorize

npm install
cp .env.example .env

Put the client ID and client secret from Garmin in .env. Register this exact redirect URI in Garmin's developer portal:

http://127.0.0.1:8787/callback

Then authorize your Garmin account and build the server:

npm run auth
npm run build

Authorization writes .garmin-tokens.json with owner-only file permissions. Both that file and .env are excluded from Git.

Garmin may assign environment-specific URLs to an evaluation project. If its portal documentation gives you different authorization, token, or API URLs, set the corresponding overrides in .env.

Add it to Claude Desktop

Open Claude Desktop → Settings → Developer → Edit Config, then add:

{
  "mcpServers": {
    "garmin": {
      "command": "node",
      "args": [
        "/Users/abhilashaarohi/Projects/garmin-mcp-server/dist/index.js"
      ],
      "cwd": "/Users/abhilashaarohi/Projects/garmin-mcp-server"
    }
  }
}

If your config already contains other servers, add only the garmin entry inside its existing mcpServers object. Fully restart Claude Desktop, then ask:

Check my Garmin connection and summarize my recent running and recovery context. Before creating a plan, ask for my race distance, race date, weekly availability, current weekly mileage, injury history, and preferred long-run day. Use conservative progression and explain any recovery concerns.

Test without Claude

npm run inspect

The MCP Inspector lets you call each tool and view its raw result.

Garmin data limitations

Garmin's Health API query windows are based on upload time, not activity date. Each API request can cover at most 24 hours, so this server splits larger requests automatically.

Garmin retains uploaded summaries for only seven days. This local version can retrieve recent uploads but cannot provide reliable long-term history unless it is run regularly. A production version should:

  1. expose a public HTTPS webhook for Garmin Ping or Push notifications;
  2. fetch each notification immediately;
  3. upsert updates into a database by Garmin summary ID and start time; and
  4. have MCP tools query that database.

Garmin's developer portal can initiate backfills for older history. Backfill results are asynchronous and must also be captured through Ping or Push.

Privacy and safety

  • Keep .env and .garmin-tokens.json private.
  • The tools are read-only and do not upload workouts to Garmin.
  • Treat an AI-generated running plan as general training guidance, not medical advice. Pain, illness, abnormal cardiovascular symptoms, or injury requires appropriate professional advice.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured