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

Oura Ring MCP Server

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

安装

概览

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

Oura Ring MCP server for the Oura API v2: sleep, readiness, activity, heart rate, and more.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 诊所与健康
  • 你需要填写:OURA_CLIENT_ID, OURA_CLIENT_SECRET

安装

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

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: OURA_CLIENT_ID, OURA_CLIENT_SECRET, OURA_SANDBOX, TRANSPORT_TYPE, PORT, HOST, OURA_TELEMETRY_FILE, OURA_TELEMETRY_CONSOLE

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

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

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "oura-ring": {
      "command": "npx",
      "args": [
        "-y",
        "oura-ring-mcp-server"
      ],
      "env": {
        "OURA_CLIENT_ID": "your-value",
        "OURA_CLIENT_SECRET": "your-value",
        "OURA_SANDBOX": "your-value",
        "TRANSPORT_TYPE": "your-value",
        "PORT": "your-value",
        "HOST": "your-value",
        "OURA_TELEMETRY_FILE": "your-value",
        "OURA_TELEMETRY_CONSOLE": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add oura-ring --env OURA_CLIENT_ID=your-value --env OURA_CLIENT_SECRET=your-value --env OURA_SANDBOX=your-value --env TRANSPORT_TYPE=your-value --env PORT=your-value --env HOST=your-value --env OURA_TELEMETRY_FILE=your-value --env OURA_TELEMETRY_CONSOLE=your-value -- npx -y oura-ring-mcp-server

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "oura-ring": {
      "command": "npx",
      "args": [
        "-y",
        "oura-ring-mcp-server"
      ],
      "env": {
        "OURA_CLIENT_ID": "your-value",
        "OURA_CLIENT_SECRET": "your-value",
        "OURA_SANDBOX": "your-value",
        "TRANSPORT_TYPE": "your-value",
        "PORT": "your-value",
        "HOST": "your-value",
        "OURA_TELEMETRY_FILE": "your-value",
        "OURA_TELEMETRY_CONSOLE": "your-value"
      }
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "oura-ring": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "oura-ring-mcp-server"
      ],
      "env": {
        "OURA_CLIENT_ID": "your-value",
        "OURA_CLIENT_SECRET": "your-value",
        "OURA_SANDBOX": "your-value",
        "TRANSPORT_TYPE": "your-value",
        "PORT": "your-value",
        "HOST": "your-value",
        "OURA_TELEMETRY_FILE": "your-value",
        "OURA_TELEMETRY_CONSOLE": "your-value"
      }
    }
  }
}

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

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

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

需要你填写的值

  • OURA_CLIENT_ID 必填 env
    Oura OAuth2 client ID (register an app at https://cloud.ouraring.com/oauth/applications, then run `oura-ring-mcp-server login` once to authorize)
  • OURA_CLIENT_SECRET 机密 必填 env
    Oura OAuth2 client secret from the same application
  • OURA_SANDBOX env
    Use Oura's /sandbox/ demo data instead of real data (true/false, default false)
  • TRANSPORT_TYPE env
    Transport: 'stdio' (default) or 'httpStream' for remote/Docker deployments
  • PORT env
    HTTP port for httpStream transport (default 3000)
  • HOST env
    HTTP host for httpStream transport (default 0.0.0.0)
  • OURA_TELEMETRY_FILE env
    Write NDJSON telemetry events to this file path (safe under any transport)
  • OURA_TELEMETRY_CONSOLE env
    Console telemetry under httpStream transport: true (default) or false

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

与“诊所与健康”中的其他服务器比较i

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

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

常见问题

Oura Ring MCP Server 安全吗?

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

它需要哪些密钥或代码?

你需要填写:OURA_CLIENT_ID, OURA_CLIENT_SECRET

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

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

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.2.0)于4个月前进入注册中心。

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:Mirobody, FHIR MCP Server, Google Health MCP

替代选择

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

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

Mirobody

Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.

作者:thetahealth正在增长↓ 290/周★ 1408昨天更新

在你的电脑上运行✓ thetahealth.ai

FHIR MCP Server

MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications

作者:wso2正在增长↓ 823/周★ 13710天前更新

在你的电脑上运行

Google Health MCP

Privacy-first unofficial Google Health API v4 MCP server for health, sleep, activity, HR agents

作者:davidmosiah正在增长↓ 1024/周★ 794个月前更新

在你的电脑上运行

作者的 README

打开 README

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

oura-ring-mcp-server

A Model Context Protocol server for the Oura Ring API v2. Point Claude (or any MCP client) at your Oura data and ask about your sleep, readiness, activity, heart rate, workouts, and more.

Built with somamcp (telemetry + introspection), functype (typed error handling), and zod.

Design

Rather than one tool per endpoint, the server exposes a single consolidated `oura_data` tool with a collection parameter. This keeps the tool schema small (low token cost) while covering every Oura usercollection endpoint. The tool validates that the parameters you pass are legal for the chosen collection and returns actionable messages when they are not.

