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

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

Yes, the part Oura writes to Apple Health: by Oura's help page, that is sleep with its stages, heart rate, steps, active energy, respiratory rate, workouts and their routes, mindful minutes, weight and height. Oura's own scores, such as Readiness and Sleep Score, are not in that list, so for those the route is Oura'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 Oura's records alone, or Apple Health's merged totals.

## What Oura writes to Apple Health

From Oura's help page [Apple Health Integration](https://support.ouraring.com/hc/en-us/articles/360025438734-Apple-Health-Integration) (last updated 14 October 2026, read 30 November 2026):

- **Written to Health:** active energy (activity calories, without resting energy), heart rate (at one-minute intervals), height, mindful minutes, respiratory rate (the night's average), sleep (duration, start and end, sleep stages), steps, weight, workouts and workout routes.
- **Not in the list:** heart rate variability, and Oura's scores: Readiness, Sleep Score, Activity Score. The page does not list them among what Oura writes.
- **Conditions on the page:** the iPhone app; Gen2 rings, or Gen3 and later with an active membership; turn on Connect to Health in the Oura app (and Save Mindful Minutes to Health for those).

## Read Oura's records with SQL

Find the name Oura's records carry on your phone:

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

Then Oura's sleep, night by night, even when your Watch recorded the same nights:

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

And Oura's own step count for each day, the one case where a sum is right, because it is one source:

```sql
SELECT day, CAST(sum(value) AS INTEGER) AS oura_steps
FROM samples WHERE metric = 'StepCount' AND source_name LIKE '%Oura%'
GROUP BY day ORDER BY day DESC LIMIT 14
```

The `daily` view holds Apple Health's merged totals instead: when a ring and a Watch count the same steps, Health counts them once, by your source order. `nights` picks one source per night, preferring one with sleep stages. [Why sums double count](https://healthsql.app/blog/apple-health-steps-double-counted).

## The other route: Oura's API

Oura has a public API ([docs](https://cloud.ouraring.com/v2/docs)). Its help page says Gen3 and later rings without an active membership cannot use it ([The Oura API](https://support.ouraring.com/hc/en-us/articles/4415266939155-The-Oura-API), last updated 1 October 2026). Its API agreement (effective 8 June 2026) says a developer who uses Oura data with an AI model must do so through an MCP server that Oura runs ([API agreement](https://cloud.ouraring.com/legal/api-agreement)); we found no public page on connecting to it. Inside its own app, Oura offers Oura Advisor, an AI advisor that uses your Oura data ([Oura Advisor](https://support.ouraring.com/hc/en-us/articles/39512345699219-Oura-Advisor)). All read 30 November 2026.

Use the API or Oura's own tools for Readiness and the other scores. Use Apple Health, through HealthSQL, to have Oura's sleep and activity next to everything else Health holds, in one database, with any agent.

## Questions

### Is Oura's HRV in Apple Health?

Not by Oura's list of what it writes. The `hrv_ms` column in `daily` holds whatever heart rate variability Apple Health has, usually from an Apple Watch. [Sleep and HRV for agents](https://healthsql.app/sleep-hrv).

### Is there an official Oura MCP server?

Oura's API agreement describes one for developers, as of November 2026; we found no public setup page. HealthSQL's MCP server reads Oura's data from Apple Health instead: [Apple Health MCP server](https://healthsql.app/mcp).

### Will Oura's steps double my step count?

Not in `daily`, which holds Health's own total. Only a sum over `samples` from several sources would.
