# caddie-mcp [Health: Active]

**Category:** 🏃 Sports  
**Repository:** https://github.com/mbrionesalvarez/caddie-mcp  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/caddie-mcp

## Description
Your Garmin golf data in Claude: GPS shots, strokes gained, club distances, health context

## Tools
Capabilities this server exposes over MCP:

- **garmin_status** — Am I connected? How much is cached vs still on Garmin?
- **sync_garmin_data** — Pull rounds/shots/clubs from Garmin — chunked (25/call, reports `rounds_remaining`) so full multi-year histories load safely from chat
- **list_rounds** — "Show my recent rounds" — compact summaries
- **get_round** — One round in depth: scorecard, holes, shots
- **get_shots** — Shot-level GPS/club/lie data; `format="geojson"` for maps
- **get_club_stats** — Real measured distances per club vs Garmin's estimates
- **get_strokes_gained** — Broadie strokes gained per round: off-tee / approach / short game / putting, vs your handicap level or scratch
- **get_performance_stats** — ~40 PGA-style stats (driving, GIR by distance, scrambling, putting, scoring) with optional handicap benchmarks
- **get_handicap** — WHS-style index, counting differentials, and trend
- **get_course_intel** — Per-hole difficulty and usual tee club at one course
- **get_health_context** — Sleep, HRV, Body Battery, readiness, and stress for a round's date
- **correlate_health_performance** — "Do I score worse on bad sleep?" — paired data + honest correlation
- **query_golf_data** — Any question, as read-only SQL over the cache

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

```json
"mcpServers": {
  "caddie-mcp": {
    "command": "uvx",
    "args": ["caddie-mcp"],
    "env": {
      "CADDIEMCP_HOME": ""
    }
  }
}
```

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

## Documentation

## What caddie-mcp MCP server does

The caddie-mcp MCP server brings Garmin golf records into an MCP client. It can expose round summaries, hole and shot details, GPS coordinates, club usage, measured distances, strokes gained, performance metrics, handicap trends, course information, and health context associated with playing dates.

Analysis can combine golf and recovery data. Available health fields include sleep, HRV, Body Battery, readiness, stress, heart rate, and activity conditions during a round. The server also provides a correlation tool for comparing health indicators with performance, while keeping the result framed as correlation rather than causation.

## How it works

Garmin data is downloaded through the unofficial private API used by the Garmin Connect ecosystem, with `python-garminconnect` as the connector. Synchronization stores the results in a local DuckDB file, normally at `~/.caddiemcp/golf.duckdb`. MCP requests read from that cache instead of repeatedly calling Garmin.

The sync operation is chunked at 25 rounds per call and reports how many rounds remain, which allows an MCP conversation to load larger histories incrementally. A repair operation recalculates derived fields locally. These fields include normalized shot information, GPS-based distances, fairway and greens-in-regulation inferences, and other computed values.

Shot processing can derive miss offsets from GPS geometry when Garmin provides no dispersion values. It can also add plays-like yardage using cached Open-Meteo elevation data for the shot and pin locations. Distances are represented in yards, coordinates use decimal degrees, and timestamps use ISO 8601.

## Setup and configuration

Install from a source checkout into a Python virtual environment, or install the built wheel with `pip` or `pipx`. Authenticate with `caddie-mcp login`; browser-based login and two-step MFA are supported. Run an initial sync before connecting an MCP client.

For Claude Desktop, add a server entry that runs the installed `caddie-mcp` executable with the `serve` argument. Claude Code can use the same stdio arrangement through `.mcp.json`. The repository also describes a Claude Desktop extension built as an MCPB bundle, requiring `uv` and a published package.

The caddie-mcp MCP server can run over streamable HTTP with `serve-http`. Multi-user mode assigns each user a separate database and Garmin token store, protected by bearer tokens. OAuth is available for claude.ai custom connectors and requires a public HTTPS URL. The server can also perform periodic incremental synchronization for linked users.

## Tools and capabilities

The tool set includes:

- Checking connection and cache state with `garmin_status`.
- Syncing rounds, shots, clubs, and health enrichment with `sync_garmin_data`.
- Reviewing rounds, holes, scorecards, and shot-level GPS, club, and lie data.
- Comparing measured club distances with Garmin estimates.
- Calculating Broadie strokes gained and roughly 40 performance statistics.
- Returning a WHS-style handicap index, counting differentials, and trend.
- Inspecting per-hole course difficulty and typical tee-club choices.
- Joining round dates with sleep, recovery, stress, and activity data.
- Asking read-only SQL questions through `query_golf_data`.

Packaged prompts include post-round reporting, practice planning, course strategy, health check-ins, and season reviews. Resources describe the database schema, metric definitions, and suggested tool flow.

## Limitations and notes

The Garmin connection is unofficial and depends on a private API that may change. The server reads the authenticated user’s account; it does not provide a general Garmin data service. Garmin credentials and health data remain on the machine or in the configured per-user server storage, so backups and mounted data volumes require protection.

Remote deployments should use TLS because bearer tokens are sent in request headers. The no-auth option is restricted to loopback use. Garmin data quality can vary by watch: putting records, lie labels, dispersion fields, and green-shot positions may require normalization or flagged estimates. Health-performance results should be interpreted as paired data and correlation, not proof that one factor causes another.

_Full upstream README: https://allmcps.com/mcp/caddie-mcp/readme_

