Oura MCP Server
Oura MCP サーバー
Oura APIへのアクセスを提供するモデルコンテキストプロトコル(MCP)サーバー。言語モデルがOura APIから睡眠、準備状態、回復力に関するデータを照会できるようにします。
利用可能なツール
サーバーは次のツールを公開します。
日付範囲クエリ
get_sleep_data(start_date: str, end_date: str): 特定の日付範囲の睡眠データを取得するget_readiness_data(start_date: str, end_date: str): 特定の日付範囲の準備状況データを取得します。get_resilience_data(start_date: str, end_date: str): 特定の日付範囲のレジリエンスデータを取得します。
日付は ISO 形式 ( YYYY-MM-DD ) で指定する必要があります。
今日のデータクエリ
get_today_sleep_data(): 今日の睡眠データを取得するget_today_readiness_data(): 今日の準備状況データを取得するget_today_resilience_data(): 今日のレジリエンスデータを取得する
Related MCP server: Oura Ring MCP Server
使用法
このサーバーを利用するには、Oura APIトークンが必要です。以下の方法で取得できます。
個人アクセストークンの作成
デスクトップ版クロード
claude_desktop_config.json (macOS では~/Library/Application\ Support/Claude/claude_desktop_config.json 、Windows では%APPDATA%/Claude/claude_desktop_config.jsonにあります) を更新して、以下を追加します。
{
"mcpServers": {
"oura": {
"command": "uvx",
"args": [
"oura-mcp-server"
],
"env": {
"OURA_API_TOKEN": "YOUR_OURA_API_TOKEN"
}
}
}
}クエリの例
接続すると、次のような質問をクロードに尋ねることができます。
「今日の睡眠スコアは?」
「過去1週間の準備状況データを見せてください」
「1月1日から1月7日までの私の睡眠はどうでしたか?」
「今日の私のレジリエンススコアは?」
エラー処理
サーバーは、一般的な問題に関して人間が判読できるエラー メッセージを提供します。
無効な日付形式
API認証エラー
ネットワーク接続の問題
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。
Available Tools
6 toolsget_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
| Name | Required | Description | Default |
|---|---|---|---|
| start_date | Yes | ||
| end_date | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It states this is a 'Get' operation which implies read-only, but doesn't mention authentication requirements, rate limits, error conditions, or what 'readiness data' actually contains. The return format is vaguely described as a 'Dictionary' without structure details.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is efficiently structured with a clear purpose statement followed by well-organized Args and Returns sections. Every sentence serves a purpose with zero wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 2-parameter read operation with no output schema, the description covers the basic purpose and parameter formats adequately. However, it lacks details about what 'readiness data' contains, how results are structured, and doesn't differentiate from sibling tools, leaving gaps in contextual understanding.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds significant value beyond the schema, which has 0% description coverage. It specifies the date format (ISO format YYYY-MM-DD) and clarifies that these are start and end dates for a range. This compensates well for the schema's lack of descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with a specific verb ('Get') and resource ('readiness data'), and specifies a date range constraint. However, it doesn't differentiate from sibling tools like 'get_today_readiness_data' which presumably serves a similar purpose for today's data only.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'get_today_readiness_data' or other sibling tools. It mentions a date range but doesn't explain when date-range queries are appropriate versus single-day queries.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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
| Name | Required | Description | Default |
|---|---|---|---|
| start_date | Yes | ||
| end_date | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states this is a read operation ('Get'), but doesn't mention authentication requirements, rate limits, error conditions, or what 'resilience data' actually contains. The return format description ('Dictionary containing resilience data') is too vague to be helpful.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized and well-structured with clear sections (Args, Returns). Each sentence adds value, though the return description could be more specific. It's front-loaded with the core purpose statement.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (2 required parameters, no output schema, no annotations), the description is minimally adequate. It covers the basic purpose and parameters but lacks details about what resilience data includes, how results are structured, or behavioral constraints. The absence of output schema means the return description should be more informative.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds significant value beyond the input schema, which has 0% description coverage. It specifies that both parameters are dates in ISO format (YYYY-MM-DD), clarifies they're required, and explains their purpose (defining a date range). This fully compensates for the schema's lack of descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with a specific verb ('Get') and resource ('resilience data'), and specifies the date range scope. However, it doesn't differentiate from sibling tools like 'get_today_resilience_data' or explain what distinguishes resilience data from readiness or sleep data.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'get_today_resilience_data' (which presumably fetches today's data without date parameters) or other sibling tools. There's no mention of prerequisites, constraints, or comparative use cases.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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
| Name | Required | Description | Default |
|---|---|---|---|
| start_date | Yes | ||
| end_date | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It states the tool 'Get[s] sleep data' which implies a read-only operation, but doesn't disclose behavioral traits like authentication requirements, rate limits, data format details, or error handling. The description is minimal and doesn't add meaningful context beyond the basic operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized and front-loaded with the main purpose in the first sentence. The 'Args' and 'Returns' sections are structured but slightly redundant since the schema already defines parameters. Every sentence earns its place by clarifying parameter formats and return type, though it could be more concise by integrating information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (2 parameters, no annotations, no output schema), the description is minimally complete. It covers the purpose and parameters adequately but lacks details on return value structure, error cases, or integration with sibling tools. Without an output schema, the 'Returns' statement is vague ('Dictionary containing sleep data'), leaving gaps in understanding the response.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It provides clear semantics for both parameters: 'start_date' and 'end_date' are explained with format ('ISO format YYYY-MM-DD') and purpose. Since there are only 2 parameters and both are fully documented in the description, this effectively compensates for the schema gap. The baseline would be 3 with high coverage, but here the description adds significant value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with a specific verb ('Get') and resource ('sleep data'), and specifies the scope ('for a specific date range'). It distinguishes from siblings like 'get_today_sleep_data' by indicating date range capability rather than just today's data. However, it doesn't explicitly differentiate from other siblings like 'get_readiness_data' or 'get_resilience_data' beyond the resource type.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage context through the date range requirement, suggesting it's for historical data retrieval. It doesn't provide explicit guidance on when to use this tool versus alternatives like 'get_today_sleep_data' for current data, or when not to use it. The context is clear but lacks specific alternatives or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_today_readiness_dataB
Get readiness data for today.
Returns:
Dictionary containing readiness data for today
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool 'Returns: Dictionary containing readiness data for today,' which hints at output format but lacks details on data structure, error handling, rate limits, authentication needs, or side effects. For a tool with zero annotation coverage, this is insufficient.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and front-loaded, with the core purpose stated first ('Get readiness data for today.') and a brief return note. Both sentences earn their place by clarifying scope and output. However, it could be slightly more structured (e.g., separating usage notes).
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (0 parameters, no output schema, no annotations), the description is incomplete. It lacks context on data format, error cases, or how it differs from siblings. Without annotations or output schema, the description should provide more behavioral and usage details to be fully helpful.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has 0 parameters, and schema description coverage is 100% (though trivial). The description doesn't need to add parameter semantics, as there are none to explain. A baseline of 4 is appropriate for zero-parameter tools, as no compensation is required.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Get readiness data for today.' It specifies the verb ('Get') and resource ('readiness data') with temporal scope ('for today'). However, it doesn't explicitly differentiate from sibling tools like 'get_readiness_data' (which likely lacks the 'today' filter) or 'get_today_resilience_data' (which targets a different data type).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'get_readiness_data' (for broader date ranges) or 'get_today_resilience_data' (for different metrics), nor does it specify prerequisites, exclusions, or contextual triggers for usage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_today_resilience_dataC
Get resilience data for today.
Returns:
Dictionary containing resilience data for today
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It states the tool returns a dictionary but lacks details on behavioral traits such as data freshness, error handling, authentication needs, or rate limits. For a read operation with zero annotation coverage, this is inadequate.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is brief and front-loaded with the main purpose, but the 'Returns:' section is redundant as it restates the purpose without adding value. It could be more concise by omitting the second sentence or integrating it better.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations and no output schema, the description is incomplete. It lacks details on the return format (e.g., structure of the dictionary), error conditions, or dependencies. For a tool with siblings and no structured support, more context is needed to be fully helpful.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has 0 parameters with 100% schema description coverage, so no parameter information is needed. The description doesn't add param semantics beyond the schema, but since there are no parameters, a baseline of 4 is appropriate as it doesn't need to compensate for gaps.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('Get') and resource ('resilience data for today'), making the purpose understandable. It distinguishes from the sibling 'get_resilience_data' by specifying 'today', but doesn't explicitly differentiate from 'get_today_readiness_data' or 'get_today_sleep_data' beyond the resource type.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives like 'get_resilience_data' (which might fetch broader date ranges) or other 'today' tools for different data types. The description implies usage for today's resilience data but offers no explicit context or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_today_sleep_dataB
Get sleep data for today.
Returns:
Dictionary containing sleep data for today
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It states it 'Returns: Dictionary containing sleep data for today', which adds some behavioral context about the output format. However, it lacks details on error handling, data freshness, authentication needs, or rate limits, which are important for a data-fetching tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is very concise with two short sentences, front-loading the purpose and then specifying the return format. There's no wasted text, though the structure could be slightly improved by integrating the return info more seamlessly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (0 parameters, no output schema, no annotations), the description is minimally adequate. It covers the purpose and return format, but lacks context on data sources, update frequency, or error cases, which could help the agent use it more effectively.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has 0 parameters, and schema description coverage is 100%, so no parameter documentation is needed. The description doesn't add parameter info, but that's appropriate here. A baseline of 4 is applied as it adequately addresses the lack of parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('Get') and resource ('sleep data for today'), making the purpose immediately understandable. It distinguishes from the sibling 'get_sleep_data' by specifying 'today', though it doesn't explicitly contrast with other siblings like 'get_today_readiness_data'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. It doesn't mention its sibling tools (e.g., 'get_sleep_data' for other date ranges or 'get_today_readiness_data' for different data types), leaving the agent to infer usage context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
6 tool updates
- First observed
get_readiness_data - First observed
get_resilience_data - First observed
get_sleep_data - First observed
get_today_readiness_data - First observed
get_today_resilience_data - First observed
get_today_sleep_data
TDQS
Scored across 6 tools
The tools have clear distinctions between readiness, resilience, and sleep data types, but there is significant overlap between the 'get_X_data' and 'get_today_X_data' pairs. An agent might confuse which tool to use for today's data versus a date range, though the descriptions clarify the difference.
All tool names follow a consistent verb_noun pattern with 'get_' prefix and descriptive suffixes (e.g., 'get_readiness_data', 'get_today_sleep_data'). The naming is predictable and uniform across all six tools.
Six tools are reasonable for a health/fitness data server, covering three data types with both date-range and today-specific variants. It's slightly over-scoped as the 'today' tools could be handled by the date-range tools with default parameters, but it's still well within an appropriate range.
The server provides read-only access to readiness, resilience, and sleep data, which aligns with Oura's typical API capabilities. However, there are notable gaps: no tools for writing or updating data (e.g., setting goals or annotations), and no coverage of other Oura metrics like activity or heart rate, limiting the surface for comprehensive health tracking.
Maintenance
Related MCP Connectors
Read sleep, readiness, activity, stress, heart rate and workouts from the Oura Ring.
Multi-tenant hosted MCP server for Oura Ring — 21 read-only tools, OAuth per user.
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
Pace is a remote MCP server that exposes wearable and fitness data to Claude via the Model Context Protocol. It connects to Garmin, Oura, Whoop, Polar, Fitbit and 20+ devices and provides 15 tools for querying sleep, activity, recovery, and training data. Hosted on Google Cloud Run, OAuth 2.1 authentication, Streamable HTTP transport. Instructions: First you need to create an account at: https://pacetraining.co and connect your wearables. After that you can connect the remote Server via Custom Connector in Claude and OAuth 2.1 Flow startet.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides access to Oura Ring health data, including sleep, activity, readiness, and stress metrics via the Model Context Protocol. It enables users to query their personal biometric information and daily health summaries through natural language in MCP-compatible clients.1,439 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude to access and query Oura Ring health data including sleep, activity, readiness, heart rate, and more via the Oura API.MIT
- AlicenseBqualityDmaintenanceEnables users to query their Oura Ring data (sleep, readiness, activity, heart rate) via natural language through any MCP-compatible LLM.412 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude Desktop and Claude Code to access your personal Oura Ring health data—including sleep, readiness, activity, heart rate, and workouts—through local MCP tools.10 npmMIT