
oura mcp
An MCP server for oura
Repository Info
About This Server
An MCP server for oura
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Oura MCP Server
A Model Context Protocol (MCP) server for accessing Oura Ring data.
Setup
Prerequisites
- Node.js (v16+)
- Oura account
Installation
- Clone the repository
- Run:
npm install
npm run build
Configuration
Obtaining Credentials
- Log in to Oura Cloud Console
- Get either:
- Personal Access Token (for testing)
- OAuth2 Credentials (for production)
Environment Variables
Create a .env file:
# 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
Usage
Testing
node test.js <tool_name> <date>
Example: node test.js get_daily_sleep 2023-05-01
Claude Desktop Integration
Add to Claude Desktop's config (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. See MCP docs for details.
Available Resources
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 data
Available Tools
For date-based resources, use tools like get_daily_sleep with startDate and endDate parameters (YYYY-MM-DD).
Quick Start
Clone the repository
git clone https://github.com/elizabethtrykin/oura-mcpInstall dependencies
cd oura-mcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.