Requirements

  • Node.js 24+ (pinned in .nvmrc)
  • An Oura OAuth2 application — register one at cloud.ouraring.com/oauth/applications to get a client ID and secret. Set the redirect URI to http://localhost:8080/callback and enable the read scopes you want. The default requests the full set — email personal daily heartrate tag workout session spo2 ring_configuration stress heart_health — so every collection works (heart_health in particular gates vO2_max and daily_cardiovascular_age).

Oura stopped issuing new personal access tokens in December 2025, so OAuth2 is the path for

new setups. A previously-issued PAT still works — see Authentication.

Authentication

The server authenticates to Oura with an OAuth2 access token that it refreshes automatically. You authorize once with the built-in login command:

# with OURA_CLIENT_ID and OURA_CLIENT_SECRET set in the environment

npx -y oura-ring-mcp-server login

This opens your browser for consent, captures the redirect on http://localhost:8080/callback, and writes the tokens to ~/.config/oura-ring-mcp/tokens.json (override with OURA_TOKEN_STORE). Oura refresh tokens are single-use, so the server owns and rotates them in that store from then on — you never put a refresh token in your environment. The MCP server reads the store on startup; re-run login only if the refresh token is ever revoked.

Legacy PAT: if you still have a valid personal access token, set OURA_API_KEY instead and skip the OAuth setup. When both are configured, OAuth takes precedence.

Usage

Claude Desktop / Claude Code

Add to your MCP client config (e.g. claude_desktop_config.json):

{

"mcpServers": { "oura": { "command": "npx", "args": ["-y", "oura-ring-mcp-server"], "env": { "OURA_CLIENT_ID": "your-oauth-client-id", "OURA_CLIENT_SECRET": "your-oauth-client-secret" } } } }

That runs the server over stdio, which is what most MCP clients expect. Run login once first (see Authentication) so the token store exists.

Configuration
Env varRequiredDefaultDescription
OURA_CLIENT_IDfor OAuth—Oura OAuth2 client ID.
OURA_CLIENT_SECRETfor OAuth—Oura OAuth2 client secret.
OURA_API_KEYfor legacy PAT—Legacy personal access token (Bearer). Alternative to the OAuth pair.
OURA_REDIRECT_URInohttp://localhost:8080/callbackRedirect URI for login; must match the Oura app registration.
OURA_SCOPESno_full read set (see Requirements)_Space-separated scopes requested during login.
OURA_TOKEN_STOREno~/.config/oura-ring-mcp/tokens.jsonPath to the OAuth token store.
OURA_SANDBOXnofalseUse Oura's /sandbox/ demo data instead of your real data.
TRANSPORT_TYPEnostdiostdio or httpStream.
PORTno3000Port for httpStream transport.
HOSTno0.0.0.0Host for httpStream transport.
OURA_TELEMETRY_FILEno—Write NDJSON telemetry events to this file path (safe under any transport).
OURA_TELEMETRY_CONSOLEnotrueConsole telemetry, httpStream only (never enabled under stdio).
HTTP transport

For a long-running / networked deployment:

OURA_CLIENT_ID=... OURA_CLIENT_SECRET=... TRANSPORT_TYPE=httpStream PORT=3000 npx -y oura-ring-mcp-server

The MCP endpoint is served at /mcp; somamcp also exposes a public GET /health probe.

The oura_data tool

ParameterApplies toNotes
collectionallWhich data collection to fetch (see below).
start_date / end_datedaily collectionsYYYY-MM-DD. Omitted → last 7 days.
start_datetime / end_datetimeheartrate, ring_battery_levelISO-8601. Omitted → last 24 hours.
latestheartrate, ring_battery_levelReturn only the most recent sample.
document_idcollections with a detail routeFetch a single record by id.
next_tokenlist collectionsPagination cursor from a previous response.
fieldslist collectionsComma-separated sparse fieldset.
Collections

Daily (start_date/end_date): daily_activity, daily_sleep, daily_readiness, daily_spo2, daily_stress, daily_resilience, daily_cardiovascular_age, vO2_max, sleep, sleep_time, session, workout, tag, enhanced_tag, rest_mode_period

Time-series (start_datetime/end_datetime): heartrate, ring_battery_level

List / singleton: ring_configuration, personal_info

Example prompts
  • "What was my average readiness score last week?"
  • "Show my sleep stages for the night of 2026-06-20."
  • "Get my most recent heart rate reading."
  • "How many workouts did I log this month and how long were they?"

Development

pnpm install

pnpm validate # format + lint + typecheck + test + build pnpm dev # watch build pnpm inspect # run against the MCP Inspector

Try it without a ring by setting OURA_SANDBOX=true to hit Oura's demo dataset.

License

MIT

问 PopNx