Oura MCP logo

Oura MCP

by Rajskij

A read-only MCP server exposing Oura Ring health data for conversational AI clients via Oura API v2.

Install Oura MCP

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

Streamable HTTP (Remote)
Server URL
https://your-host/mcp/

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

This MCP server connects Oura Ring data to any MCP-compatible chat client like ChatGPT or Claude, enabling natural language queries about sleep, readiness, activity, stress, and heart rate. It is stateless, token-efficient, and designed for conversational use rather than dashboards or raw data export. Users must register their own Oura OAuth app for authenticated access, while a demo mode with fake data is available without an Oura account.

Use cases

  • Query weekly or daily sleep quality and patterns
  • Check readiness and training recommendations
  • Review activity metrics like steps and calories
  • Analyze stress levels and vital signs
  • Correlate tagged events (e.g., coffee) with health data

Key features

  • Ten task-oriented tools grouping 18 Oura API endpoints
  • Read-only access with no data modification
  • Token-efficient, pre-shaped JSON responses
  • Supports multiple languages via client LLM
  • Concise or detailed response formats
  • Actionable error messages with sane defaults

Tools10

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

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

28/31 checks healthy over the last 112d

Adoption & maintenance

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

GitHub stars1Stargazers on the source repository.
Last commit17d agoMost recent push to the default branch.
Tools exposed10Callable tools this server registers over MCP.
Directory activity19 viewsConfig copies, upvotes, and views on AllMCPs.

From the project README

oura-mcp

CI Docker License: MIT Node

Ask your Oura Ring anything. In ChatGPT or Claude, in any language.

A remote MCP server that connects Oura Ring data to any MCP client. No UI, no app, no model of its own: the assistant you already pay for calls the tools and explains your data in whatever language you speak.

You: how did I sleep this week?

ChatGPT: Your week was uneven, averaging 65/100. Best night was June 29 (77) with strong deep sleep. The rough one was July 2 (47): little REM, low efficiency, and your bedtime drifted way off schedule. The main pattern to fix is sleep timing.

Get started in two clicks: download oura-mcp.mcpb from the latest release and double-click it — Claude Desktop installs the extension, and demo mode works instantly with zero setup (fake sample data, no Oura account needed). Connecting your own ring takes ~5 minutes: Run locally.

Things to try once connected:

text
Should I train hard today or take it easy?
Compare my sleep on workdays vs the weekend.
Did the late coffee I tagged yesterday show up in my night heart rate?
Какой у меня был пульс сегодня днём?

How it works

mermaid
flowchart LR
    A["ChatGPT / Claude"] -- "MCP (Streamable HTTP)" --> B["oura-mcp"]
    B -- "REST, read-only" --> C["Oura API v2"]

One small Node.js process, stateless — a fresh MCP server instance per request. The client model picks the right tools, the server returns compact, pre-shaped JSON, the model does the talking. Curious how it's put together and why? See docs/ARCHITECTURE.md.

When you don't need this: if you want dashboards and charts, the Oura app already does that; if you want raw data for scripts, call the Oura API directly. This server exists for one thing: making your ring data conversational in the chat client you already use.

Tools

ToolAsk things like
oura_get_sleep"How did I sleep this week?"
oura_get_sleep_detail"When did I fall asleep? How much deep sleep? Night heart rate?"
oura_get_readiness"Should I train today? Is my temperature elevated?"
oura_get_activity"How many steps and calories yesterday?"
oura_get_stress"How stressed was I on Monday?"
oura_get_vitals"What's my SpO2, VO2 max, cardiovascular age?"
oura_get_workouts"How was my run? Did I meditate this week?"
oura_get_tags"Did coffee affect my sleep?" (reads tags you log in the Oura app)
oura_get_heartrate"What was my pulse this afternoon?" (hourly aggregates)
oura_get_profile"How charged is my ring?"

All tools are read-only and marked with readOnlyHint, so ChatGPT does not nag you for confirmation on every call.

Designed for LLMs, not for dashboards

  • Task-oriented tools, not 1:1 endpoint wrappers. 18 Oura endpoints grouped into 10 tools that match how people actually ask questions.
  • Token-efficient responses. Durations converted to minutes server-side, units baked into field names (deep_min, efficiency_pct), raw time series and internal IDs stripped. A tool response is 0.2–3 KB, not 50.
  • response_format: concise | detailed on data-heavy tools. Concise by default, breakdowns on demand.
  • Actionable errors. A too-wide heart rate query returns "ask for 3 days or less, or use oura_get_readiness for trends", not a 400.
  • Sane defaults. Every tool works with zero arguments (last 7 days).

Requirements

  • An Oura Ring with an active Oura subscription (the API returns 403 without one) — or nothing at all for the sandbox demo mode
  • Node 22+ or Docker
  • 5 minutes to register your own Oura OAuth app (below)
  • Only for the remote path (ChatGPT, claude.ai web): any host with public HTTPS — a free-tier VM behind Caddy works fine. Avoid free tiers that sleep between requests: ChatGPT times out on cold starts

Why do I need my own Oura app?

Oura deprecated personal access tokens in December 2025, so an OAuth app is the only supported way to access your data — this is Oura's rule, not this project's. Registering one is free, instant, and needs no review for personal use. It is also the best part of the design: your tokens are issued to your app and live on your server, so your health data never depends on anyone else's infrastructure — including mine.

