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

Oura Ring

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

安装

概览

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

Read-only Oura Ring sleep, readiness, activity, stress and heart rate data (OAuth2)

PopNx MCP 的三大支柱

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

它能帮你做什么

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

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

安装

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

安装之前

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

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

你需要

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

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "oura-ring-python": {
      "command": "uvx",
      "args": [
        "oura-ring-python-mcp"
      ],
      "env": {
        "OURA_CLIENT_ID": "your-value",
        "OURA_CLIENT_SECRET": "your-value",
        "OURA_TOKEN_FILE": "your-value",
        "OURA_TIMEZONE": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add oura-ring-python --env OURA_CLIENT_ID=your-value --env OURA_CLIENT_SECRET=your-value --env OURA_TOKEN_FILE=your-value --env OURA_TIMEZONE=your-value -- uvx oura-ring-python-mcp

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

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "oura-ring-python": {
      "command": "uvx",
      "args": [
        "oura-ring-python-mcp"
      ],
      "env": {
        "OURA_CLIENT_ID": "your-value",
        "OURA_CLIENT_SECRET": "your-value",
        "OURA_TOKEN_FILE": "your-value",
        "OURA_TIMEZONE": "your-value"
      }
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "oura-ring-python": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "oura-ring-python-mcp"
      ],
      "env": {
        "OURA_CLIENT_ID": "your-value",
        "OURA_CLIENT_SECRET": "your-value",
        "OURA_TOKEN_FILE": "your-value",
        "OURA_TIMEZONE": "your-value"
      }
    }
  }
}

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

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

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

需要你填写的值

  • OURA_CLIENT_ID 必填 env
    Client ID of your Oura API application
  • OURA_CLIENT_SECRET 机密 必填 env
    Client secret of your Oura API application
  • OURA_TOKEN_FILE env
    Where `oura-ring-python-mcp auth` saved the OAuth tokens
  • OURA_TIMEZONE env
    Your IANA time zone (e.g. Europe/London), so "today" is your day; defaults to the machine's

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

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

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

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

常见问题

Oura Ring 安全吗?

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

它需要哪些密钥或代码?

你需要填写:OURA_CLIENT_ID, OURA_CLIENT_SECRET

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

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

它还在维护吗?

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

哪些应用可以使用它?

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

有什么可以替代它?

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

替代选择

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

如何看卡片:★ 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昨天更新
安装

Safe Fetch

作者:Sanoy24

MCP server for fetching URLs, safe against SSRF, DNS rebinding, and redirect-to-internal attacks.

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

作者的 README

打开 README

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

oura-ring-python-mcp

An MCP server that gives Claude (or any MCP client) read-only access to your Oura Ring data: sleep, readiness, activity, stress, SpO2, resilience, workouts, sessions and heart rate. It talks to the Oura API v2 with its own small async client (oura_ring_mcp.core).

Tools

ToolReturns
get_personal_infoAge, weight, height, biological sex, email
get_daily_sleepDaily sleep score and contributors
get_sleep_periodsEach night's sleep and naps: stages, efficiency, heart rate, HRV
get_daily_readinessDaily readiness score, contributors, temperature deviation
get_daily_activityDaily activity score, steps, calories, time per activity level
get_daily_stressDaily time in high stress and in recovery
get_daily_spo2Nightly average SpO2 and breathing disturbance index
get_daily_resilienceDaily resilience level and contributors
get_workoutsWorkouts with type, intensity, calories, distance
get_sessionsMeditation, breathing and rest sessions
get_heart_rateHeart rate samples with min, max and average bpm

Daily tools take optional start_date and end_date (YYYY-MM-DD, both inclusive). Without them they cover the 7 days ending today; ranges are limited to 90 days. Each result echoes the range it covers, so the model always knows what "today" meant.

get_heart_rate takes optional start_datetime and end_datetime (ISO 8601). Without them it covers the last 24 hours; windows are limited to 7 days.

Per-interval series (5-minute activity classes, MET, sleep phases, in-sleep heart rate and HRV curves) are left out of results to keep them small; the scores, totals and averages are kept.

Setup

For a step-by-step guide, including creating the Oura application and troubleshooting, see the installation guide. Full documentation is at https://oura-ring-python-mcp.readthedocs.io.

The server signs in with OAuth2, since Oura has deprecated personal access tokens. You need an Oura API application (a client ID and secret) whose redirect URIs include http://localhost:47651/callback, with the scopes email, personal, daily, heartrate, workout, session, spo2 and stress allowed (resilience needs stress). Gen3 and Oura Ring 4 users need an active Oura membership for the API to return data.

