oura-ring-mcp-server

v0.2.0
io.github.jordanburke/oura-ring-mcp-server Checked 4 days ago Published 4 months ago

Oura Ring MCP server for the Oura API v2: sleep, readiness, activity, heart rate, and more.

Values you need

VariableWhat it is
OURA_CLIENT_IDrequired Oura OAuth2 client ID (register an app at https://cloud.ouraring.com/oauth/applications, then run `oura-ring-mcp-server login` once to authorize)
OURA_CLIENT_SECRETrequired secret Oura OAuth2 client secret from the same application
OURA_SANDBOXoptional Use Oura's /sandbox/ demo data instead of real data (true/false, default false)
TRANSPORT_TYPEoptional Transport: 'stdio' (default) or 'httpStream' for remote/Docker deployments
PORToptional HTTP port for httpStream transport (default 3000)
HOSToptional HTTP host for httpStream transport (default 0.0.0.0)
OURA_TELEMETRY_FILEoptional Write NDJSON telemetry events to this file path (safe under any transport)
OURA_TELEMETRY_CONSOLEoptional Console telemetry under httpStream transport: true (default) or false

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add oura-ring-mcp-server -e 'OURA_CLIENT_ID=<OURA_CLIENT_ID>' -e 'OURA_CLIENT_SECRET=<OURA_CLIENT_SECRET>' -- npx -y oura-ring-mcp-server@0.2.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "oura-ring-mcp-server": {
      "args": [
        "-y",
        "oura-ring-mcp-server@0.2.0"
      ],
      "command": "npx",
      "env": {
        "OURA_CLIENT_ID": "<OURA_CLIENT_ID>",
        "OURA_CLIENT_SECRET": "<OURA_CLIENT_SECRET>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "oura-ring-mcp-server": {
      "args": [
        "-y",
        "oura-ring-mcp-server@0.2.0"
      ],
      "command": "npx",
      "env": {
        "OURA_CLIENT_ID": "<OURA_CLIENT_ID>",
        "OURA_CLIENT_SECRET": "<OURA_CLIENT_SECRET>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "OURA_CLIENT_ID",
      "id": "oura-client-id",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "OURA_CLIENT_SECRET",
      "id": "oura-client-secret",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "oura-ring-mcp-server": {
      "args": [
        "-y",
        "oura-ring-mcp-server@0.2.0"
      ],
      "command": "npx",
      "env": {
        "OURA_CLIENT_ID": "${input:oura-client-id}",
        "OURA_CLIENT_SECRET": "${input:oura-client-secret}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.oura-ring-mcp-server]
command = "npx"
args = ["-y", "oura-ring-mcp-server@0.2.0"]
env = { "OURA_CLIENT_ID" = "<OURA_CLIENT_ID>", "OURA_CLIENT_SECRET" = "<OURA_CLIENT_SECRET>" }

For AI agents

  1. Ask the user for: OURA_CLIENT_ID, OURA_CLIENT_SECRET. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: info, oura_data.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json