Skip to main content

Oura MCP

io.github.proscar87/oura-mcp

v0.4.0Updated Sep 27, 2026stdio · PyPI

The Oura v2 API as an MCP server. Paginates, fixes the date range, warns when data is missing.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add oura-mcp -- uvx mcp-oura==0.4.0

Configuration

6 settings.

  • OURA_CLIENT_SECRET
    Env var· optional· secret
    client_secret of your Oura application. Only needed when running `oura-mcp --authorize` and when refreshing the token.
  • OURA_PAT
    Env var· optional· secret
    Oura Personal Access Token. Only if you already had one: Oura stopped issuing them in December 2025.
  • OURA_SANDBOX
    Env var· optional
    Set to 1 to use Oura's official synthetic data with no credentials. The recommended way to try the server before authenticating.
  • OURA_CLIENT_ID
    Env var· optional
    client_id of your Oura application, for OAuth2. Register one at https://cloud.ouraring.com/oauth/applications with the redirect http://localhost:9876/callback/ (the trailing slash is required).
  • OURA_CREDENTIALS
    Env var· optional
    Where the OAuth2 credentials file lives. Defaults to ~/.config/oura-mcp/credentials.json, mode 600.
  • OURA_PAT_FILE
    Env var· optional
    Path to a file holding the personal token. Preferable to OURA_PAT: an MCP server is registered in a JSON that gets backed up and shared when asking for help; a separate file rotates without touching the config.

Listed in the official MCP Registry since Sep 27, 2026. Mirrored daily; last checked Nov 26, 2026.