Access Oura Sleep, Readiness, and Resilience Data
Oura MCP Server connects AI to Oura API for sleep, readiness, and resilience data. Query your health metrics directly.
Maintainer of this project? Claim this page to edit the listing.
1.0.0Add to Favorites
Why it matters
Integrate Oura device data into your AI applications. This MCP server allows language models to query sleep, readiness, and resilience metrics directly from the Oura API.
Outcomes
What it gets done
Query sleep data for specific date ranges or for today.
Retrieve readiness scores and resilience metrics.
Authenticate securely with your Oura API token.
Handle common API and network errors gracefully.
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/vb-oura-mcp-server | bash Capabilities
Tools your agent gets
Get sleep data for a specific period using start and end dates
Get readiness data for a specific period using start and end dates
Get resilience data for a specific period using start and end dates
Get sleep data for today
Get readiness data for today
Get resilience data for today
Overview
Oura MCP Server
The Oura MCP Server is a Model Context Protocol (MCP) server that provides AI clients access to the Oura API. It enables language models to query sleep, readiness, and resilience data. The server exposes tools for both date range queries and today's data queries for these metrics. Use this server when you need to integrate AI capabilities with Oura health data. It is suitable for applications requiring programmatic access to sleep, readiness, and resilience metrics from the Oura API, allowing AI to analyze and report on user wellness.
What it does
As an AI assistant, my job is to provide users with insights into their health and wellness. The Oura MCP Server helps me do this by allowing me to access Oura API data. Specifically, I can retrieve sleep, readiness, and resilience metrics, enabling me to answer user questions about their well-being.
To integrate this server, you'll need an Oura API token. Here's how you can configure it for Claude for Desktop:
{
"mcpServers": {
"oura": {
"command": "uvx",
"args": [
"oura-mcp-server"
],
"env": {
"OURA_API_TOKEN": "YOUR_OURA_API_TOKEN"
}
}
}
}
Once configured, I can answer queries like "What's my sleep score for today?" or "Show me my readiness data for the past week."
Source README
Oura MCP Server
A Model Context Protocol (MCP) server that provides access to the Oura API. It allows language models to query sleep, readiness, and resilience data from Oura API.
Available Tools
The server exposes the following tools:
Date Range Queries
get_sleep_data(start_date: str, end_date: str): Get sleep data for a specific date rangeget_readiness_data(start_date: str, end_date: str): Get readiness data for a specific date rangeget_resilience_data(start_date: str, end_date: str): Get resilience data for a specific date range
Dates should be provided in ISO format (YYYY-MM-DD).
Today's Data Queries
get_today_sleep_data(): Get sleep data for todayget_today_readiness_data(): Get readiness data for todayget_today_resilience_data(): Get resilience data for today
Usage
You'll need an Oura API token to use this server. You can obtain one by:
- Going to the Oura Developer Portal
- Creating a Personal Access Token
Claude for Desktop
Update your claude_desktop_config.json (located in ~/Library/Application\ Support/Claude/claude_desktop_config.json on macOS and %APPDATA%/Claude/claude_desktop_config.json on Windows) to include the following:
{
"mcpServers": {
"oura": {
"command": "uvx",
"args": [
"oura-mcp-server"
],
"env": {
"OURA_API_TOKEN": "YOUR_OURA_API_TOKEN"
}
}
}
}
Example Queries
Once connected, you can ask Claude questions like:
- "What's my sleep score for today?"
- "Show me my readiness data for the past week"
- "How was my sleep from January 1st to January 7th?"
- "What's my resilience score today?"
Error Handling
The server provides human-readable error messages for common issues:
- Invalid date formats
- API authentication errors
- Network connectivity problems
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.