原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Oura Ring (read-only)

作者:royreznik版本 1.0.0i★ –i在你的电脑上运行
注册名称io.github.royreznik/oura-ring-mcp

安装

概览

作者提供的说明(英文原文)

Read-only access to your Oura Ring readiness, sleep, activity, HRV, heart rate and trends.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "oura-ring": {
      "command": "npx",
      "args": [
        "-y",
        "@royreznik/oura-ring-mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add oura-ring -- npx -y @royreznik/oura-ring-mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "oura-ring": {
      "command": "npx",
      "args": [
        "-y",
        "@royreznik/oura-ring-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "oura-ring": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@royreznik/oura-ring-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 royreznik 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32725 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32725 个服务器的 66% 更新
  • 基础检查结果等于或优于此分类中其他 32725 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Oura Ring (read-only) 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.0.0)于20天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Signoff

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

Signoff

作者:ayuanxx-max

Five gates that make an agent's 'done' provable: run them, read the verdict, audit the record.

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Oura Ring MCP Server (read-only)

Ask Claude, Cursor, VS Code or any MCP client about your Oura Ring readiness, sleep, HRV, activity, stress and heart rate, without giving it any way to change your data.

*"How did I sleep last night, and why is my readiness only 64?"*

*"Compare my HRV and lowest heart rate over the last 30 days."*

*"Show me last night's sleep stages and heart-rate curve."*

*"Does my readiness drop after days I tagged alcohol?"*

(Run the one-time auth step before or after installing.)

Why this server

  • Read-only, enforced. Oura's API has no write endpoints for your data, and this client goes further: it can only send GET, refuses any URL outside /v2/usercollection/, never touches the webhook API, and every tool carries readOnlyHint: true. Tests fail the build otherwise.
  • Answers whole questions in one call. get_daily_overview returns a day's readiness, sleep, naps, activity, stress, resilience, SpO2, workouts and tags together. get_trends returns a day table plus averages and readiness zones over up to 90 days.
  • Model-friendly output. Compact JSON with hours, minutes, km and local times instead of seconds and meters; hypnograms as stage segments; heart rate aggregated into buckets. Pass raw: true for Oura's original objects.
  • Degrades gracefully. If you untick a data type on Oura's consent page, combined tools list it under unavailable instead of failing.
  • Your tokens stay on your machine. Your own Oura API application, OAuth with PKCE, a 0600 token file, and safe handling of Oura's single-use refresh tokens. No third-party servers, no telemetry.
  • Try it without an account. OURA_SANDBOX=1 serves Oura's public sample data.

Quick start

You need Node.js 20.11+ and an Oura account. (Oura retired personal access tokens in December 2025, so OAuth is the only way in.)

1. Create an Oura API application (2 minutes)
  1. Open cloud.ouraring.com/oauth/applications and create a new application.
  2. Set the Redirect URI to http://localhost:8787/callback.
  3. Copy the Client ID and Client Secret.

Applications work for up to 10 users without Oura's approval, which is plenty for personal use.

2. Connect your Oura account
npx -y @royreznik/oura-ring-mcp auth

Paste your Client ID and Client Secret when asked (the secret isn't echoed). Your browser opens Oura's consent page; leave every data type ticked and approve. Tokens are saved to ~/.config/oura-ring-mcp/tokens.json and refreshed automatically from then on.

(For scripts, set OURA_CLIENT_ID and OURA_CLIENT_SECRET instead of answering the prompts.)

3. Add it to your MCP client

Claude Code

As a plugin (adds the server plus an /oura:auth skill that walks you through connecting):

/plugin marketplace add royreznik/oura-ring-mcp

/plugin install oura@oura-ring-mcp

Or just the MCP server:

claude mcp add oura --scope user -- npx -y @royreznik/oura-ring-mcp

Claude Desktop, Cursor, Windsurf

Add to the client's MCP config (Claude Desktop: Settings → Developer → Edit Config; Cursor: ~/.cursor/mcp.json; Windsurf: ~/.codeium/windsurf/mcp_config.json):

{

"mcpServers": { "oura": { "command": "npx", "args": ["-y", "@royreznik/oura-ring-mcp"] } } }

For Claude Desktop you can also install the .mcpb bundle from the latest release.

VS Code (GitHub Copilot)

.vscode/mcp.json (or your user mcp.json):

{

"servers": { "oura": { "type": "stdio", "command": "npx", "args": ["-y", "@royreznik/oura-ring-mcp"] } } }

</details>

OpenAI Codex CLI

~/.codex/config.toml:

[mcp_servers.oura]

command = "npx" args = ["-y", "@royreznik/oura-ring-mcp"]

</details>

Docker

Run auth on the host first, then mount the token directory:

docker build -t oura-ring-mcp https://github.com/royreznik/oura-ring-mcp.git

docker run -i --rm -v ~/.config/oura-ring-mcp:/home/node/.config/oura-ring-mcp oura-ring-mcp

</details>

Then ask: *"Give me my Oura overview for today."*

Try it without an account
claude mcp add oura-sandbox --env OURA_SANDBOX=1 -- npx -y @royreznik/oura-ring-mcp

Sandbox mode serves Oura's public sample data. No auth step, no personal data.

Tools

ToolWhat it returns
get_daily_overviewOne 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_trendsDay-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_profileAge, height, weight, sex, email; ring model, size, color, firmware; battery level
list_daily_readinessReadiness scores, contributors, temperature deviation
list_daily_sleepSleep scores and contributors
list_sleep_periods / get_sleep_periodNights and naps: stages, latency, efficiency, HR, HRV, breathing; one night's hypnogram and HR/HRV curves
list_daily_activityActivity score, steps, calories, activity minutes, sedentary time
list_workoutsActivity, intensity, duration, calories, distance (filterable by activity)
list_sessionsMeditation/breathing/relaxation sessions with mood, HR and HRV
list_daily_healthStress, resilience, SpO2 and breathing disturbance, cardiovascular age, VO2 max, bedtime window, joined by day
list_tagsTags and notes from the Oura app (alcohol, caffeine, sickness, custom...)
list_rest_mode_periodsRest Mode periods and their symptom tags
get_heart_rateHeart-rate time series aggregated to 5min/15min/hour/day (or raw), with per-source stats; up to 30 days per call

List tools accept start / end (YYYY-MM-DD, inclusive), a days shortcut and next_token. See the [tool reference](docs/tools.md) for details.

Configuration

VariableDefaultPurpose
OURA_CLIENT_IDfrom token fileYour app's client ID (auth asks if unset)
OURA_CLIENT_SECRETfrom token fileYour app's client secret (auth asks, without echoing, if unset)
OURA_REDIRECT_URIhttp://localhost:8787/callbackMust exactly match a redirect URI registered on your app
OURA_TOKEN_PATH~/.config/oura-ring-mcp/tokens.jsonWhere credentials are stored. Must be absolute (~/ is expanded). Honours XDG_CONFIG_HOME.
OURA_SANDBOXunset1 serves Oura's public sample data instead of your account
oura-ring-mcp            Start the MCP server on stdio (what your MCP client runs)

oura-ring-mcp auth Connect your Oura account (opens your browser) oura-ring-mcp status Check the stored connection oura-ring-mcp logout Delete the locally stored tokens oura-ring-mcp --version

"Today" is computed in your computer's timezone, which should match the timezone your Oura app uses.

Privacy and security

  • oura-ring-mcp talks only to api.ouraring.com (plus your browser visiting cloud.ouraring.com during auth). No telemetry, no intermediary server.
  • Tokens and your client secret live in one file only your user can read (0600). They are never logged or returned by tools.
  • Your MCP client sends tool results to its language model. Health data you ask about is shared with that model provider under its terms.
  • To disconnect, run oura-ring-mcp logout. To revoke access completely, delete the application at cloud.ouraring.com/oauth/applications or revoke it in your Oura account.

Details: PRIVACY.md, SECURITY.md.

How authentication works

  • OAuth 2 authorization-code flow with PKCE (S256) and a random state, captured by a loopback-only callback server.
  • Oura refresh tokens are single-use. oura-ring-mcp refreshes shortly before expiry (and on a 401), one refresh at a time, under a lock file so several clients on one machine (e.g. Claude Desktop and Claude Code) never refresh at once, and writes new tokens atomically. If a write fails, the new tokens stay in memory so a full disk can't log you out.
  • Rate limits (429, honouring Retry-After), server errors, timeouts (30s) and network errors are retried with backoff. Cancelling a request in your client stops its Oura calls.

Troubleshooting

SymptomFix
Oura shows a redirect URI errorThe app's redirect URI must match OURA_REDIRECT_URI exactly, including http://, port and /callback.
Port 8787 is in useRegister another URI on your app (e.g. http://localhost:9876/callback) and run auth with OURA_REDIRECT_URI set to it.
Not connected to OuraRun auth. If your client runs as a different user or HOME, set OURA_TOKEN_PATH in the client config.
Oura rejected the refresh tokenRun auth again (app secret rotated, access revoked, or the token file was copied to another machine).
A data type appears under unavailable (403)It was unticked on Oura's consent page, or needs an active Oura membership. Run auth again and allow it.
426 errorUpdate the Oura app on your phone and open it so it syncs.
Today's data is missingOura only has data after the ring syncs through the Oura app. Open the app, then ask again.
npx -y @royreznik/oura-ring-mcp status

Development

npm install

npm test # unit, MCP integration, end-to-end and packaging tests (no network) npm run smoke:sandbox # every tool against Oura's live sandbox API npm run smoke:live # every tool against your account (after auth); prints only counts npm run inspect # MCP Inspector

See CONTRIBUTING.md. The one hard rule: oura-ring-mcp stays read-only.

Credits and legal

Architecture, auth and test approach are adapted from whoop-mcp by Oryan Omer (MIT).

MIT © Roy Reznik. Unofficial project, not affiliated with or endorsed by Oura Heal

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx