# Oura Ring [Health: Active]

**Category:** 🏃 Sports  
**Repository:** https://github.com/osjayaprakash/oura-ring-python-mcp  
**GitHub Stars:** 0  
**Views:** 8  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/oura-ring-3

## Description
Read-only Oura Ring sleep, readiness, activity, stress and heart rate data (OAuth2)

## Tools
Capabilities this server exposes over MCP:

- **get_personal_info** — Age, weight, height, biological sex, email
- **get_daily_sleep** — Daily sleep score and contributors
- **get_sleep_periods** — Each night's sleep and naps: stages, efficiency, heart rate, HRV
- **get_daily_readiness** — Daily readiness score, contributors, temperature deviation
- **get_daily_activity** — Daily activity score, steps, calories, time per activity level
- **get_daily_stress** — Daily time in high stress and in recovery
- **get_daily_spo2** — Nightly average SpO2 and breathing disturbance index
- **get_daily_resilience** — Daily resilience level and contributors
- **get_workouts** — Workouts with type, intensity, calories, distance
- **get_sessions** — Meditation, breathing and rest sessions
- **get_heart_rate** — Heart rate samples with min, max and average bpm

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

```json
"mcpServers": {
  "oura-ring": {
    "command": "uvx",
    "args": ["oura-ring-python-mcp"],
    "env": {
      "OURA_CLIENT_ID": "",
      "OURA_CLIENT_SECRET": ""
    }
  }
}
```

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

## Documentation

## What Oura Ring MCP server does

The Oura Ring MCP server connects an MCP client to the Oura API v2 and returns read-only account data. Its tools cover personal details, daily scores, sleep periods, physiological measurements, workouts, and wellness sessions. It does not provide tools for changing Oura records or account settings.

Available data includes sleep scores and contributors, sleep and nap stages, sleep efficiency, heart rate and HRV, readiness and temperature deviation, activity totals, stress and recovery time, nightly SpO2, breathing disturbance, resilience, workouts, meditation, breathing, and rest sessions. Personal information includes age, weight, height, biological sex, and email.

## How it works

Authentication uses OAuth2 rather than an Oura personal access token. You create an Oura API application, authorize the requested scopes in a browser, and let the server receive the callback on localhost. Tokens are saved locally and refreshed automatically; Oura access tokens are issued for 30 days, and refreshed single-use tokens are saved for later runs.

Daily tools accept optional `start_date` and `end_date` values in `YYYY-MM-DD` format. Both dates are inclusive, and requests are limited to 90 days. If no dates are supplied, the server queries the seven days ending today. Heart-rate queries instead accept ISO 8601 `start_datetime` and `end_datetime` values, default to the previous 24 hours, and allow windows up to seven days. Responses include the range used by the request.

To keep responses smaller, interval-level series such as five-minute activity classes, MET values, sleep phases, and in-sleep heart-rate or HRV curves are omitted. Scores, totals, and averages remain available.

## Setup and configuration

The Oura Ring MCP server can be installed from the repository with `uv sync`, run from PyPI with `uvx`, or started from the published Docker image. Authenticate once with `OURA_CLIENT_ID` and `OURA_CLIENT_SECRET`, then start the stdio server from an MCP client. The default token file is `~/.config/oura-ring-mcp/tokens.json`; `OURA_TOKEN_FILE` can change its location.

The Oura application must include the callback URI `http://localhost:47651/callback` unless another exact redirect URI is configured. The documented scopes are `email`, `personal`, `daily`, `heartrate`, `workout`, `session`, `spo2`, and `stress`; resilience requires `stress`. `OURA_TIMEZONE` can set the IANA time zone used for day boundaries, which is useful when the process runs in Docker. Gen3 and Oura Ring 4 accounts need an active Oura membership for API data access.

## Tools and capabilities

The server exposes these MCP tools:

- `get_personal_info`
- `get_daily_sleep`
- `get_sleep_periods`
- `get_daily_readiness`
- `get_daily_activity`
- `get_daily_stress`
- `get_daily_spo2`
- `get_daily_resilience`
- `get_workouts`
- `get_sessions`
- `get_heart_rate`

Optional Langfuse tracing is available when the extra is installed and both tracing keys are configured. By default, traces contain tool names, timings, and error class names rather than health-data payloads.

## Limitations and notes

The Oura Ring MCP server is read-only, and its API coverage depends on the scopes granted to the Oura application and on an eligible membership. OAuth authorization must be completed before normal server use. When tracing is enabled with `LANGFUSE_CAPTURE_DATA=true`, tool inputs, outputs, and error messages are sent to the configured Langfuse instance, so that option should be used only with a trusted destination.

The stdio transport requires interactive input to remain available when running the Docker image. If browser callback handling is impractical, the authentication command supports a paste-based flow with `auth --paste`.

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

