Oura Ring MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Oura Ring MCP ServerShow me my sleep data from last night"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Oura Ring MCP Server
An MCP (Model Context Protocol) server that provides Claude with access to the Oura Ring health data API. Access your sleep, activity, readiness, heart rate, and other health metrics through Claude.
Features
Sleep data — daily scores, detailed periods, HRV, sleep phases
Activity data — steps, calories, active time, scores
Readiness data — readiness scores, body temperature, contributors
Heart rate — continuous HR samples with source context
Stress & resilience — stress levels, recovery time, resilience
SpO2 — blood oxygen saturation data
Workouts & sessions — exercise tracking, meditation sessions
Sleep recommendations — optimal bedtime window
Related MCP server: Oura MCP Server
Setup
1. Get Oura API Credentials
Go to Oura Developer Portal
Create a new application
Note your Client ID and Client Secret
2. Install
# Clone the repository
git clone <repo-url>
cd oura-mcp-server
# Install in development mode
pip install -e ".[dev]"3. Configure
# Copy the example environment file
cp .env.example .env
# Edit with your credentials
# OURA_CLIENT_ID=your_client_id
# OURA_CLIENT_SECRET=your_client_secret4. Run
# Run with stdio transport (for local MCP clients)
oura-mcp
# Or run directly
python -m oura_mcp.serverAuthentication
The server uses OAuth2 Authorization Code flow. On first use:
Call
start_authenticationto get an authorization URLVisit the URL and authorize the application
Copy the authorization code
Call
complete_authenticationwith the code
Tokens are stored locally at ~/.config/oura-mcp/tokens.json and automatically refresh when expired.
Available Tools
Data Tools
Tool | Description |
| Daily sleep scores and contributors |
| Detailed sleep periods (HRV, phases, HR) |
| Optimal bedtime window |
| Steps, calories, active time, score |
| Readiness score and contributors |
| Stress/recovery time, day summary |
| Blood oxygen levels |
| HR samples with source context |
| Activity type, duration, calories |
| Meditation/rest/breathing sessions |
| User profile |
| Resilience level and contributors |
Auth Tools
Tool | Description |
| Check if account is connected |
| Start OAuth2 flow |
| Complete OAuth2 flow with code |
| Remove stored credentials |
Cloud Deployment (Railway)
For deploying as a remote MCP server:
# Set environment variables on Railway
OURA_CLIENT_ID=your_client_id
OURA_CLIENT_SECRET=your_client_secret
OURA_ACCESS_TOKEN=your_access_token
OURA_REFRESH_TOKEN=your_refresh_tokenThe server uses SSE transport when deployed to cloud. See cloud_server.py and Dockerfile.
Claude.ai Integration
Add to your Claude.ai MCP server configuration:
{
"mcpServers": {
"oura": {
"url": "https://your-deployment-url.railway.app/sse"
}
}
}Development
# Run tests
pytest
# Lint
ruff check .
# Format
ruff format .License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
Connect your Oura Ring account securely in minutes. Enable authorized access to your sleep, activi…
Connect your Oura Ring account and enable access to your wellness data in apps and automations. In…
Garmin data in Claude & ChatGPT via the Garmin Health API. OAuth sign-in, no password sharing.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides LLMs with access to Oura Ring health data including sleep metrics, activity tracking, heart rate, readiness scores, and other wellness insights through the Oura API v2.MIT
- AlicenseAqualityAmaintenanceProvides read-only access to Oura ring biometrics via the Oura API, enabling Claude to query daily summaries, sleep, readiness, stress, workouts, baselines, and heart rate data. Designed to complement a Strava connector for joint analysis of training and recovery.8MIT
- AlicenseNot gradedqualityCmaintenanceEnables Claude Desktop and Claude Code to access your personal Oura Ring health data—including sleep, readiness, activity, heart rate, and workouts—through local MCP tools.8MIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude to access and query personal Oura Ring health data, including activity, readiness, sleep, workouts, heart rate, stress, SpO2, sessions, and tags, via a self-hosted MCP server.MIT