Oura Ring MCP Server
Enables access to Oura Ring health data including sleep patterns, activity metrics, readiness scores, heart rate, workouts, and stress measurements with AI-powered analysis and personalized recommendations.
README
Oura Ring MCP Server
A Model Context Protocol (MCP) server for accessing your Oura Ring health data including sleep, activity, readiness, heart rate, and workout information.
Built with Smithery SDK
Features
🔧 Tools
- get-personal-info: Retrieve your personal information (age, weight, height, biological sex)
- get-daily-sleep: Get daily sleep data with total sleep time, sleep stages, and efficiency
- get-daily-activity: Access daily activity metrics including steps, calories, and distance
- get-daily-readiness: Check readiness score, temperature deviation, and recovery indicators
- get-heart-rate: View heart rate measurements and HRV data
- get-workouts: Retrieve workout sessions with duration, intensity, and calories
- get-sleep-sessions: Get detailed sleep session data with stages and metrics
- get-daily-stress: Access daily stress measurements and recovery indicators
📚 Resources
- Oura API Documentation: Quick reference guide for the Oura API V2
💬 Prompts
- analyze-sleep: Get an AI-powered analysis of your recent sleep quality and patterns
- activity-summary: Receive a comprehensive summary of your recent activity
- readiness-check: Check your current readiness and recovery status with recommendations
Prerequisites
- Oura Ring Account: Create an account using the Oura iOS or Android app
- Personal Access Token: Generate one at https://cloud.ouraring.com/personal-access-tokens
Getting Started
-
Install dependencies:
npm install -
Start the development server:
npm run dev -
When prompted in the Smithery playground, enter your Oura Personal Access Token
Usage Examples
Get Sleep Data
Use the get-daily-sleep tool to fetch your sleep data:
Start date: 2024-01-01
End date: 2024-01-07
Analyze Sleep Quality
Use the analyze-sleep prompt:
Days: 7
This will fetch your last 7 days of sleep data and provide AI-powered insights.
Check Activity
Use the get-daily-activity tool to see your daily steps, calories, and activity score.
Check Readiness
Use the readiness-check prompt to get personalized recommendations based on your recovery status.
Configuration
The server requires one configuration parameter:
- accessToken (required): Your Oura Personal Access Token
When running locally, pass the token as a URL parameter:
http://127.0.0.1:8081/mcp?accessToken=YOUR_TOKEN_HERE
API Endpoints Used
This MCP server uses the Oura API V2 endpoints:
/v2/usercollection/personal_info- Personal information/v2/usercollection/daily_sleep- Daily sleep summaries/v2/usercollection/daily_activity- Daily activity summaries/v2/usercollection/daily_readiness- Daily readiness scores/v2/usercollection/heartrate- Heart rate measurements/v2/usercollection/workout- Workout sessions/v2/usercollection/sleep- Detailed sleep sessions/v2/usercollection/daily_stress- Daily stress data
Date Formats
- Dates: Use
YYYY-MM-DDformat (e.g.,2024-01-15) - Datetimes: Use ISO 8601 format (e.g.,
2024-01-15T10:30:00Z)
Development
Edit src/index.ts to add new tools, resources, or prompts. The server will automatically reload in development mode.
Project Structure
oura-ring-mcp-server/
├── src/
│ └── index.ts # MCP server implementation
├── package.json # Project dependencies
├── smithery.yaml # Runtime configuration
└── README.md # This file
Build
To build for production:
npm run build
This creates a bundled server in the .smithery/ directory.
Deploy
Ready to deploy? Push your code to GitHub and deploy to Smithery:
-
Create a new repository at github.com/new
-
Initialize git and push to GitHub:
git init git add . git commit -m "Initial commit: Oura Ring MCP Server" git branch -M main git remote add origin https://github.com/YOUR_USERNAME/YOUR_REPO.git git push -u origin main -
Deploy your server at smithery.ai/new
Troubleshooting
Authentication Errors
- Verify your Personal Access Token is correct
- Check that you haven't revoked the token at cloud.ouraring.com
- Ensure the token is passed correctly in the configuration
No Data Returned
- Make sure you're wearing your Oura Ring regularly
- Data syncs when you open the Oura mobile app
- Some data types may not be available depending on your ring model
Rate Limiting
The Oura API has rate limits. If you encounter rate limit errors, wait a few minutes before making more requests.
Learn More
License
ISC
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。