git clone https://github.com/osjayaprakash/oura-ring-python-mcp.git && cd oura-ring-python-mcp

uv sync

Sign in once. This opens the browser, catches Oura's redirect on localhost, and saves the tokens to ~/.config/oura-ring-mcp/tokens.json (readable only by you):

OURA_CLIENT_ID=... OURA_CLIENT_SECRET=... uv run oura-ring-python-mcp auth

From then on the server refreshes the access token by itself (Oura issues them for 30 days) and saves each new single-use refresh token. Run auth again only if you revoke access or the saved refresh token is lost.

VariableRequiredDefaultMeaning
OURA_CLIENT_IDyesClient ID of your Oura API application
OURA_CLIENT_SECRETyesClient secret of your Oura API application
OURA_TOKEN_FILEno~/.config/oura-ring-mcp/tokens.json (under $XDG_CONFIG_HOME if set)Where auth saves the tokens and the server reads them
OURA_TIMEZONEnothe machine's time zoneYour IANA time zone, e.g. Europe/London, so "today" matches Oura's days. Set it when running in Docker, where the default is UTC
OURA_REDIRECT_URInohttp://localhost:47651/callbackMust match a redirect URI of the application exactly
OURA_SCOPESnoemail personal daily heartrate workout session spo2 stressScopes to request

If the redirect URI isn't http://localhost: /... (or you're signing in over SSH or in Docker), auth asks you to paste the URL the browser ended up on instead; force that with auth --paste.

Run from PyPI

No clone needed; uv fetches and runs the published package:

OURA_CLIENT_ID=... OURA_CLIENT_SECRET=... uvx oura-ring-python-mcp auth   # once

uvx oura-ring-python-mcp

In a client config, use "command": "uvx", "args": ["oura-ring-python-mcp"].

Run with Docker

Sign in on the host first (above), then mount the token folder so the container can read the tokens and save refreshed ones. The server speaks MCP over stdio, so keep -i:

docker run -i --rm --user "$(id -u):$(id -g)" \

-e OURA_CLIENT_ID -e OURA_CLIENT_SECRET -e OURA_TIMEZONE=Europe/London \ -v ~/.config/oura-ring-mcp:/tokens \ ghcr.io/osjayaprakash/oura-ring-python-mcp:latest

The image reads the tokens from /tokens/tokens.json. --user lets the container read and update your token file on Linux; Docker Desktop on macOS and Windows doesn't need it. To sign in from the container instead, run it with -it and the command auth --paste.

In a client config, use "command": "docker" with those arguments, and pass the variables through the client's env block.

Claude Desktop

Add to claude_desktop_config.json:

{

"mcpServers": { "oura": { "command": "uv", "args": ["--directory", "/absolute/path/to/oura-ring-python-mcp", "run", "oura-ring-python-mcp"], "env": { "OURA_CLIENT_ID": "your-client-id", "OURA_CLIENT_SECRET": "your-client-secret" } } } }

Claude Code
claude mcp add oura \

-e OURA_CLIENT_ID=your-client-id \ -e OURA_CLIENT_SECRET=your-client-secret \ -- uv --directory /absolute/path/to/oura-ring-python-mcp run oura-ring-python-mcp

Langfuse tracing (optional)

Each tool call becomes a Langfuse trace, with a child span for each Oura API call. Install the extra and set the keys:

uv sync --extra langfuse

In the server command, use run --extra langfuse oura-ring-python-mcp instead of run oura-ring-python-mcp.

VariableMeaning
LANGFUSE_PUBLIC_KEY, LANGFUSE_SECRET_KEYTracing is on only when both are set
LANGFUSE_BASE_URLLangfuse URL for self-hosted or regional instances (default: Langfuse Cloud)
LANGFUSE_CAPTURE_DATAtrue to include tool inputs, outputs and error messages. Default false

Privacy: sleep, heart rate and activity data are health data. By default, traces hold only tool names, timings and error class names. Setting LANGFUSE_CAPTURE_DATA=true sends your data to your Langfuse instance; only do that with an instance you trust, such as a self-hosted one.

Development

uv sync

uv run pytest # offline suite uv run pytest -m live # hits the real API; needs auth first uv run ruff check src tests && uv run ruff format --check src tests

Releasing

Bump version in pyproject.toml and both versions in server.json (a test checks they match), commit, then push a tag:

git tag v0.1.0 && git push origin v0.1.0

The tag publishes to PyPI (pypi.yml, needs the PYPI_API_TOKEN secret), to ghcr.io/osjayaprakash/oura-ring-python-mcp (docker.yml), and then to the MCP Registry (mcp-registry.yml).

License

MIT

问 PopNx