Skip to article
← All articles

Health & fitness · Connection guide

Oura MCP Servers: OAuth, Sleep, Readiness and HRV

Choose an Oura MCP server with current OAuth support. Compare community projects, sleep and readiness fields, token storage and checks for missing data.

Start with OAuth, then verify which sleep and recovery fields actually arrive.
AI-generated editorial cover
On this page

Oura MCP servers let compatible AI clients read your ring’s cloud records, but a new setup should use OAuth rather than personal access tokens. Choose by authentication and token storage first, then verify access to sleep sessions, readiness, HRV and temperature deviation.

Which Oura MCP server should you shortlist?

Your priorityProject to inspectSign-in and storageMaintenance snapshot, November 20, 2026
A local Python server with explicit read toolsrobcerda/oura-mcp-serverOAuth; session in system keyringSeptember 2026 default-branch commit; MIT; not archived
A Node setup wizard and generic API readsYasuakiOmokawa/oura-mcpOAuth; config and tokens under ~/.config/oura-mcp/May 2026 default-branch commit; MIT; not archived
Built-in analysis routines to inspect yourselfSchimmilab/oura-mcp-serverOAuth; token values in a local permission-restricted fileNovember 2026 default-branch commit; MIT; not archived
One assistant without operating a serverEligible native Health connection via Apple HealthiPhone permission flow; only exported categoriesCheck current assistant availability; not equivalent to full Oura API access

These are documentation-based candidates, not a security ranking or a tested performance league table. Maintenance dates refer to default-branch commits retrieved from GitHub, not directory crawl dates or release promises. A quiet project can work well; a recent commit can change only documentation. Inspect the selected revision and its authentication code before granting access.

For a comparison with other devices, start with the health workflow guide. This article focuses on the Oura API route because its proprietary scores and sleep-session fields can differ from what an intermediary health store receives.

Can you still use an Oura personal access token?

No, according to the current Oura API v2 documentation: personal access tokens were deprecated in December 2025 and are no longer available for use. This was checked November 20, 2026. Older MCP instructions that tell a new user to generate a PAT are therefore not a reliable starting point. An OAuth access token is a different credential, even though API requests also send it as a Bearer token.

Register an API application, implement the authorization flow, and grant the data categories you need. Follow Oura’s authentication documentation for the current endpoints and consent behavior. Match the redirect URI exactly to the chosen project. A browser approval followed by a failed callback does not establish that tokens were received or that data can be read.

A useful setup check reports granted scopes and token expiry without printing token values. If you later add a scope, reconnect and verify that the new category can actually be queried. Do not paste client secrets into a conversation or a shared repository. Token storage, renewal and revocation are operational requirements even for an app that only reads data.

Choose robcerda when you prefer explicit read tools and a keyring

robcerda/oura-mcp-server is a Python implementation with read-only tools for the Oura API. Its README documents browser OAuth performed from the terminal and session storage in the system keyring. That separates initial credential entry from a model conversation. Check that a usable keyring backend exists on the machine where the process will run; a headless server is not necessarily configured like a desktop.

The README’s checkout and login sequence is below. Install uv first, register the Oura application and use the callback URI documented by that revision. The login command opens the browser and asks for application details; the placeholders belong in that local flow, not in a prompt sent to an assistant:

git clone https://github.com/robcerda/oura-mcp-server.git
cd oura-mcp-server
uv sync --locked
uv run python login_setup.py

After authorization, add its documented command to a local Claude Code client. Replace the path with your checkout. A successful command registration is only the client setup step; your first bounded data query still needs to succeed:

claude mcp add oura -- uv run --locked --project /absolute/path/to/oura-mcp-server oura-mcp-server

Choose this route when you want named tools and a desktop credential store. A remote cloud assistant cannot directly launch this stdio process on your laptop. If you need remote access, select and review a deployment designed for that boundary. Do not turn a personal local process into a public endpoint simply to avoid configuring the appropriate client.

Choose YasuakiOmokawa when you want a Node configuration wizard

YasuakiOmokawa/oura-mcp documents OAuth and a setup wizard that collects the application details, opens authorization and writes the client configuration. It stores configuration and tokens under ~/.config/oura-mcp/ with restricted file permissions. The current README also documents generic endpoint discovery and GET requests, which suit someone comfortable checking API paths rather than selecting a dedicated tool for each metric.

