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

Oura MCP

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

安装

概览

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

The Oura v2 API as an MCP server. Paginates, fixes the date range, warns when data is missing.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:OURA_CLIENT_SECRET, OURA_PAT

安装

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

安装之前

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

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

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "oura": {
      "command": "uvx",
      "args": [
        "mcp-oura"
      ],
      "env": {
        "OURA_SANDBOX": "your-value",
        "OURA_CLIENT_ID": "your-value",
        "OURA_CLIENT_SECRET": "your-value",
        "OURA_CREDENTIALS": "your-value",
        "OURA_PAT": "your-value",
        "OURA_PAT_FILE": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add oura --env OURA_SANDBOX=your-value --env OURA_CLIENT_ID=your-value --env OURA_CLIENT_SECRET=your-value --env OURA_CREDENTIALS=your-value --env OURA_PAT=your-value --env OURA_PAT_FILE=your-value -- uvx mcp-oura

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

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "oura": {
      "command": "uvx",
      "args": [
        "mcp-oura"
      ],
      "env": {
        "OURA_SANDBOX": "your-value",
        "OURA_CLIENT_ID": "your-value",
        "OURA_CLIENT_SECRET": "your-value",
        "OURA_CREDENTIALS": "your-value",
        "OURA_PAT": "your-value",
        "OURA_PAT_FILE": "your-value"
      }
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "oura": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-oura"
      ],
      "env": {
        "OURA_SANDBOX": "your-value",
        "OURA_CLIENT_ID": "your-value",
        "OURA_CLIENT_SECRET": "your-value",
        "OURA_CREDENTIALS": "your-value",
        "OURA_PAT": "your-value",
        "OURA_PAT_FILE": "your-value"
      }
    }
  }
}

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

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

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

需要你填写的值

  • OURA_SANDBOX env
    Set to 1 to use Oura's official synthetic data with no credentials. The recommended way to try the server before authenticating.
  • OURA_CLIENT_ID env
    client_id of your Oura application, for OAuth2. Register one at https://cloud.ouraring.com/oauth/applications with the redirect http://localhost:9876/callback/ (the trailing slash is required).
  • OURA_CLIENT_SECRET 机密 env
    client_secret of your Oura application. Only needed when running `oura-mcp --authorize` and when refreshing the token.
  • OURA_CREDENTIALS env
    Where the OAuth2 credentials file lives. Defaults to ~/.config/oura-mcp/credentials.json, mode 600.
  • OURA_PAT 机密 env
    Oura Personal Access Token. Only if you already had one: Oura stopped issuing them in December 2025.
  • OURA_PAT_FILE env
    Path to a file holding the personal token. Preferable to OURA_PAT: an MCP server is registered in a JSON that gets backed up and shared when asking for help; a separate file rotates without touching…

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

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

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

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

常见问题

Oura MCP 安全吗?

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

它需要哪些密钥或代码?

你需要填写:OURA_CLIENT_SECRET, OURA_PAT

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

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

它还在维护吗?

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

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

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

替代选择

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

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

Spec Driven Development

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

作者:formulahendry起步阶段↓ 66/周★ 44014个月前更新

在你的电脑上运行

Remote Desktop Commander

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

作者:desktop-commander正在增长★ 2113天前更新

在云端运行✓ desktopcommander.app

Readfirst

What to read and check before changing a file: project rules, risks, checks and tests per file.

作者:jeonghun917正在增长↓ 5325/周今天更新

在你的电脑上运行

作者的 README

打开 README

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

oura-mcp

English | 简体中文 | 한국어 | Español

The Oura v2 API as an MCP server. All 19 collections, six tools, no dependencies beyond the MCP SDK.

One local day of heart rate is 1,231 samples across 2 pages

A client that doesn't follow Oura's next_token returns 1,000 of them — 81%, looking complete, with nothing saying otherwise. Measured against the real API on 9 August 2026, one person, one ring, 24 hours.

The test to apply to any Oura MCP server, including this one: does it take next_token — or a cursor, or a limit — as a tool parameter? If it does, pagination is the model's job, and a model that forgets to ask again produces a confident answer off partial data. This server paginates to exhaustion before it returns, and tells you how many pages it took.

