Skip to main content
Glama
Oura MCP Server

Oura MCP Server

by YuzeHao2023

Oura MCP Server

简体中文 | English | 한국어

Python Package PyPI version License: MIT Python 3.12

A Model Context Protocol (MCP) server that provides access to the Oura API. It allows language models to query sleep, readiness, and resilience data from Oura API.

All Documents

Call for translators! We're looking for translators to help translate this spec for everyone!

Read our documentation in the following languages:

Language

Link

English

English

中文

中文

한국어

한국어

Related MCP server: Oura Ring MCP Server

Available Tools

The server exposes the following tools:

Date Range Queries

  • get_sleep_data(start_date: str, end_date: str): Get sleep data for a specific date range

  • get_readiness_data(start_date: str, end_date: str): Get readiness data for a specific date range

  • get_resilience_data(start_date: str, end_date: str): Get resilience data for a specific date range

Dates should be provided in ISO format (YYYY-MM-DD).

Today's Data Queries

  • get_today_sleep_data(): Get sleep data for today

  • get_today_readiness_data(): Get readiness data for today

  • get_today_resilience_data(): Get resilience data for today

Usage

You'll need an Oura API token to use this server. You can obtain one by:

  1. Going to the Oura Developer Portal

  2. Creating a Personal Access Token

Claude for Desktop

Update your claude_desktop_config.json (located in ~/Library/Application\ Support/Claude/claude_desktop_config.json on macOS and %APPDATA%/Claude/claude_desktop_config.json on Windows) to include the following

{
  "mcpServers": {
    "oura": {
      "command": "uvx",
      "args": ["oura-mcp-server"],
      "env": {
        "OURA_API_TOKEN": "YOUR_OURA_API_TOKEN"
      }
    }
  }
}

Example Queries

Once connected, you can ask Claude questions like:

  • "What's my sleep score for today?"

  • "Show me my readiness data for the past week"

  • "How was my sleep from January 1st to January 7th?"

  • "What's my resilience score today?"

Error Handling

The server provides human-readable error messages for common issues:

  • Invalid date formats

  • API authentication errors

  • Network connectivity problems

License

This project is licensed under the MIT License - see the LICENSE file for details.


Maintainer

Core Contributors

Available Tools

6 tools
get_readiness_dataB
Get readiness data for a specific date range.

Args:
    start_date: Start date in ISO format (YYYY-MM-DD)
    end_date: End date in ISO format (YYYY-MM-DD)

Returns:
    Dictionary containing readiness data

Inputs: start_date (required), end_date (required).

get_resilience_dataB
Get resilience data for a specific date range.

Args:
    start_date: Start date in ISO format (YYYY-MM-DD)
    end_date: End date in ISO format (YYYY-MM-DD)

Returns:
    Dictionary containing resilience data

Inputs: start_date (required), end_date (required).

get_sleep_dataB
Get sleep data for a specific date range.

Args:
    start_date: Start date in ISO format (YYYY-MM-DD)
    end_date: End date in ISO format (YYYY-MM-DD)

Returns:
    Dictionary containing sleep data

Inputs: start_date (required), end_date (required).

get_today_readiness_dataB
Get readiness data for today.

Returns:
    Dictionary containing readiness data for today

Inputs: no named parameters.

get_today_resilience_dataC
Get resilience data for today.

Returns:
    Dictionary containing resilience data for today

Inputs: no named parameters.

get_today_sleep_dataB
Get sleep data for today.

Returns:
    Dictionary containing sleep data for today

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 6 tools

    Disambiguation4/5

    The tools are clearly organized around three data types (readiness, resilience, sleep) with two temporal variants (date range vs. today), making them mostly distinct. However, the 'get_today_*' tools could be seen as overlapping with the date-range versions if an agent specifies today's date, though their dedicated purpose reduces confusion.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with 'get_' prefix, and the naming is systematic across data types and temporal variants (e.g., get_readiness_data, get_today_readiness_data). There are no deviations in style or convention.

    Tool Count5/5

    With 6 tools, this is well-scoped for an Oura data server, covering three key metrics with both historical and current-day access. Each tool serves a clear purpose without redundancy, fitting typical expectations for such a domain.

    Completeness4/5

    The server covers the core read operations for readiness, resilience, and sleep data with both date-range and today-specific queries, which is appropriate for a fitness/health tracking domain. A minor gap is the lack of write or update tools (e.g., to set goals or log activities), but as a read-only data retrieval surface, it is largely complete.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables AI assistants to access and analyze Oura Ring health data including sleep, readiness, activity, and stress metrics. Supports customizable queries, correlation analysis, and visualization capabilities for comprehensive health insights.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides LLMs with access to Oura Ring health data including sleep metrics, activity tracking, heart rate, readiness scores, and other wellness insights through the Oura API v2.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Provides read-only access to Oura ring biometrics via the Oura API, enabling Claude to query daily summaries, sleep, readiness, stress, workouts, baselines, and heart rate data. Designed to complement a Strava connector for joint analysis of training and recovery.
      8
      MIT