oura-ring-mcp-server
v0.2.0Oura Ring MCP server for the Oura API v2: sleep, readiness, activity, heart rate, and more.
Values you need
| Variable | What it is | |
|---|---|---|
OURA_CLIENT_ID | required | 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_SECRET | required secret | Oura OAuth2 client secret from the same application |
OURA_SANDBOX | optional | Use Oura's /sandbox/ demo data instead of real data (true/false, default false) |
TRANSPORT_TYPE | optional | Transport: 'stdio' (default) or 'httpStream' for remote/Docker deployments |
PORT | optional | HTTP port for httpStream transport (default 3000) |
HOST | optional | HTTP host for httpStream transport (default 0.0.0.0) |
OURA_TELEMETRY_FILE | optional | Write NDJSON telemetry events to this file path (safe under any transport) |
OURA_TELEMETRY_CONSOLE | optional | 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.0Add 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
- 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.
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: info, oura_data.
- 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