# Can my AI agent read my Garmin data through Apple Health?

Source: https://healthsql.app/garmin · Updated 2026-11-30

Yes, the part Garmin Connect writes to Apple Health: by Garmin's help page, that is steps, sleep, heart rate, active and resting energy, walking and running distance, flights climbed, workouts, weight, body fat, body mass index and water. Body Battery, HRV, stress and training load are not in that list, so for those the route is Garmin's own app or its API.

HealthSQL is an iPhone app and a command-line tool that copy your whole Apple Health record into a local SQLite database on your computer, so AI agents can query it with SQL or MCP. Every record keeps its source, so your agent can read Garmin's records alone, or Apple Health's merged totals.

## What Garmin Connect writes to Apple Health

From Garmin's support page on [Apple Health and Garmin Connect](https://support.garmin.com/en-US/?faq=lK5FPB9iPF5PXFkIpFlFPA) (read 30 November 2026):

- **Written to Health:** active energy, body fat percentage, body mass index, flights climbed, heart rate, resting energy, sleep analysis, steps, walking and running distance, water, weight, and workouts (activities uploaded to Garmin Connect).
- **Heart rate:** all-day heart rate is sent; for timed activities, only the high and low values.
- **Not sent:** GPS tracks. Body Battery, HRV, stress and training load are not in the list.
- **Read from Health:** nothing. Garmin Connect sends data to Apple Health and does not read from it.
- **Conditions on the page:** what is sent depends on your settings and your device, and Garmin Connect must be open on the iPhone to send data. Garmin data does not count toward the Apple Watch rings.

That last condition matters for an agent: new Garmin data reaches Apple Health, and so HealthSQL, after you open Garmin Connect on the phone.

## Read Garmin's records with SQL

Find the name Garmin's records carry:

```sql
SELECT source_name, count(*) AS records FROM samples GROUP BY source_name ORDER BY records DESC
```

Garmin's workouts:

```sql
SELECT day, activity, minutes, meters, avg_hr, max_hr
FROM workouts WHERE source_name LIKE '%Garmin%' ORDER BY start_ts DESC LIMIT 20
```

Garmin's sleep, night by night, even when another device recorded the same nights:

```sql
SELECT night, asleep_min, deep_min, rem_min, awake_min
FROM nights_by_source WHERE source_name LIKE '%Garmin%' ORDER BY night DESC LIMIT 14
```

For daily totals, use the `daily` view: when a Garmin watch and an iPhone count the same steps, Apple Health counts them once, by your source order. [Why sums double count](https://healthsql.app/blog/apple-health-steps-double-counted).

## The other route: Garmin's API

Garmin's Connect Developer Program has a Personal tier: secure access to your own Garmin Connect data for individuals, with activity, health and women's health data, pull only. Its business tiers are for organizations ([Garmin Connect Developer Program](https://developer.garmin.com/gc-developer-program/overview/), read 30 November 2026). We found no official Garmin MCP server or connection to an AI assistant; Garmin's own insights are in its Connect+ subscription ([Garmin, March 2025](https://www.garmin.com/en-US/newsroom/press-release/wearables-health/elevate-your-health-and-fitness-goals-with-garmin-connect/)).

Use Garmin's API for Body Battery, training load and GPS tracks. Use Apple Health, through HealthSQL, to have Garmin's steps, sleep and workouts next to everything else Health holds, with any agent.

## Questions

### Is there an official Garmin MCP server?

Not that we found, as of November 2026. Several third-party servers exist. HealthSQL's MCP server reads Garmin's data from Apple Health instead: [Apple Health MCP server](https://healthsql.app/mcp).

### Why is today's Garmin data missing?

Garmin Connect sends data to Apple Health while it is open on the iPhone. Open it, then open HealthSQL (or let its automatic export run), and ask again.

### Are Garmin's routes in the database?

No. Garmin's page says GPS tracks are not written to Apple Health. Workouts from other apps that do write routes, such as the Apple Watch, keep theirs.
