A Model Context Protocol (MCP) server for accessing Oura Ring data.
The Oura Ring Data MCP Server is a tool designed to integrate Oura Ring health data with the Model Context Protocol (MCP). This server allows users to access and utilize their Oura Ring data programmatically, enabling integration with other applications and services.
bash
git clone https://github.com/elizabethtrykin/oura-mcp.git
bash
npm install
npm run build
Create a .env
file with the following content:
# Option 1: Personal Access Token
OURA_PERSONAL_ACCESS_TOKEN=your_token
# Option 2: OAuth2 credentials
OURA_CLIENT_ID=your_client_id
OURA_CLIENT_SECRET=your_client_secret
OURA_REDIRECT_URI=http://localhost:3000/callback
Run the test script with the desired tool and date:
node test.js <tool_name> <date>
Example:
node test.js get_daily_sleep 2023-05-01
Add the following configuration to Claude Desktop's settings (Settings → Developer → Edit Config):
{
"mcpServers": {
"oura": {
"command": "node",
"args": ["/absolute/path/to/oura-mcp/build/index.js"],
"env": {"OURA_PERSONAL_ACCESS_TOKEN": "your_token"}
}
}
}
Restart Claude Desktop after saving. Refer to the MCP docs for more details.
personal_info
- User profiledaily_activity
- Activity summariesdaily_readiness
- Readiness scoresdaily_sleep
- Sleep summariessleep
- Detailed sleep datasleep_time
- Sleep timingworkout
- Workout datasession
- Session datadaily_spo2
- SpO2 measurementsrest_mode_period
- Rest periodsring_configuration
- Ring configdaily_stress
- Stress metricsdaily_resilience
- Resilience metricsdaily_cardiovascular_age
- CV agevO2_max
- VO2 max dataFor date-based resources, use tools like get_daily_sleep
with startDate
and endDate
parameters (YYYY-MM-DD).
An MCP server for Oura Ring data.
No releases published.
No packages published.