# @royreznik/oura-ring-mcp [Health: Active]

**Category:** 🏃 Sports  
**Repository:** https://github.com/royreznik/oura-ring-mcp  
**GitHub Stars:** 1  
**npm Downloads (last month):** 549  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/royreznik-oura-ring-mcp

## Description
Read-only MCP server for your Oura Ring data: readiness, sleep, activity, HRV, heart rate and trends.

## Tools
Capabilities this server exposes over MCP:

- **get_daily_overview** — One day: readiness, sleep score and main sleep, naps, activity, stress, resilience, SpO2, cardiovascular age, VO2 max, bedtime guidance, workouts, sessions, tags (defaults to the latest scored day)
- **get_trends** — Day-by-day table plus avg/min/max for readiness, sleep and activity scores, sleep stages, HRV, lowest HR, temperature, steps, calories and stress, over 1-90 days
- **get_profile** — Age, height, weight, sex, email; ring model, size, color, firmware; battery level
- **list_daily_readiness** — Readiness scores, contributors, temperature deviation
- **list_daily_sleep** — Sleep scores and contributors
- **list_sleep_periods** — Nights and naps: stages, latency, efficiency, HR, HRV, breathing; one night's hypnogram and HR/HRV curves
- **list_daily_activity** — Activity score, steps, calories, activity minutes, sedentary time
- **list_workouts** — Activity, intensity, duration, calories, distance (filterable by activity)
- **list_sessions** — Meditation/breathing/relaxation sessions with mood, HR and HRV
- **list_daily_health** — Stress, resilience, SpO2 and breathing disturbance, cardiovascular age, VO2 max, bedtime window, joined by day
- **list_tags** — Tags and notes from the Oura app (alcohol, caffeine, sickness, custom...)
- **list_rest_mode_periods** — Rest Mode periods and their symptom tags
- **get_heart_rate** — Heart-rate time series aggregated to 5min/15min/hour/day (or raw), with per-source stats; up to 30 days per call

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

```json
"mcpServers": {
  "oura-ring-mcp": {
    "command": "npx",
    "args": ["-y","@royreznik/oura-ring-mcp"],
    "env": {
      "OURA_CLIENT_ID": "",
      "OURA_CLIENT_SECRET": "",
      "OURA_REDIRECT_URI": "",
      "OURA_TOKEN_PATH": "",
      "OURA_SANDBOX": ""
    }
  }
}
```

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

## Documentation

## What @royreznik/oura-ring-mcp does

@royreznik/oura-ring-mcp gives MCP-compatible agents read-only access to data from an Oura Ring account. It covers readiness, sleep, activity, stress, resilience, blood oxygen, cardiovascular age, VO2 max, workouts, relaxation sessions, tags, Rest Mode periods, and heart rate.

The combined `get_daily_overview` tool gathers the main metrics for one day, including sleep and naps, activity, health indicators, workouts, sessions, and tags. `get_trends` produces a day-by-day view with aggregate statistics across periods from one to 90 days. Other tools expose narrower datasets for querying or comparison.

Data returned by the server is formatted for agent use. Durations and distances use readable units, local times are provided, sleep stages can be represented as hypnogram segments, and heart-rate data can be bucketed instead of returned as a large raw series. Tools can request Oura's original objects with `raw: true`.

## How it works

The server uses Oura's OAuth flow with PKCE rather than personal access tokens. Run the `auth` command, approve the requested data types in Oura, and the resulting credentials are saved locally. Refresh tokens are handled automatically. The server communicates with Oura's API using read-only requests; its client accepts only `GET` requests under Oura's user-collection API path, and each tool is marked with a read-only hint.

Most list tools accept an inclusive `start` and `end` date in `YYYY-MM-DD` format, a `days` shortcut, and `next_token` for pagination. “Today” follows the computer's timezone, which should align with the timezone used by the Oura app. Heart-rate requests support five-minute, 15-minute, hourly, daily, or raw resolution and can cover up to 30 days per call.

## Setup and configuration

Node.js 20.11 or newer and an Oura account are required for personal data. Create an Oura API application, register `http://localhost:8787/callback` as its redirect URI, then run:

```bash
npx -y @royreznik/oura-ring-mcp auth
```

The command prompts for the client ID and secret and opens the browser-based consent flow. Credentials default to `~/.config/oura-ring-mcp/tokens.json`; `OURA_TOKEN_PATH` can change that location. `OURA_CLIENT_ID`, `OURA_CLIENT_SECRET`, and `OURA_REDIRECT_URI` provide non-interactive configuration.

Start the MCP process with `npx -y @royreznik/oura-ring-mcp` and add that command to an MCP client's stdio configuration. The package also provides `status` and `logout` commands. Set `OURA_SANDBOX=1` to use Oura's public sample data without authentication or personal data.

## Tools and capabilities

- Retrieve a combined daily overview with readiness, sleep, naps, activity, health metrics, workouts, sessions, and tags.
- Compare readiness, sleep, activity, sleep stages, HRV, lowest heart rate, temperature, steps, calories, and stress over time.
- Inspect profile details, ring information, firmware, and battery level.
- Query daily readiness, sleep, activity, and joined health records.
- Review sleep periods, stages, latency, efficiency, breathing, HR, HRV, and overnight curves.
- List workouts, meditation or breathing sessions, Oura tags, Rest Mode periods, and heart-rate time series.

## Limitations and notes

The server is read-only and does not modify Oura data. Combined results may identify unavailable data types when those permissions are not selected during Oura consent. OAuth credentials remain on the local machine, and Docker use requires mounting the local token directory. The Oura API application setup uses a localhost callback and the redirect URI must match the registered value exactly.

_Full upstream README: https://allmcps.com/mcp/royreznik-oura-ring-mcp/readme_

