ouramcp
MCP server by davidmosiah Community
Oura MCP is an unofficial MCP server that gives AI agents access to Oura Ring readiness, sleep, activity, SpO2 and heart-rate data. It is built for people who want their agent to review recovery and sleep without copying numbers from the Oura app.
Install ouramcp
Built from the published package, never by AI.
claude mcp add ouramcp -- npx -y oura-mcp-unofficialRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"ouramcp": {
"args": [
"-y",
"oura-mcp-unofficial"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"ouramcp": {
"args": [
"-y",
"oura-mcp-unofficial"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"ouramcp": {
"args": [
"-y",
"oura-mcp-unofficial"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add ouramcp -- npx -y oura-mcp-unofficial{
"mcpServers": {
"ouramcp": {
"args": [
"-y",
"oura-mcp-unofficial"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add ouramcp npx -y oura-mcp-unofficialGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the ouramcp block.
About
Oura MCP is an unofficial MCP server that connects AI assistants to Oura Ring readiness, sleep, activity, SpO2, HRV and heart-rate data. It handles the Oura OAuth flow locally, normalizes responses across endpoints and exposes the data through the Model Context Protocol. OAuth tokens are stored in a local file with 0600 permissions and are never returned by tools.
The server runs over stdio by default, with an optional loopback-only Streamable HTTP mode. A demo tool returns synthetic payloads so an agent can see the data shape before connecting an account. It is aimed at people who use Claude, Cursor, Hermes, OpenClaw or other MCP-compatible agents to think about readiness, sleep and recovery. The project states that it is not medical advice.
Written from the project's README and checked against it.
Tools it gives your assistant
oura_demoReturns realistic synthetic readiness, sleep and daily-summary payloads without an Oura account.oura_connection_statusVerifies local setup before the server calls Oura.oura_daily_summaryGives a readiness, sleep, activity and SpO2 brief for today.oura_weekly_summaryProvides a scorecard, comparison with the prior week and a next-week plan.oura_data_inventoryLists supported data domains, scopes, privacy modes and recommended first calls.oura_list_daily_readinessLists daily readiness records with cursor pagination and date filters.oura_list_daily_sleepLists daily sleep records with cursor pagination and date filters.oura_list_heartrateLists heart-rate records from the detailed collections.oura_get_personal_infoReturns profile data such as date of birth, sex, height and weight when the personal scope is granted.oura_revoke_accessRevokes the server's access to the Oura account.
What you need
- An Oura account
- An Oura app created at cloud.ouraring.com with redirect URI http://127.0.0.1:3000/callback
- Oura client ID and client secret
- Node.js 20+
| Setting | Needed | What it is |
|---|---|---|
OURA_Environment variable | Optional | Oura OAuth client ID. Optional when configured with oura-mcp-server setup. |
OURA_Environment variable, secret | Optional | 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_Environment variable | Optional | Redirect URI configured in the Oura Developer Dashboard. Optional when configured with oura-mcp-server setup. |
OURA_Environment variable | Optional | Optional local path for OAuth tokens. Defaults to ~/.oura-mcp/tokens.json. |
OURA_Environment variable | Optional | Optional payload mode: summary, structured, or raw. Defaults to structured. raw means full Oura API payloads, not continuous 24/7 raw sensor telemetry. |
OURA_Environment variable | Optional | Optional SQLite cache toggle. Set to true or sqlite to enable. |
OURA_Environment variable | Optional | Optional local SQLite cache path. Defaults to ~/.oura-mcp/cache.sqlite. |
OURA_Environment variable | Optional | 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. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Use oura_connection_status to check setup, then run oura_daily_summary.
- Call oura_weekly_summary and identify my biggest readiness or sleep bottleneck.
- Use the oura_daily_checkin prompt with focus=sleep.
Good to know
- Unofficial project, not affiliated with or endorsed by Oura Health Oy.
- Not medical advice. It exposes user-authorized data for personal AI workflows.
- Continuous sensor telemetry is not exposed by the Oura Cloud API.
- Authenticated responses are not cached in version 0.8.0.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to ouramcp
All alternatives →Standardizes lab test names to LOINC codes and units to UCUM, and symptoms and diagnoses to ICPC-3, offline and with no API key. Built for people who want their health records on their own machine and queryable by an AI agent over MCP.
RuView is a WiFi sensing platform and MCP server that uses low-cost ESP32 sensors to detect people, breathing and heart rate. It is for developers and operators who want room sensing without cameras or wearables.
ToolUniverse is an MCP server that gives AI assistants access to more than 2,700 scientific tools for life science, research and literature. It is aimed at AI scientists, researchers and developers building research systems.
Mirobody is a self-hosted engine that turns lab reports, wearable data and genetic files into a single health record. Its built-in MCP server lets an AI assistant query that record and trace each number back to its source file. It is for people who want their health data on their own machine.
ScanSci PDF gets academic papers for AI agents. Give it a DOI, arXiv ID, article link, reference list or research question, and it searches candidate sources and tries to fetch accessible full texts. It is for students, researchers and labs.
Searches CNKI and Web of Science through an MCP server, returning records with impact factors. It can also open a paper in the user's signed-in browser and read its full text. Built for researchers who want AI answers on science topics backed by the source article.
Compare with Mirobody, Ruview or tooluniverse
ouramcp: common questions
Is Oura MCP an official Oura product?
No. The project says it is unofficial and not affiliated with, endorsed by or supported by Ōura Health Oy. It should be used only with your own Oura account and under the Oura Cloud API terms.
Where are my Oura tokens stored?
OAuth tokens are stored in ~/.oura-mcp/tokens.json with 0600 permissions. The server states that tokens are never returned by tools and that the MCP client never sees them.
Can I try it without an Oura ring?
Yes. The oura_demo tool returns synthetic example payloads with is_demo set to true, so no Oura account is needed to see the data shape.
How do I install ouramcp?
In Claude Code run claude mcp add ouramcp -- npx -y oura-mcp-unofficial. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is ouramcp the official server?
ouramcp is a community project by davidmosiah, not verified by a company domain.
Is ouramcp free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is ouramcp safe to use?
It scores 74 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to ouramcp?
Similar MCP servers: Mirobody, Ruview, tooluniverse, Mirobody.
Does ouramcp work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
