# anup-shesh/garmin-local-mcp [Health: Active]

**Category:** 🏃 Sports  
**Repository:** https://github.com/anup-shesh/garmin-local-mcp  
**GitHub Stars:** 9  
**Views:** 6  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/anup-shesh-garmin-local-mcp

## Description
Local-first Garmin data warehouse: incremental sync into SQLite you own, with server-side trends, lag-aware correlations, personal baselines, and anomaly detection returned as compact tables. Analysis keeps working offline when Garmin's API breaks, and a zero-auth FIT-bundle import fills gaps with no login at all.

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

```json
"mcpServers": {
  "garmin-local-mcp": {
    "command": "uvx",
    "args": ["garmin-local-mcp"]
  }
}
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/anup-shesh-garmin-local-mcp/readme_

