
Oura Ring Mcp
io.github.mitchhankins01由 GitHub 账号 mitchhankins01 发布v0.1.4更新于 Oct 24, 2026
Connect your Oura Ring to Claude AI assistants. Health metrics with smart analysis tools.
概览
将 Oura Ring 账户接入 AI 助手,读取睡眠、准备度、活动与健康数据并做趋势分析。
- 可以做什么
- 获取睡眠、每日睡眠评分、准备度、活动、锻炼、冥想会话、心率、压力、血氧和标签数据
- 执行智能分析:异常检测、睡眠质量与睡眠债、指标相关性、周期与标签条件对比、最佳睡眠预测因素、HRV 趋势
- 读取今日、近一周、30 天基线、月度洞察和标签使用情况的摘要资源
- 使用内置提示词进行每周回顾、睡眠优化、恢复检查、周对比和标签分析
- 适用场景
- 适合希望助手用通俗语言解读自己 Oura 数据的场景:每日状态检查、恢复与训练决策、睡眠与 HRV 趋势,以及跨周或按标签条件的对比。
- 运行要求
- 以 npm 包形式通过 stdio 在本地运行(需 Node 18 及以上),也可自行远程部署。需要 Oura 账户,并在 OURA_ACCESS_TOKEN 中提供个人访问令牌,或使用 OURA_CLIENT_ID 与 OURA_CLIENT_SECRET 进行 OAuth;OAuth 凭据会保存在本地凭据文件中。
安装
在 SourceWeft 中
- 打开 控制台中的 Oura Ring Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Oura MCP Server
[npm version] [MCP Registry] [CI]
An MCP server that connects your Oura Ring to Claude and other AI assistants. Get human-readable insights about your sleep, readiness, and activity—not just raw JSON.
Features
[Demo]- Smart formatting - Durations in hours/minutes, scores with context ("85 - Optimal")
- Sleep analysis - Sleep stages, efficiency, HRV, and biometrics
- Readiness tracking - Recovery scores and contributor breakdown
- Activity data - Steps, calories, and intensity breakdown
- Health metrics - Heart rate, SpO2, stress, cardiovascular age
- Smart analysis - Anomaly detection, correlations, trend analysis
- Tags support - Compare metrics with/without conditions
See example outputs — what Claude returns for sleep, readiness, weekly summaries, and smart analysis
Quick Start
1. Install
Or use directly with npx (no install needed):
2. Authenticate with Oura
Option A: Personal Access Token (simpler)
- Go to cloud.ouraring.com/personal-access-tokens
- Create a new token
- Set
OURA_ACCESS_TOKENin your Claude Desktop config (see below)
Option B: OAuth CLI Flow
- Create an OAuth app at developer.ouraring.com
- Set Redirect URI to
http://localhost:3000/callback
- Set Redirect URI to
- Run the auth flow:
- Credentials are saved to
~/.oura-mcp/credentials.json
3. Configure Claude Desktop
Add to claude_desktop_config.json:
With Personal Access Token:
With OAuth (after running npx oura-ring-mcp auth):
The server reads credentials from ~/.oura-mcp/credentials.json. To enable automatic token refresh, add your OAuth credentials:
Restart Claude Desktop. Requires Node >=18.
What Can I Ask?
Daily check-ins:
- "How did I sleep last night?"
- "Am I recovered enough to work out today?"
- "What's my body telling me right now?"
Patterns & trends:
- "Do I sleep better on weekends?"
- "What time should I go to bed for optimal sleep?"
- "Is my HRV improving or declining?"
Correlations & insights:
- "Does alcohol affect my sleep quality?"
- "What predicts my best sleep nights?"
- "How does exercise timing affect my recovery?"
Comparisons:
- "Compare my sleep this week vs last week"
- "How do I sleep after meditation vs without?"
- "What changed when I started taking magnesium?"
Anomalies:
- "Are there any unusual readings in my data?"
- "Why was my readiness so low yesterday?"
- "Find days where my metrics were off"
Available Tools
Data Retrieval
Smart Analysis
Resources
Prompts
Remote Deployment (Railway)
Deploy the MCP server for remote access. The server proxies OAuth through Oura, so users authenticate directly with their Oura account — no PAT needed.
1. Create an Oura OAuth App
- Go to Oura OAuth Applications
- Create a new application
- Set the Redirect URI to:
https://your-app.railway.app/oauth/callback - Note the Client ID and Client Secret
2. Deploy
3. Set Environment Variables
In the Railway dashboard, add:
Railway automatically sets PORT and RAILWAY_PUBLIC_DOMAIN.
4. Connect from Claude.ai
Use the connector in Claude.ai:
- Go to Settings > MCP Connectors > Add
- Enter your server URL:
https://your-app.railway.app(without/mcp) - Leave OAuth Client ID and Secret empty (dynamic registration handles it)
- You'll be redirected to Oura to authorize access to your data
5. Connect from Claude Desktop
For Claude Desktop, use MCP_SECRET + OURA_ACCESS_TOKEN:
Local Testing
Contributing
See CLAUDE.md for architecture details and development guidelines.
License
MIT
来源:README.md,提交 347624e
工具
0版本历史
1- v0.1.4最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。