Run locally (Claude Desktop) — easiest start

No server to deploy: Claude Desktop starts oura-mcp itself as a local process.

Install (two clicks): download oura-mcp.mcpb from the latest release, double-click it, press Install. Done — demo mode works immediately (fake sandbox data, no Oura account), so you can try every tool before any setup. Claude will remind you the numbers are samples.

Connect your real ring (~5 minutes):

  1. Create your own Oura app (free, instant, no review) at developer.ouraring.com/applications — set the redirect URI to exactly http://localhost:8888/callback
  2. In Claude Desktop: Settings → Extensions → oura-mcp → Configure → paste the app's Client ID and Client Secret (the secret is stored in your OS keychain)
  3. Ask Claude a health question — your browser opens the Oura consent page. Approve, ask again, and you're looking at your own data. Tokens stay on your machine (~/.oura-mcp/, chmod 600).

Prefer a config-file setup, or using a different stdio client? The docker route works everywhere:

config.json
{
  "mcpServers": {
    "oura": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "ghcr.io/rajskij/oura-mcp:latest", "node", "dist/src/stdio.js"]
    }
  }
}

Ask Claude "how did I sleep this week?" — you'll get answers from Oura's sandbox data, which is exactly how the real thing behaves.

Switch to your real account
  1. Register an OAuth app at developer.ouraring.com/applications (redirect URI http://localhost:8888/callback) and put the credentials in an .env file next to a copy of docker-compose.yml
  2. One-time browser consent, saves tokens to ./data: docker compose --profile setup up get-token
  3. Point the same config at your credentials and tokens:
config.json
{
  "mcpServers": {
    "oura": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "--env-file", "/absolute/path/to/.env",
        "-v", "/absolute/path/to/data:/app/data",
        "ghcr.io/rajskij/oura-mcp:latest",
        "node", "dist/src/stdio.js"
      ]
    }
  }
}

Running from source instead of Docker: npm install && npm run build, then use "command": "node", "args": ["/path/to/oura-mcp/dist/src/stdio.js"] (with cwd at the repo so data/tokens.json resolves).

Self-hosting (remote: ChatGPT, claude.ai web)

Docker (recommended)

bash
# 1. Register an OAuth app at developer.ouraring.com/applications
#    Redirect URI: http://localhost:8888/callback

# 2. Configure
curl -O https://raw.githubusercontent.com/Rajskij/oura-mcp/main/docker-compose.yml
curl -o .env https://raw.githubusercontent.com/Rajskij/oura-mcp/main/.env.example
# fill in .env: client id/secret, generate MCP_PATH_SECRET (openssl rand -hex 24)

# 3. Connect an Oura account (one-time browser consent on this machine)
docker compose --profile setup up get-token

# 4. Run
docker compose up -d

Keep PORT=3000 in .env (or adjust the compose port mapping to match).

Node, no Docker

Needs Node 22+.

bash
# 1. Register an OAuth app at developer.ouraring.com/applications
#    Redirect URI: http://localhost:8888/callback

# 2. Configure
cp .env.example .env   # fill in client id/secret, generate MCP_PATH_SECRET

# 3. Connect an Oura account (one-time browser consent)
npm install
npm run get-token

# 4. Run
npm run dev

Want to hack on it without a ring? OURA_SANDBOX=1 npm run dev serves Oura's sandbox data, no account needed.

Connect your chat client

Your MCP endpoint is https://your-host/mcp/<MCP_PATH_SECRET>.

ChatGPT (Plus and above, desktop web)
  1. Settings → Apps → Advanced settings → enable Developer mode
  2. Settings → Apps → Create: name it, paste your MCP endpoint URL, auth = No auth
  3. In a conversation, open the + menu → Developer mode → enable the app

Set up on desktop web; the app then works in mobile conversations too.

Claude (web and desktop)
  1. Settings → Connectors → Add custom connector
  2. Paste your MCP endpoint URL → Add

Claude connects from Anthropic's cloud, so the server must be publicly reachable (no localhost).

Other clients (Cursor, local-only clients)

Clients that only speak stdio can use the mcp-remote bridge:

config.json
{
  "mcpServers": {
    "oura": {
      "command": "npx",
      "args": ["mcp-remote", "https://your-host/mcp/<MCP_PATH_SECRET>"]
    }
  }
}

Configuration

Reviews

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

Frequently Asked Questions about Oura MCP

Yes, an active Oura subscription is required for authenticated API access; otherwise, you can use the demo mode with fake data.

You must register your own Oura OAuth app and provide its Client ID and Secret to the server; personal access tokens are deprecated.

No, this server is designed specifically for conversational queries and does not provide dashboards or raw data endpoints.

It runs as a Node.js process (Node 22+) or via Docker and requires a publicly accessible HTTPS host for remote usage.

Yes, demo mode with sandbox sample data works immediately after installing the MCP extension in Claude Desktop.

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 MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/rajskij-oura-mcp?style=directory)](https://allmcps.com/mcp/rajskij-oura-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/rajskij-oura-mcp"><img src="https://allmcps.com/api/badge/rajskij-oura-mcp?style=directory" alt="Oura MCP on AllMCPs" /></a>