npx @yasuakiomokawa/oura-mcp configure

Read the wizard’s proposed file changes before accepting them, especially on a machine used by several AI clients. The documented callback uses localhost and a project-specific port; register the exact URI shown in that README. Once configured, ask for authentication status, available paths and a short date range. Do not treat a successful package download as proof that your Oura account is authorized.

This is a good fit for a developer who wants a compact Node workflow. A permission-restricted JSON file is still a credential file, so keep it out of Git, shared folders, support bundles and broad backups. If you move the setup between machines, plan how token renewal will work instead of leaving competing copies running.

Treat built-in recovery analysis separately from Oura’s own fields

Schimmilab/oura-mcp-server documents OAuth, data-access tools and additional analysis routines. Its current instructions describe generating tokens locally and persisting them in a permission-restricted configuration file. It also documents serialized refreshes and atomic token replacement. Those are useful implementation details to inspect when several processes might use the same session.

There is a documentation discrepancy to resolve before following its tutorial: its README describes PAT deprecation differently from Oura’s current API documentation. Use Oura as the authority for provider policy and the repository for the software’s configuration. Do not repeat the README’s claim that existing PATs remain usable when the provider says they are no longer available for use.

Choose this project only if you want to examine its analysis logic as well as connect data. A locally calculated forecast or recovery interpretation is not the same object as an Oura readiness score. Ask the assistant to identify which values came from the API and which came from the server’s calculations. Clinical-sounding feature names do not establish clinical validity.

Which Oura endpoints contain sleep score, HRV and temperature?

Use the official v2 OpenAPI schema as the field reference; this mapping was checked November 20, 2026. A daily score and a sleep-session measurement answer different questions. Keeping their original date labels helps avoid matching the wrong night to a morning readiness value.

What you want to examineAPI collectionField to requestHow to read it
Daily readiness/v2/usercollection/daily_readinessscore, contributors, dayDaily assessment, not a direct HRV measurement
Daily sleep score/v2/usercollection/daily_sleepscore, contributors, daySummary score; inspect session records for details
HRV during recorded sleep/v2/usercollection/sleepaverage_hrv, hrv, daySession measurement; inspect coverage and nulls
Night-time temperature deviation/v2/usercollection/daily_readinesstemperature_deviationDeviation in degrees Celsius; not absolute body temperature
Sleep duration and timing/v2/usercollection/sleeptotal_sleep_duration, bedtime_start, bedtime_endDuration and timestamp fields; retain units and timezone
Timestamped heart-rate samples/v2/usercollection/heartratetimestamp, bpm, sourceA separate sample series, not the HRV field

Ask the server for the actual response schema and coverage before calculating trends. Some entries can be absent or null. A missing score does not mean the lowest possible readiness, and missing HRV does not mean no variability. Preserve the distinction between “not recorded,” “not shared,” and “request failed” wherever the source gives enough evidence to tell them apart.

For a comparison across wearables, keep each device’s metric definition. Similar labels do not make sampling windows or algorithms identical. Compare a device against its own recent baseline before combining it with another device’s measurements. The useful result is an inspectable trend with dates, rather than a single blended number whose origin is unclear.

Why is yesterday’s Oura data missing or incomplete?

Start by checking the Oura app, then authorization, then your server’s query window. The official API introduction notes that sleep delivery depends on opening the mobile app. A server can only retrieve records already available from Oura. When troubleshooting, ask for the newest source record, not simply the time your MCP process started.

  • Authentication errors: inspect session validity and renewal. A connection label can outlive a valid access token.
  • Permission errors: verify consent for that data type and any account access requirements reported by Oura. Do not assume every forbidden response has the same cause.
  • Partial history: check pagination and the server’s page limit. Report whether additional pages remain before presenting a long-range result as complete.
  • Shifted nights: preserve the source day and offset-bearing timestamps. Explain your local-day grouping rather than silently using the server timezone.
  • App and API disagreements: confirm that you queried the same record type and that an upstream correction has arrived. Preserve the source record identifier during reconciliation.

A useful acceptance check compares a known completed night in the Oura app with its daily sleep score, sleep session and readiness record returned through the server. Repeat after a later sync to verify that the process still reads new data. This guide does not claim to have performed that check on a live ring account.