That's one of four ways Oura under-delivers without saying so. All four are measured below, and all four are corrected here.

Install

Download `oura-mcp.mcpb` from the latest release and double-click it. Claude Desktop does the rest — no terminal, no Python, no Node. It runs on Oura's official sample data out of the box, and every sample response says so, so nothing can pass for your own sleep.

Prefer the command line? uvx --from mcp-oura oura-mcp.

Prefer no Python on your machine at all?

docker run -i --rm -e OURA_SANDBOX=1 ghcr.io/proscar87/oura-mcp

-i is not optional: an MCP server speaks over stdin and stdout, not over a port. Without it the container has no stdin, the handshake never arrives, and the client reports a server that doesn't show up.

In claude.ai or ChatGPT, in a browser? Those connect by URL, so the server has to live somewhere public: deploy it as a Worker on your own Cloudflare account — free, about ten minutes, yours alone. See Remote: claude.ai and ChatGPT.


The problem, measured

Oura does not return errors when it can't give you what you asked for. It returns something different, shaped like a correct response. These are the four we found by measuring against the real API on 9 August 2026:

1. Skip the pagination and you get a fraction
{ "data": [ ... ], "next_token": "eyJ0eXAiOi..." }

If next_token comes back and you don't follow it, you receive the first page and nothing warns you. One local day of heartrate — one person, one ring, 24 hours — is 1,231 samples across 2 pages. A client that doesn't paginate gets 1,000 of 1,231: 81%, looking complete. A month is ~37,000.

2. Asking for a single day returned zero records

end_date does not behave the same across collections:

Exclude the last day requestedInclude it
daily_activity, sleep, workoutdaily_sleep, daily_readiness, daily_stress, daily_spo2, daily_resilience, daily_cardiovascular_age, sleep_time

And on top of that, `workout` filters by UTC date while reporting `day` in local time: at -06:00, asking for July 16–18 returned records from the 15th and 16th — *before* the requested start.

Here the range is inclusive on both ends, always. Two extra days are requested on each side and then trimmed, which is correct whichever way a given collection behaves — and stays correct when Oura changes it.

3. latest=true is ignored where it doesn't apply

Only heartrate and ring_battery_level honor it. In the other seventeen Oura doesn't error: it returns the entire collection. You ask for the latest record, you get ten, and you believe it's one. Here it's rejected before the request goes out.

4. A field that doesn't exist is silently ignored

fields=does_not_exist returns the complete record — the projection never happens — and fields=score,does_not_exist applies the good one and drops the bad one without a word. Here, fields that never appeared are reported under ignored_fields.

The pattern is always the same: you ask for one thing, you get another, and nothing warns you. That's why this package would rather shout than quietly under-deliver.

Installation

Try it with no credentials
pip install mcp-oura

OURA_SANDBOX=1 oura-mcp --check

The sandbox is official — it's in Oura's OpenAPI spec, with 34 mirror routes — and serves synthetic data without authentication. 18 of the 19 collections work there: personal_info doesn't, which makes sense, since it's the one returning email, age, weight and height.

This is the right order: first you watch the server work and learn the shape of the data, then you go get credentials.

With your own data

Oura stopped issuing Personal Access Tokens in December 2025. Existing ones still work; new ones can't be created. So there are two paths:

a) OAuth2 — the one that works today. Register an application at cloud.ouraring.com/oauth/applications with the redirect http://localhost:9876/callback/ — the trailing slash is required, the portal rejects the other form with invalid_redirect_uri.

If you registered on `developer.ouraring.com` instead, your app belongs to

Oura's newer portal, whose token endpoint is a different one. The legacy

endpoint rejects those apps on every refresh — so the registration works

exactly once, until the first access token expires, and then fails forever

with nothing explaining why. This server tries the legacy endpoint and falls

back to the new one automatically; nothing to configure either way.

export OURA_CLIENT_ID="…"

export OURA_CLIENT_SECRET="…" oura-mcp --authorize # opens the browser, waits for the callback oura-mcp --authorize --manual # headless machines: you paste the URL back

The token is stored in ~/.config/oura-mcp/credenciales.json with mode 600 — or in the system keychain if you happen to have keyring installed, which is not a dependency of this package — and refreshes itself. oura-mcp --forget erases it.

