Garmin Local MCP logo

Garmin Local MCP

by anup-shesh

Stores Garmin data locally in SQLite and exposes offline sync, FIT import, correlation, trend, baseline, and anomaly tools over MCP.

Install Garmin Local MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "anup-shesh-garmin-local-mcp": {
      "command": "uvx",
      "args": [
        "garmin-local-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio anup-shesh-garmin-local-mcp -- uvx garmin-local-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

The install command installed and started the server, which then stopped for configuration (such as an API key) that our sandbox does not have — expected for servers that connect to your account.

uvx garmin-local-mcp

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

anup-shesh/garmin-local-mcp MCP server stores Garmin history in a local SQLite warehouse with immutable raw JSON snapshots, then exposes compact analysis results over stdio. It supports incremental Garmin API sync, zero-auth wellness FIT-bundle imports, lag-aware correlations, personal baselines, anomaly detection, and chronotype analysis. Reach for it when you need multi-month Garmin analysis without repeatedly fetching large API responses or when existing history must remain usable offline. Python 3.12 or newer is required.

Use cases

  • Analyze multi-month sleep and training relationships offline
  • Import Garmin wellness FIT bundles without credentials
  • Detect anomalous HRV, resting heart rate, sleep, and stress periods
  • Compare training load with next-day health metrics
  • Estimate chronotype and evaluate sleep timing against Garmin scores

Key features

  • Incremental Garmin API sync into local SQLite
  • Zero-auth wellness FIT-bundle import
  • Lag-aware correlation scans from -7 to +7 days
  • Server-side trends, baselines, and anomaly detection
  • Chronotype estimation with uncertainty and holdout validation
  • Compact columnar MCP responses

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/15 checks healthy over the last 117d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 11d ago via OSV.dev · garmin-local-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars9Stargazers on the source repository.
Last commit2mo agoMost recent push to the default branch.
Install checkRunsOur sandbox started it; it then asked for an API key or config.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How Garmin Local MCP works

What anup-shesh/garmin-local-mcp MCP server does

The anup-shesh/garmin-local-mcp MCP server connects an MCP client to Garmin health and fitness data stored on the local machine. It is designed for analysis over an owned history rather than one-off requests to a live API. Data is kept in SQLite alongside immutable raw JSON snapshots, and the server returns compact columnar tables instead of passing large raw payloads to the model.

The project supports two ingestion paths. A logged-in Garmin API sync incrementally backfills and updates data. A separate wellness FIT-bundle import can decode exported Garmin wellness messages without a Garmin login, which is useful for filling gaps or continuing ingestion when authentication or the API is unavailable.

How it works

Install the package, authenticate once if using API synchronization, and run a resumable sync for the desired date range. The sync is throttled and can be restarted after interruption or rate limiting. Once data is local, analysis requests do not need the Garmin network. An API outage stops new synchronization but does not prevent queries over existing records.

The MCP process communicates over stdio, so it can be registered in clients that accept standard MCP server commands. Analysis defaults to the most recent 30 days; longer questions should specify a wider period when the event or trend may fall outside that window.

Setup and configuration

Python 3.12 or newer is required. Install with pip install garmin-local-mcp, or run it through uvx. Authenticate with garmin-local-mcp login, then start a backfill such as garmin-local-mcp sync --from 2026-01-01. Tokens persist locally for later runs. Start the MCP endpoint with garmin-local-mcp serve.

The data directory can be selected with --data-dir. A demo command can create a deterministic synthetic store and serve it without a Garmin account or network access. The demo data is clearly marked through sync_status, and the generator supports a seed and a configurable number of days.

Tools and capabilities

The anup-shesh/garmin-local-mcp MCP server provides 13 curated tools. Documented examples include:

  • correlate, using Pearson or Spearman relationships and scanning day offsets from -7 through +7.
  • anomalies, which identifies unusual measurements across supported health metrics.
  • gaps, which reports missing periods such as absent sleep nights.
  • circadian, which estimates sleep timing and chronotype, includes uncertainty and stability checks, and evaluates the result against unseen nights.
  • sync_status, which reports store state and identifies generated demo data.

Other supported analysis areas include trends, personal baselines, training load, HRV, resting heart rate, sleep, stress, skin temperature, and sleep stages where those records are available. Responses are intended to remain small; the README reports typical results below 2 KB, with circadian below 3 KB.

Limitations and notes

The Garmin login and API path depends on Garmin authentication and service availability. FIT import avoids login but requires manually exported wellness bundles and is described for undocumented Garmin wellness messages, including sleep score, HRV, skin temperature, sleep stages, and naps. Imported or synchronized data is local to the configured data directory.

Correlation results are observational and depend on the selected date range and available records. Lag scans over short windows may lack enough data, and the server reports when a strongest lag is not significant after accounting for all scanned lags. The synthetic demo dataset is generated rather than measured data and must not be treated as personal Garmin history.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Garmin Local MCP

anup-shesh/garmin-local-mcp is an MCP server that connects MCP clients to a local Garmin data warehouse. Its main tools support Garmin API synchronization, wellness FIT-bundle import, lag-aware correlation, anomaly detection, gap reporting, chronotype analysis, and synchronization status without requiring the network for existing local data.

Install it with `pip install garmin-local-mcp`, or run it through `uvx garmin-local-mcp --help`. Python 3.12 or newer is required. After installation, authenticate with `garmin-local-mcp login` if you need Garmin API synchronization, then register `garmin-local-mcp serve` in your MCP client.

Yes, it works with Cursor through a standard stdio MCP configuration. Add a `garmin` server entry pointing to the `garmin-local-mcp` command with the `serve` argument in `~/.cursor/mcp.json` or a project-level `.cursor/mcp.json`.

Yes, for wellness FIT-bundle imports and the synthetic demo store. FIT import reads manually exported Garmin wellness bundles without credentials, while the demo command generates local test data without a login or network. Garmin API synchronization still requires running `login`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGarmin Local MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/anup-shesh-garmin-local-mcp?style=directory)](https://allmcps.com/mcp/anup-shesh-garmin-local-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/anup-shesh-garmin-local-mcp"><img src="https://allmcps.com/api/badge/anup-shesh-garmin-local-mcp?style=directory" alt="Garmin Local MCP on AllMCPs" /></a>