Overview
Oura MCP Server is a Model Context Protocol (MCP) server that provides access to the Oura API, allowing users to query sleep, readiness, and resilience data.
To use the Oura MCP Server, you need to obtain an Oura API token from the Oura Developer Portal and configure your application to connect to the server.
- Access to sleep, readiness, and resilience data from the Oura API. - Supports date range queries and today's data queries. - Provides human-readable error messages for common issues.
- Querying sleep scores for specific date ranges.
- Retrieving readiness data for today or the past week.
- Analyzing resilience scores over time.
Add to your AI client
Use these steps to connect Oura MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"oura-mcp-server-tomekkorbak": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-oura-mcp-server-tomekkorbak"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"oura-mcp-server-tomekkorbak": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-oura-mcp-server-tomekkorbak"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"oura-mcp-server-tomekkorbak": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-oura-mcp-server-tomekkorbak"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"oura-mcp-server-tomekkorbak": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-oura-mcp-server-tomekkorbak"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"oura-mcp-server-tomekkorbak": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-oura-mcp-server-tomekkorbak"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"oura-mcp-server-tomekkorbak": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-oura-mcp-server-tomekkorbak"
]
}
}
}FAQ
How do I obtain an Oura API token?
You can obtain an Oura API token by visiting the Oura Developer Portal and creating a Personal Access Token.
What kind of data can I access?
You can access sleep, readiness, and resilience data through the Oura API.
What formats are supported for date queries?
Dates should be provided in ISO format (YYYY-MM-DD).