MCP directory
OM

Oura Mcp

by github.com/proscar87 · v0.4.0 · updated Sep 27, 2026

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

PyPI

Run it locally

Install the package and point your AI client at it.

PyPI

uvx mcp-oura==0.4.0

Environment variables

  • OURA_SANDBOX

    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

    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_CLIENT_SECRETsecret

    client_secret of your Oura application. Only needed when running `oura-mcp --authorize` and when refreshing the token.

  • OURA_CREDENTIALS

    Where the OAuth2 credentials file lives. Defaults to ~/.config/oura-mcp/credentials.json, mode 600.

  • OURA_PATsecret

    Oura Personal Access Token. Only if you already had one: Oura stopped issuing them in December 2025.

  • OURA_PAT_FILE

    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.

More MCP servers