O

Oura Ring Python MCP

by osjayaprakash · io.github.osjayaprakash/oura-ring-python-mcp

Provides read-only access to Oura Ring health and activity data, including sleep, readiness, activity, stress, SpO2, resilience, workouts, sessions, and heart rate via the Oura API v2.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-osjayaprakash-oura-ring-python-mcp": {
      "command": "uvx",
      "args": [
        "oura-ring-python-mcp"
      ],
      "env": {
        "OURA_CLIENT_ID": "<VALUE>",
        "OURA_CLIENT_SECRET": "<YOUR_VALUE>",
        "OURA_TOKEN_FILE": "~/.config/oura-ring-mcp/tokens.json",
        "OURA_TIMEZONE": "<VALUE>",
        "OURA_SCOPES": "<VALUE>",
        "LANGFUSE_BASE_URL": "<VALUE>",
        "OURA_REDIRECT_URI": "<VALUE>",
        "LANGFUSE_PUBLIC_KEY": "<VALUE>",
        "LANGFUSE_SECRET_KEY": "<VALUE>",
        "LANGFUSE_CAPTURE_DATA": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-osjayaprakash-oura-ring-python-mcp": {
      "command": "uvx",
      "args": [
        "oura-ring-python-mcp"
      ],
      "env": {
        "OURA_CLIENT_ID": "<VALUE>",
        "OURA_CLIENT_SECRET": "<YOUR_VALUE>",
        "OURA_TOKEN_FILE": "~/.config/oura-ring-mcp/tokens.json",
        "OURA_TIMEZONE": "<VALUE>",
        "OURA_SCOPES": "<VALUE>",
        "LANGFUSE_BASE_URL": "<VALUE>",
        "OURA_REDIRECT_URI": "<VALUE>",
        "LANGFUSE_PUBLIC_KEY": "<VALUE>",
        "LANGFUSE_SECRET_KEY": "<VALUE>",
        "LANGFUSE_CAPTURE_DATA": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-osjayaprakash-oura-ring-python-mcp": {
      "command": "uvx",
      "args": [
        "oura-ring-python-mcp"
      ],
      "env": {
        "OURA_CLIENT_ID": "<VALUE>",
        "OURA_CLIENT_SECRET": "<YOUR_VALUE>",
        "OURA_TOKEN_FILE": "~/.config/oura-ring-mcp/tokens.json",
        "OURA_TIMEZONE": "<VALUE>",
        "OURA_SCOPES": "<VALUE>",
        "LANGFUSE_BASE_URL": "<VALUE>",
        "OURA_REDIRECT_URI": "<VALUE>",
        "LANGFUSE_PUBLIC_KEY": "<VALUE>",
        "LANGFUSE_SECRET_KEY": "<VALUE>",
        "LANGFUSE_CAPTURE_DATA": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-osjayaprakash-oura-ring-python-mcp": {
      "command": "uvx",
      "args": [
        "oura-ring-python-mcp"
      ],
      "env": {
        "OURA_CLIENT_ID": "<VALUE>",
        "OURA_CLIENT_SECRET": "<YOUR_VALUE>",
        "OURA_TOKEN_FILE": "~/.config/oura-ring-mcp/tokens.json",
        "OURA_TIMEZONE": "<VALUE>",
        "OURA_SCOPES": "<VALUE>",
        "LANGFUSE_BASE_URL": "<VALUE>",
        "OURA_REDIRECT_URI": "<VALUE>",
        "LANGFUSE_PUBLIC_KEY": "<VALUE>",
        "LANGFUSE_SECRET_KEY": "<VALUE>",
        "LANGFUSE_CAPTURE_DATA": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

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

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-osjayaprakash-oura-ring-python-mcp": {
      "command": "uvx",
      "args": [
        "oura-ring-python-mcp"
      ],
      "env": {
        "OURA_CLIENT_ID": "<VALUE>",
        "OURA_CLIENT_SECRET": "<YOUR_VALUE>",
        "OURA_TOKEN_FILE": "~/.config/oura-ring-mcp/tokens.json",
        "OURA_TIMEZONE": "<VALUE>",
        "OURA_SCOPES": "<VALUE>",
        "LANGFUSE_BASE_URL": "<VALUE>",
        "OURA_REDIRECT_URI": "<VALUE>",
        "LANGFUSE_PUBLIC_KEY": "<VALUE>",
        "LANGFUSE_SECRET_KEY": "<VALUE>",
        "LANGFUSE_CAPTURE_DATA": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-osjayaprakash-oura-ring-python-mcp": {
      "command": "uvx",
      "args": [
        "oura-ring-python-mcp"
      ],
      "env": {
        "OURA_CLIENT_ID": "<VALUE>",
        "OURA_CLIENT_SECRET": "<YOUR_VALUE>",
        "OURA_TOKEN_FILE": "~/.config/oura-ring-mcp/tokens.json",
        "OURA_TIMEZONE": "<VALUE>",
        "OURA_SCOPES": "<VALUE>",
        "LANGFUSE_BASE_URL": "<VALUE>",
        "OURA_REDIRECT_URI": "<VALUE>",
        "LANGFUSE_PUBLIC_KEY": "<VALUE>",
        "LANGFUSE_SECRET_KEY": "<VALUE>",
        "LANGFUSE_CAPTURE_DATA": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
OURA_CLIENT_ID Yes Client ID of your Oura API application (required).
OURA_CLIENT_SECRET secret Yes Client secret of your Oura API application (required).
OURA_TOKEN_FILE No Where `auth` saves the tokens and the server reads them. Default: `~/.config/oura-ring-mcp/tokens.json` (under `$XDG_CONFIG_HOME` if set). Default: ~/.config/oura-ring-mcp/tokens.json
OURA_TIMEZONE No Your IANA time zone (e.g., `Europe/London`) so 'today' matches Oura's days. Default: the machine's time zone (UTC in Docker).
OURA_SCOPES No Scopes to request. Default: `email personal daily heartrate workout session spo2 stress`.
LANGFUSE_BASE_URL No Langfuse URL for self-hosted or regional instances. Default: Langfuse Cloud.
OURA_REDIRECT_URI No Must match a redirect URI of the application exactly. Default: `http://localhost:47651/callback`.
LANGFUSE_PUBLIC_KEY No Langfuse public key. Tracing is on only when both LANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY are set.
LANGFUSE_SECRET_KEY No Langfuse secret key. Tracing is on only when both LANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY are set.
LANGFUSE_CAPTURE_DATA No Set to `true` to include tool inputs, outputs and error messages in Langfuse traces. Default: `false`.

Similar servers