Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Read-only access to your Oura Ring readiness, sleep, activity, HRV, heart rate and trends.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 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/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"oura-ring": {
"command": "npx",
"args": [
"-y",
"@royreznik/oura-ring-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"oura-ring": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@royreznik/oura-ring-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 royreznik 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 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
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Five gates that make an agent's 'done' provable: run them, read the verdict, audit the record.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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.)
GET, refuses any URL outside /v2/usercollection/, never touches the webhook API, and every tool carries readOnlyHint: true. Tests fail the build otherwise.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.raw: true for Oura's original objects.unavailable instead of failing.0600 token file, and safe handling of Oura's single-use refresh tokens. No third-party servers, no telemetry.OURA_SANDBOX=1 serves Oura's public sample data.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.)
http://localhost:8787/callback.Applications work for up to 10 users without Oura's approval, which is plenty for personal use.
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.)
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."*
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.
| Tool | What it returns |
|---|---|
get_daily_overview | One 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_trends | Day-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_profile | Age, height, weight, sex, email; ring model, size, color, firmware; battery level |
list_daily_readiness | Readiness scores, contributors, temperature deviation |
list_daily_sleep | Sleep scores and contributors |
list_sleep_periods / get_sleep_period | Nights and naps: stages, latency, efficiency, HR, HRV, breathing; one night's hypnogram and HR/HRV curves |
list_daily_activity | Activity score, steps, calories, activity minutes, sedentary time |
list_workouts | Activity, intensity, duration, calories, distance (filterable by activity) |
list_sessions | Meditation/breathing/relaxation sessions with mood, HR and HRV |
list_daily_health | Stress, resilience, SpO2 and breathing disturbance, cardiovascular age, VO2 max, bedtime window, joined by day |
list_tags | Tags and notes from the Oura app (alcohol, caffeine, sickness, custom...) |
list_rest_mode_periods | Rest Mode periods and their symptom tags |
get_heart_rate | Heart-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.
| Variable | Default | Purpose |
|---|---|---|
OURA_CLIENT_ID | from token file | Your app's client ID (auth asks if unset) |
OURA_CLIENT_SECRET | from token file | Your app's client secret (auth asks, without echoing, if unset) |
OURA_REDIRECT_URI | http://localhost:8787/callback | Must exactly match a redirect URI registered on your app |
OURA_TOKEN_PATH | ~/.config/oura-ring-mcp/tokens.json | Where credentials are stored. Must be absolute (~/ is expanded). Honours XDG_CONFIG_HOME. |
OURA_SANDBOX | unset | 1 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.
api.ouraring.com (plus your browser visiting cloud.ouraring.com during auth). No telemetry, no intermediary server.0600). They are never logged or returned by tools.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.
state, captured by a loopback-only callback server.Retry-After), server errors, timeouts (30s) and network errors are retried with backoff. Cancelling a request in your client stops its Oura calls.| Symptom | Fix |
|---|---|
| Oura shows a redirect URI error | The app's redirect URI must match OURA_REDIRECT_URI exactly, including http://, port and /callback. |
Port 8787 is in use | Register another URI on your app (e.g. http://localhost:9876/callback) and run auth with OURA_REDIRECT_URI set to it. |
Not connected to Oura | Run auth. If your client runs as a different user or HOME, set OURA_TOKEN_PATH in the client config. |
Oura rejected the refresh token | Run 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 error | Update the Oura app on your phone and open it so it syncs. |
| Today's data is missing | Oura only has data after the ring syncs through the Oura app. Open the app, then ask again. |
npx -y @royreznik/oura-ring-mcp status
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.
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
只显示了开头部分;其余内容请在仓库中阅读