Oura Ring MCP Server
Click on "Install 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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceProvides 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.Last updatedMIT
- Flicense-qualityDmaintenanceIntegrates Oura Ring health data with Claude Desktop, providing resources, tools, and advanced analytics for sleep, activity, readiness, and health trends.Last updated1
- 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.Last updated8MIT
- Alicense-qualityCmaintenanceEnables Claude to read your Whoop recovery, sleep, cycle, and workout data through natural language queries.Last updated428MIT
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…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/philipbrowne/oura-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server