Oura Ring logo

Oura Ring

Read-only MCP access to Oura sleep, readiness, activity, stress, workout, session, SpO2, resilience, and heart-rate data.

Install Oura Ring

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "oura-ring-3": {
      "command": "uvx",
      "args": [
        "oura-ring-python-mcp"
      ],
      "env": {
        "OURA_CLIENT_ID": "YOUR_VALUE_HERE",
        "OURA_CLIENT_SECRET": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx oura-ring-python-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The Oura Ring MCP server gives AI clients read-only access to data from the Oura API v2 through OAuth2. It exposes tools for personal information, sleep, readiness, activity, stress, SpO2, resilience, workouts, sessions, and heart-rate measurements. Daily queries support inclusive date ranges up to 90 days, while heart-rate queries cover ISO 8601 time windows up to 7 days. Use it when an agent needs to inspect Oura health and recovery data without modifying the account.

Use cases

  • Inspect recent sleep scores and sleep stages
  • Compare readiness, activity, and stress over a date range
  • Review workouts, sessions, and recovery indicators
  • Retrieve recent heart-rate samples and averages
  • Analyze nightly SpO2 and resilience data

Key features

  • OAuth2 authentication with automatic token refresh
  • Read-only access to Oura API v2 data
  • Daily date ranges up to 90 days
  • Heart-rate windows up to 7 days
  • uv, PyPI, and Docker run options
  • Optional Langfuse tracing

Tools11

What Oura Ring lets your agent do. Expand a tool for its parameters.

Self-reported~176 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 63d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · oura-ring-python-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit2mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed11Callable tools this server registers over MCP.
Directory activity8 viewsConfig copies, upvotes, and views on AllMCPs.

How Oura Ring works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Oura Ring

Oura Ring is an MCP server that connects AI clients to the Oura API v2 and provides read-only tools for personal information, sleep, readiness, activity, stress, SpO2, resilience, workouts, sessions, and heart-rate data. It authenticates with OAuth2 and refreshes saved tokens automatically.

Install it with `uv sync` from the repository, run it with `uvx oura-ring-python-mcp`, or use the published Docker image. You must create an Oura API application, set the client ID and secret, and complete the one-time OAuth2 authorization first.

The server uses MCP over stdio and states that it works with Claude or any MCP client, so Cursor support depends on its MCP configuration and compatibility with stdio servers.

Daily tools support inclusive `start_date` and `end_date` values covering up to 90 days. Without dates, they return the seven days ending today. `get_heart_rate` accepts ISO 8601 datetimes for windows up to seven days and defaults to the last 24 hours.

Authenticate on the host, mount `~/.config/oura-ring-mcp` into `/tokens`, pass the Oura credentials and any timezone setting, and run the container with `-i` because the server uses stdio. The container reads and refreshes `/tokens/tokens.json`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewOura Ring AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/oura-ring-3?style=directory)](https://allmcps.com/mcp/oura-ring-3)
HTML Embed
<a href="https://allmcps.com/mcp/oura-ring-3"><img src="https://allmcps.com/api/badge/oura-ring-3?style=directory" alt="Oura Ring on AllMCPs" /></a>