When is an app connection or export a better choice?

Hosted MCP can avoid running a local process, but check the provider’s actual authorization flow. The usefulapi Oura setup page currently asks for a personal access token. That conflicts with Oura’s current authentication policy. We have not tested its runtime or inferred that the service is broken; ask the operator for a current supported OAuth route before treating the published steps as suitable for a new connection.

Use Oura’s own app when its existing charts answer the question. Use a selected export for an occasional review if you do not want to operate a server. Eligible ChatGPT Health users can access wearable information shared through Apple Health, but OpenAI explicitly notes that proprietary scores may not transfer. An Apple Health route should not be advertised as full Oura API equivalence.

SaveSlot’s Oura data-source page lists the source for sleep and daily recovery. Treat that as a route to inspect, without assuming a specific OAuth implementation, every v2 endpoint or a particular historical range. For a phone-mediated setup, see Apple Health MCP routes; for another wearable, see Garmin MCP options.

A shared record is useful when your weekly review combines device readings with your own notes and crosses assistants. It is extra work when you only use one app. The Fitness Log and personal health-record guide show ways to organize context without assuming that every source exports the same fields.

What can you ask about Oura sleep and readiness?

These example prompts describe analysis requests, not measured outcomes or medical advice. Replace relative periods with explicit dates when you need a reproducible report. First ask what exists, then ask what it might mean.

Show the latest available Oura day for sleep, readiness and sleep-session HRV. List missing fields and the date range actually queried.
Compare daily sleep scores across the last completed weeks. Show recorded-night counts and do not replace missing days with zero.
Show readiness score and its returned contributors for each day. Separate the source assessment from your interpretation.
Compare average_hrv from sleep sessions with my own recent baseline. Preserve separate sleep sessions and describe coverage.
List nights with temperature_deviation changes and the accompanying sleep and readiness records. Do not turn deviation into an absolute temperature or diagnosis.
Compare recorded bedtime timing with the next relevant readiness day. Explain how you match nights to dates before calculating an association.
Check whether all pages were retrieved for this date range. If not, label the analysis partial and say what is missing.
Prepare a weekly review with source dates, observed patterns, my travel notes and unanswered questions kept separate.

Oura MCP: common connection questions

Can I ask Claude questions about my Oura data?

Yes, with a compatible connection and your authorization. A local MCP server can expose Oura cloud records to a desktop or coding client. Start with a bounded read and compare it with the Oura app. A native Apple Health connection is another possible route, but it may carry fewer proprietary metrics.

Where do I get an Oura personal access token?

Do not start a new setup with a PAT tutorial. Oura’s current API documentation says personal access tokens were deprecated in December 2025 and are no longer available for use. Choose a project supporting OAuth, register an application and grant the required categories through the provider’s authorization flow.

Can ChatGPT read my Oura sleep score?

It depends on the connection and fields it exposes. A server reading the daily_sleep collection can return its score when authorized and available. A route through Apple Health may provide sleep records without the proprietary score. Ask the client to show the actual source field before assuming the two routes are equivalent.

Why do I have a sleep score but no HRV?

Daily sleep scores and HRV come from different response structures. Inspect the sleep-session record and average_hrv rather than assuming the daily score response contains it. Then check recording coverage and access. Preserve a null or absent value as unknown instead of calculating a misleading baseline from invented zeros.

Can the server tell whether I am getting sick?

It can help organize recorded changes and questions, but a ring-data connector does not establish a diagnosis. Keep temperature deviation, HRV, sleep scores and your own symptom notes separate. Additional prediction tools are interpretations that need their own validation; they should not be presented as measurements returned by Oura.

Is a free open-source server enough?

It can be enough for a technically comfortable user, but the software license is only one part of the setup. You still need an AI client, authorized Oura API access and a machine or hosting environment. Review maintenance, token renewal and data handling rather than treating “open source” as an operating-cost or privacy promise.

Sources & notes

Check the linked official documentation for current product behavior. Illustrations and downloadable examples use fictional data; they do not demonstrate a live account connection or write.

Revision history

  • : Published an OAuth-focused comparison checked against Oura API v2 and community repositories.

Prepared by Jasper with AI-assisted drafting and illustrations. Health content concerns record organization and has not undergone clinical review.

Keep exploring

All articlesLast updated