b) A personal token, if you already had one.

export OURA_PAT="your-token"

oura-mcp --check

--check is the self-check: it reports which credential you're using, which scopes were granted and how long the access has left, without returning the token or a single health value. It reports the token's length, never the token. Error messages get copied and pasted into chats and issues; they have no business carrying anything else.

Connecting it to Claude Code

With the package installed (pip install mcp-oura):

claude mcp add -s user oura --env OURA_SANDBOX=1 -- oura-mcp

Drop OURA_SANDBOX once you've run oura-mcp --authorize.

If you use [uv](https://docs.astral.sh/uv/), nothing needs to be installed permanently:

claude mcp add -s user oura --env OURA_SANDBOX=1 -- uvx --from mcp-oura oura-mcp

The --from is required because the distribution is named mcp-oura and the executable oura-mcp. *(This needs uv; without it the command above fails with "command not found", and pip install is the path to take.)*

As a Claude Code plugin:

claude plugin marketplace add proscar87/oura-mcp

claude plugin install oura@oura-mcp

Connecting it to Claude Desktop

One click: download oura-mcp.mcpb from the releases page and double-click it. Claude Desktop installs it — no terminal, no JSON, no Python. It ships with sample data turned on, so it works before you have any credential at all.

When you want your own data, just ask it for something: it opens Oura's authorization page through Claude, waits for the callback, and retries what you asked. No terminal. That works because MCP has a mode for precisely this — URL elicitation — and the client does the opening.

The one thing Oura still requires is that every application be registered, so you need a client ID and secret from cloud.ouraring.com/oauth/applications once. That's Oura's rule, not this server's. oura-mcp --authorize remains for terminal users and for clients that can't show a URL.

Or by hand, in ~/Library/Application Support/Claude/claude_desktop_config.json:

{

"mcpServers": { "oura": { "command": "/full/path/to/oura-mcp", "env": { "OURA_SANDBOX": "1" } } } }

which oura-mcp gives you the full path. Claude Desktop does not inherit your terminal's PATH, so a bare name there fails silently — one of the most common mistakes when configuring an MCP server.

Remote: claude.ai and ChatGPT

Experimental. Tested end to end on Cloudflare's real runtime with Oura's

sample data, and its Oura login against a fake of Oura — but not yet against

a real deployment, a real Oura account, or claude.ai and ChatGPT completing

the connection. If you try it, an issue saying how it went helps.

claude.ai reaches a connector from Anthropic's cloud and ChatGPT from OpenAI's, not from your computer — so a server on your machine is invisible to both. ts/worker is the same server as a Cloudflare Worker that you deploy on your own account, for your own Oura account only. Nobody runs a shared instance, so your tokens and your data pass through no one else.

It adds three things the local server does not need: its own consent page, which shows which app is asking and where the result will go; a check, after Oura's login, that the account is the one you configured — anyone else is turned away, and with no owner configured nobody gets in; and a single place where Oura's single-use refresh token is renewed, one request at a time.

Deployment, step by step, and exactly what has and has not been verified: ts/worker/README.md.

The tools

oura_collectionsAll 19, what each one carries and which parameters it takes
oura_queryOne collection in full over a range, paginating to the end
oura_todayLast night's sleep and today's readiness, with the days before them
oura_compareWhether two periods differ by more than the metric's own noise
oura_relateWhether two metrics' day-to-day changes move together beyond chance
oura_checkSelf-check that exposes nothing

Six, not nineteen. A server with one tool per collection forces the model to pick among 19 similar names before knowing what any of them contain. Here the collection is a parameter and the catalog is consulted when needed.

All six declare themselves read-only, and that isn't a promise: there is no POST, PUT or DELETE anywhere in the package, and a test reads the source to keep it that way.

oura_today is the only one that exists for convenience rather than for correctness: "how did I sleep?" needs today's two records plus enough history to know whether they are unusual, which was four round trips and four chances to stop early. It computes nothing — no average, no delta, no "your HRV is up 12%". The days come back raw and the comparison happens where the method can be cited. Across nine years of real data, three out of four changes between consecutive measurement

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

问 PopNx