Garmin data in Claude: 135 tools β activities, sleep, HRV, training, workouts. Free, open source.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
The MCP servers exist. Connecting them shouldn't be complicated.
A multi-user, OAuth 2.1βprotected gateway that hosts the connectors Claude is
missing, so a small trusted circle can connect their own accounts from any
Claude client (iOS, Android, Web, Desktop). The flagship connector is
Garmin Connect: the gateway wraps the
unmodified garmin_mcp worker and
adds OAuth, per-user token isolation, and a reverse proxy. WHOOP
is served the same way but in-process, on WHOOP's own official OAuth v2 API.
The core is adapter-based and supports three forward strategies β worker
(garmin), local (whoop, in-process, no subprocess), and remote (MCP +
header injection, for services with a hosted MCP that lacks its own OAuth) β
see Connectors. The reference deployment runs at
missingmcp.com.
garmin_mcp is a great MCP server, but it's single-user and stdio-only: each
person has to run it locally with their own Garmin tokens. This gateway makes it a
remote MCP server any Claude client can connect to over HTTP, with a proper
OAuth sign-in flow β so non-technical users just click "connect" and log in with
their Garmin credentials, and never touch a terminal or a token file.
GATEWAY_SECRET. Bearer tokens are stored only as SHA-256 hashes.garmin_mcp worker bound to
127.0.0.1, started on demand and reaped when idle.garmin_mcp worker pinned to a reviewed commit./ and as a friendly fallback for
unknown paths.Railway (how missingmcp.com runs): one service built from the Dockerfile,
a volume mounted at /data, a single replica (the gateway keeps process-local
state by design), and TLS terminated at the Railway edge. Set the env vars from
Configuration on the service; pushes to main deploy
automatically once the service is connected to the GitHub repo. An optional
Railway bucket enables Backups (railway bucket create backups,
then wire its credentials as the BACKUP_S3_* variables).
Self-hosted (plain Docker):
Put any TLS-terminating proxy in front (Caddy, nginx, Traefik). One non-obvious
requirement: /β<adapter>/mcp streams SSE, so disable response buffering and
raise the read timeout (nginx: proxy_buffering off; proxy_read_timeout 3600s;).
Then add https://<your-domain>/garmin/mcp as a remote MCP server in Claude.
A .env file in the working directory is loaded automatically (real environment
variables take precedence), so you can drop the same values there instead.
Each connector is mounted under its own path prefix with its own OAuth flow and
its own Bearer tokens (there is no bare /mcp). The landing page on / lists
the available connectors.
/garmin/mcpSign in with your Garmin Connect email + password (MFA supported). The password
is used once for the Garmin login and discarded; only the resulting Garmin
session tokens are stored (AES-256-GCM encrypted). Each account gets its own
garmin_mcp worker process, bound to 127.0.0.1, started on demand and reaped
when idle.
/whoop/mcpSign in on WHOOP's own OAuth page β the gateway never sees your WHOOP password, only the resulting (encrypted, read-only) tokens. Covers recovery, sleep, strain & daily cycles, workouts, and body measurements. Served in-process on WHOOP's official v2 API (no worker subprocess, no shared upstream). Requires the operator to register a WHOOP developer app β see WHOOP connector setup in Configuration.
The gateway briefly served a RohlΓk connector (remote strategy: credential
headers injected into the hosted RohlΓk MCP). It was retired in 2026-07 when
RohlΓk shipped its own OAuth-protected MCP β add
https://mcp.rohlik.cz/mcp directly as a custom connector in Claude and sign
in in the browser (RohlΓk's guide).
The remote-forward strategy remains a first-class, tested part of the core
(tests/test_remote_forward.py) for the next service that needs it.
claude mcp add --transport http garmin https://<your-domain>/garmin/mcp
(whoop: claude mcp add --transport http whoop https://<your-domain>/whoop/mcp).Set via environment (or .env). See .env.example.
| Variable | Required | Default | Description |
|---|---|---|---|
GATEWAY_SECRET | yes | β | β₯32-char key for token encryption. Refuses to start with the placeholder. Generate with openssl rand -base64 48. |
PUBLIC_URL | yes | http://localhost:8080 | Public URL used in OAuth metadata + redirects. |
PORT | no | 8080 | Listen port. |
DATA_DIR | no | /data | Where the SQLite DB and per-user token dirs live. |
DB_PATH | no | $DATA_DIR/gateway.db | Override the DB path. |
GARMIN_MCP_CMD | no | garmin-mcp | Command to spawn the worker. Use a uvx β¦ invocation when garmin-mcp isn't on PATH. |
GARMIN_MCP_REF | no | pinned SHA in Dockerfile | Docker build arg: commit of garmin_mcp to install. Bumping it is a deliberate, reviewed action β afterwards run python scripts/gen_garmin_tools.py to refresh the tool listing on the /garmin page. |
WORKER_PORT_START / WORKER_PORT_END | no | 9000 / 9099 | Port range for per-user workers. |
WORKER_IDLE_TTL | no | 900 | Seconds before an idle worker is reaped. |
WORKER_STARTUP_TIMEOUT | no | 20 | Seconds to wait for a worker to become healthy. |
MAX_WORKERS | no | 10 | Max concurrent per-user workers. |
SSO_PROBE_INTERVAL | no | 0 (off) | Seconds between browser-impersonated GET probes of Garmin's SSO sign-in page (event sso-probe, floor 60 s) β an attempt-independent block timeline for diagnosing egress-IP rate-limiting (reliability ticket 12). |
ACCESS_TOKEN_TTL_DAYS | no | 90 | Bearer token lifetime; user re-authenticates after it. 0 disables expiry. |
OPERATOR_NAME / OPERATOR_EMAIL | no | β | Shown on the landing page. |
OPERATOR_URL | no | β | Homepage the operator name links to (footer, trust notes). Unset β plain text. |
WHOOP_CLIENT_ID / WHOOP_CLIENT_SECRET | no | β | Credentials of your WHOOP developer app (see WHOOP connector setup); both unset β the whoop connector is disabled. |
WHOOP_API_BASE | no | https://api.prod.whoop.com | WHOOP API origin; override only for testing. |
BACKUP_S3_ENDPOINT / BACKUP_S3_BUCKET / BACKUP_S3_ACCESS_KEY / BACKUP_S3_SECRET_KEY | no | β | S3-compatible bucket for off-box DB backups (see Backups). Backups are disabled unless all four are set. |
BACKUP_S3_REGION | no | auto | SigV4 region of the bucket. |
BACKUP_S3_URL_STYLE | no | virtual-host | virtual-host (Railway buckets) or path. |
BACKUP_INTERVAL_HOURS | no | 6 | Hours between backup uploads. First backup runs right after startup. |
POSTHOG_API_KEY | no | β | Public phc_ project key. Unset β all PostHog telemetry (events, log tee, web analytics) is off. |
POSTHOG_HOST | no | https://eu.i.posthog.com | Server-side ingestion host (SDK events + OTLP log tee). |
POSTHOG_WEB_HOST | no | $POSTHOG_HOST | posthog-js api_host β set it to the managed reverse proxy (e.g. https://j.missingmcp.com) for ad-blocker resilience. |
POSTHOG_UI_HOST | no | https://eu.posthog.com | PostHog app host; posthog-js needs it when POSTHOG_WEB_HOST is a proxy. |
GATEWAY_LOG_FILE | no | β | If set, tees structured + stdlib logs to this file. |
GATEWAY_LOG_LEVEL | no | info | debug|info|warning|error|critical. debug is verbose (logs garminconnect/urllib3 internals) β avoid in production. |
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/garmin-missingmcp)<a href="https://allmcps.com/mcp/garmin-missingmcp"><img src="https://allmcps.com/api/badge/garmin-missingmcp?style=directory" alt="Garmin β MissingMCP on AllMCPs" /></a>