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
License
This project is licensed under the MIT License - see the LICENSE file for details.
Recommend MCP Servers 💡
putio-mcp-server
An MCP server that enables interaction with put.io, allowing users to list, add, cancel, and retrieve browser links for file transfers.
mcp-aiven
Model Context Protocol server for Aiven
supabase-mcp-server
An open-source MCP server for Supabase that enables end-to-end management of Supabase via chat interface, supporting SQL query execution, Management API, Auth Admin SDK, and automatic migration versioning with built-in safety controls.
inspektor-gadget
AI-powered debugging and inspection for Kubernetes clusters using Inspektor Gadget.
@hardik-id/azure-resource-graph-mcp-server
Model Context Protocol (MCP) server that provides access to Azure Resource Graph queries. It allows you to retrieve information about Azure resources across your subscriptions using Resource Graph queries.
ocireg-mcp
An MCP (Model Context Protocol) server that provides tools for querying OCI registries and image references.