Skip to content
MCP server

Oura Ring

Sleep, readiness, HRV, resting heart rate, activity and stress from your Oura Ring

Install
Pricing
Open source
Runs
Locally or Remotely
Version
0.4.2
Listing updated
4 days ago

About Oura Ring

Oura Ring is an open-source MCP server. It can run locally on your machine or as a hosted remote server.

Install

Run in a terminal

claude mcp add oura-mcp --env OURA_CLIENT_SECRET='<OURA_CLIENT_SECRET>' -- uvx my-oura-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "oura-mcp": {
      "command": "uvx",
      "args": [
        "my-oura-mcp"
      ],
      "env": {
        "OURA_CLIENT_SECRET": "<OURA_CLIENT_SECRET>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "oura-mcp": {
      "command": "uvx",
      "args": [
        "my-oura-mcp"
      ],
      "env": {
        "OURA_CLIENT_SECRET": "<OURA_CLIENT_SECRET>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "oura-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "my-oura-mcp"
      ],
      "env": {
        "OURA_CLIENT_SECRET": "<OURA_CLIENT_SECRET>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "oura-mcp": {
      "command": "uvx",
      "args": [
        "my-oura-mcp"
      ],
      "env": {
        "OURA_CLIENT_SECRET": "<OURA_CLIENT_SECRET>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "oura-mcp": {
      "command": "uvx",
      "args": [
        "my-oura-mcp"
      ],
      "env": {
        "OURA_CLIENT_SECRET": "<OURA_CLIENT_SECRET>"
      }
    }
  }
}

Configuration

  • OURA_CLIENT_IDClient ID of your Oura application from developer.ouraring.com
  • OURA_CLIENT_SECRETClient secret of your Oura application
  • OURA_REDIRECT_URIOAuth redirect URI; must match the Oura application byte for byte
  • OURA_API_MODEsandbox for Oura's synthetic data (no auth needed), production for your own
  • OURA_TZIANA timezone deciding what counts as today. Set it explicitly on servers, whose clocks run in UTC
  • OURA_TOKEN_STOREWhere the OAuth flow stores tokens. Written by the server, not set by hand
  • OURA_PUBLIC_URLPublic https address, without a trailing slash. Enables OAuth 2.1 for Claude.ai and ChatGPT; leave empty for local or Bearer-token clients
  • OURA_OAUTH_ALLOWED_REDIRECT_ORIGINSComma-separated trusted OAuth redirect origins; defaults to Claude.ai and ChatGPT
  • OURA_MCP_TOKENShared secret guarding the HTTP endpoint. Required whenever the server binds to anything other than loopback; without it the server refuses to startRequired
  • OURA_PUBLIC_URLPublic https address, without a trailing slash. Enables OAuth 2.1 for Claude.ai and ChatGPT; leave empty for local or Bearer-token clients
  • OURA_OAUTH_ALLOWED_REDIRECT_ORIGINSComma-separated trusted OAuth redirect origins; defaults to Claude.ai and ChatGPT
  • OURA_CLIENT_IDClient ID of your Oura application from developer.ouraring.com
  • OURA_CLIENT_SECRETClient secret of your Oura application
  • OURA_TZIANA timezone deciding what counts as today. Container clocks run in UTC, so set this

Pricing

Open source

Oura Ring FAQ

Is Oura Ring free?

Yes. Oura Ring is open source, so you can use and self-host it for free.

How do I add Oura Ring to Claude Code?

Run this command in your terminal: claude mcp add oura-mcp --env OURA_CLIENT_SECRET='<OURA_CLIENT_SECRET>' -- uvx my-oura-mcp