ouramcp

v0.4.6
io.github.davidmosiah/ouramcp Checked 4 hours ago Published 6 months ago

Privacy-first, unofficial Oura MCP server for AI health, sleep, activity and heart-rate agents.

Values you need

VariableWhat it is
OURA_CLIENT_IDoptional Oura OAuth client ID. Optional when configured with oura-mcp-server setup.
OURA_CLIENT_SECREToptional secret Oura OAuth client secret. Prefer oura-mcp-server setup so this secret is stored in ~/.oura-mcp/config.json instead of MCP client config.
OURA_REDIRECT_URIoptional Redirect URI configured in the Oura Developer Dashboard. Optional when configured with oura-mcp-server setup.
OURA_TOKEN_PATHoptional Optional local path for OAuth tokens. Defaults to ~/.oura-mcp/tokens.json.
OURA_PRIVACY_MODEoptional Optional payload mode: summary, structured, or raw. Defaults to structured. raw means full Oura API payloads, not continuous 24/7 raw sensor telemetry.
OURA_CACHEoptional Optional SQLite cache toggle. Set to true or sqlite to enable.
OURA_CACHE_PATHoptional Optional local SQLite cache path. Defaults to ~/.oura-mcp/cache.sqlite.
OURA_NO_CACHEoptional Set to true to bypass the in-memory HTTP response cache (60s TTL for GET only). POST/PUT/DELETE and 4xx/5xx responses are never cached regardless.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add ouramcp -- npx -y oura-mcp-unofficial@0.4.6
Add to claude_desktop_config.json
{
  "mcpServers": {
    "ouramcp": {
      "args": [
        "-y",
        "oura-mcp-unofficial@0.4.6"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "ouramcp": {
      "args": [
        "-y",
        "oura-mcp-unofficial@0.4.6"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "ouramcp": {
      "args": [
        "-y",
        "oura-mcp-unofficial@0.4.6"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.ouramcp]
command = "npx"
args = ["-y", "oura-mcp-unofficial@0.4.6"]

For AI agents

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: oura_data_inventory, oura_agent_manifest, oura_capabilities, oura_quickstart, oura_demo, oura_profile_get, oura_profile_update, oura_onboarding, ….
  4. 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