Oura Ring OAuth2 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 OAuth2 MCP Serverwhat was my sleep score 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 OAuth2 MCP Server
Complete Oura Ring integration with OAuth2 authentication and sleep data access using FastMCP and Smithery.
Setup
Install dependencies:
uv syncTest locally:
uv run playgroundMCP Tools
OAuth2 Authentication
get_auth_url- Get OAuth2 authorization URLexchange_code- Exchange code for access token (auto-stores token)parse_redirect_url- Parse redirect URL and auto-extract token (smoother UX)set_access_token- Manually set access token (backup method)
Sleep Data
get_sleep_last_night- Get sleep data from last nightget_sleep_last_week- Get sleep data from past week with average scoreget_sleep_by_date- Get sleep data for specific date (YYYY-MM-DD)
Usage
1. OAuth2 Authentication
Set session configuration with your Oura API credentials (
client_id,client_secret,redirect_uri)Call
get_auth_urlto get authorization URLVisit URL and authorize
Copy the entire redirect URL
Use
parse_redirect_urlwith the full URL (auto-extracts and stores token)
2. Access Sleep Data
Once authenticated, use any sleep data tool:
"What was my sleep score last night?"
"Show me my sleep data from the past week"
"Get my sleep data for 2024-10-01"
Session Configuration
Set these in Smithery dashboard:
client_id- Oura API client ID (required)client_secret- Oura API client secret (required)redirect_uri- OAuth2 redirect URI (default: http://localhost:8080/callback)access_token- Auto-populated after OAuth2 authentication
Deploy
Push to GitHub and deploy via Smithery dashboard.
Related MCP Connectors
Multi-tenant hosted MCP server for Oura Ring — 21 read-only tools, OAuth per user.
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
Your WHOOP data in the assistant, read-only: recovery, sleep, strain, workouts, cycles and body meas
Read wearables and lab health data — sleep, activity, workouts, timeseries, lab tests and orders.