Oura Ring logo

Oura Ring

Reads Oura Ring health metrics through MCP, including sleep, readiness, activity, heart rate, SpO₂, stress, and heart health.

Install Oura Ring

Run the project’s own setup commands, in order.

Setup steps from the project

Oura Ring installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    git clone https://github.com/AntVsl/oura_mcp && cd oura_mcp
    
  2. 2. Configure
    cp .env.example .env
    
  3. 3. Install
    uv sync
    
  4. 4. Install
    uv run my-oura-mcp install
    
  5. 5. Sign in
    uv run my-oura-mcp auth
    
  6. 6. Add to Claude Code
    claude mcp add --scope user oura -- uv --directory PATH run my-oura-mcp
    

Overview

The Oura Ring MCP server connects MCP clients to Oura data for sleep, readiness, HRV, resting heart rate, activity, SpO₂, stress, and heart health. It provides summarized results by default, with date-range controls and an option to return raw Oura responses. Run it locally over stdio or deploy it over streamable HTTP for remote clients. Use it when an agent needs to answer questions about personal Oura Ring data without handling the API directly.

Use cases

  • Review weekly sleep and readiness
  • Compare HRV and resting heart rate trends
  • Check daily activity, steps, and calories
  • Inspect overnight SpO₂ and stress data
  • Retrieve Oura tags and heart-health metrics

Key features

  • Summarizes Oura health data by date range
  • Supports sandbox and production API modes
  • Provides stdio and streamable HTTP transports
  • Handles pagination, retries, and timezone conversion
  • Offers raw Oura responses on request
  • Supports OAuth for remote web clients

Tools11

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

Self-reported~49 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.

14/19 checks healthy over the last 112d

Adoption & maintenance

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

Last commit3mo agoMost recent push to the default branch.
Tools exposed11Callable tools this server registers over MCP.

How Oura Ring works

What the Oura Ring MCP server does

The Oura Ring MCP server exposes health and activity data from Oura through MCP tools. It covers sleep details and scores, readiness, activity, heart rate, blood oxygen, stress, heart health, user-entered tags, and connection status.

Most data tools use a seven-day default window. Heart-rate queries default to three days, while heart-health and tag queries default to 30 days. Requests can instead specify an explicit start and end date. Results are reduced to daily values and statistics such as averages, ranges, and trends rather than returning the complete API payload. A raw option is available when the unmodified Oura response is needed.

How it works

The project is written for Python 3.12 or newer and uses uv for installation and execution. It supports two transports: local stdio for a client running on the same machine, and streamable HTTP for a server that other devices or web clients can reach.

The server handles Oura pagination through next_token, retries interrupted connections with exponential backoff, and converts HTTP errors into actionable messages. It also accounts for Oura's date and timezone behavior, including endpoints that filter by UTC timestamps while reporting a local calendar day.

Sandbox mode provides synthetic Oura data without credentials. Production mode requires an Oura application and a browser-based authorization flow. Access tokens are stored and refreshed by the application, and the server reports its mode and authorization state through get_status.

Setup and configuration

Install uv, clone the repository, copy .env.example to .env, and run uv sync. The smoke test can verify data flow against Oura's sandbox before authorization. For personal data, register an Oura application, configure its redirect URI as http://localhost:8765/callback, add the required client credentials, run the authorization command, and select production mode.

Relevant settings include OURA_API_MODE, OURA_TZ, OURA_REDIRECT_URI, and the Oura client credentials. HTTP deployments can use OURA_MCP_TOKEN to protect the endpoint. Setting OURA_PUBLIC_URL enables the OAuth flow used by Claude.ai and ChatGPT; allowed redirect origins can be configured separately.

Tools and capabilities

  • get_daily_summary: combined sleep, readiness, and activity scores.
  • get_sleep: sleep stages, efficiency, HRV, resting heart rate, breathing, and temperature.
  • get_sleep_score: sleep score only.
  • get_readiness: readiness score, HRV balance, and temperature deviation.
  • get_activity: activity score, steps, and calories.
  • get_heartrate: heart-rate data summarized into daily statistics.
  • get_spo2: sleep blood oxygen and breathing disturbance data.
  • get_stress: time under load and time in recovery.
  • get_heart_health: cardiovascular age and VO₂max.
  • get_tags: tags recorded in the Oura app.
  • get_status: server mode and authorization state.

Limitations and notes

Sandbox responses are synthetic and do not represent the user's ring data. Production access requires an Oura application and authorization; personal access tokens are no longer supported. Only one live instance should use a token store because Oura refresh tokens are single-use.

Local stdio keeps traffic on the same machine. Remote HTTP deployment requires a host and domain, and data leaves the local machine for that server. Set the timezone explicitly on servers so date-based requests interpret “today” correctly.

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 and exposes tools for sleep, readiness, activity, heart rate, SpO₂, stress, heart health, tags, and status. It returns summarized date-range data by default and can provide raw API responses when requested.

Install it with `uv` by cloning the repository, copying `.env.example` to `.env`, and running `uv sync`. Use `uv run my-oura-mcp install` to print local client setup commands, then run the sandbox smoke test or authorize a production Oura application.

Yes, Oura Ring works with Claude Code through its local stdio transport or a remote HTTP endpoint. The README provides a `claude mcp add` command for local setup and an HTTP command that supplies a bearer token.

Yes, Oura Ring works with Codex over local stdio or remote HTTP. The documented setup uses `codex mcp add` with the local `uv` command, or a remote URL with the `OURA_MCP_TOKEN` bearer-token environment variable.

Deploy the Oura Ring MCP server over HTTP and set `OURA_PUBLIC_URL` to its public HTTPS address. ChatGPT connects through the server's OAuth flow, while the consent page uses `OURA_MCP_TOKEN` for access protection.

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?style=directory)](https://allmcps.com/mcp/oura-ring)
HTML Embed
<a href="https://allmcps.com/mcp/oura-ring"><img src="https://allmcps.com/api/badge/oura-ring?style=directory" alt="Oura Ring on AllMCPs" /></a>