Oura Ring MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Read sleep, readiness, activity, stress, heart rate and workouts from the Oura Ring.
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…
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides 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 gradedqualityDmaintenanceEnables 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.7 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables 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
- AlicenseAqualityBmaintenanceEnables users to access and query Oura ring health data, including sleep periods, readiness, activity, workouts, heart rate, stress, SpO2, resilience, and more, through Claude.ai or Claude Code using the Oura API v2 with OAuth 2.1 login.1928 npmMIT