
mitchhankins01/oura-ring-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
スマート分析ツールで当社のリングデータ用のMCPサーバー
概要
Oura RingをClaudeや他のAIアシスタントに接続するMCPサーバー。 生のJSONだけでなく、眠り、読みやすさ、活動に関する人読の洞察を得る。 - - - 時間/分、コンテキスト(「85 - Optimal」)のスコア - - 睡眠ステージ、効率、HRV、および生体測定 - - - 回復スコアとコントリビューターの故障 - ステップ、カロリー、および強度の故障 - 心拍数、SpO2、ストレス、心血管年齢 - 異常検知、相関、傾向分析 - 条件なしでメトリックを比較する 出力例を見る — Claudeが眠り、読みやすさ、週次要約、スマート分析のために返すもの npx で直接使用(インストール不要): 1。 cloud.ouraring.com/personal-access-tokens 2に移動します。新しいトークンを作成します。 3。 ClaudeデスクトップコンフィグでOURA ACCESS TOKENを設定してください(以下参照) 1。 Developer.ouraring.comでOAuthアプリを作成する - Redirect URIを[http://localhost:3000/callbackに設定する 2. auth の流れを実行します。: 3. 認証は ~/.oura-mcp/credentials に保存されます.
概要(AI 翻訳)
Oura RingをClaudeや他のAIアシスタントに接続するMCPサーバー。 生のJSONだけでなく、眠り、読みやすさ、活動に関する人読の洞察を得る。
##特徴
- スマートな書式 - 時間/分の時間、文脈(「85 - 最適」)のスコア -スリープ分析 - 睡眠ステージ、効率、HRV、および生体測定
- Readinessの追跡 - 回復スコアおよびコントリビューターの故障
- 活動データ - ステップ、カロリー、および強度の故障
- 健康メトリック - 心拍数、SpO2、ストレス、心血管年齢 -スマート分析 - 異常検知、相関、傾向分析
- タグのサポート - 条件なしのメトリックを比較
出力例を見る — Claudeが眠り、読みやすさ、週次要約、スマート分析のために返すもの
クイックスタート
##1. インストール
npx で直接使用(インストール不要):
##2.Ouraで認証する
オプションA:個人アクセストークン(シンプル)
1。 cloud.ouraring.com/personal-access-tokensに行く
2. 新しいトークンを作成する
3。 [OURA_ACCESS_TOKENをClaudeデスクトップコンフィグに設定します(以下を参照)
オプションB:OAuth CLI Flow
1。 Developer.ouraring.comでOAuthアプリを作成する
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Oura MCP Server
An MCP server that connects your Oura Ring to Claude and other AI assistants. Get human-readable insights about your sleep, readiness, and activity—not just raw JSON.
Features
- Smart formatting - Durations in hours/minutes, scores with context (“85 - Optimal”)
- Sleep analysis - Sleep stages, efficiency, HRV, and biometrics
- Readiness tracking - Recovery scores and contributor breakdown
- Activity data - Steps, calories, and intensity breakdown
- Health metrics - Heart rate, SpO2, stress, cardiovascular age
- Smart analysis - Anomaly detection, correlations, trend analysis
- Tags support - Compare metrics with/without conditions
See example outputs — what Claude returns for sleep, readiness, weekly summaries, and smart analysis
Quick Start
1. Install
npm install -g oura-ring-mcp
Or use directly with npx (no install needed):
npx oura-ring-mcp
2. Authenticate with Oura
Option A: Personal Access Token (simpler)
- Go to cloud.ouraring.com/personal-access-tokens
- Create a new token
- Set
OURA_ACCESS_TOKENin your Claude Desktop config (see below)
Option B: OAuth CLI Flow
- Create an OAuth app at developer.ouraring.com
- Set Redirect URI to
http://localhost:3000/callback
- Set Redirect URI to
- Run the auth flow:
export OURA_CLIENT_ID=your_client_id export OURA_CLIENT_SECRET=your_client_secret npx oura-ring-mcp auth - Credentials are saved to
~/.oura-mcp/credentials.json
3. Configure Claude Desktop
Add to claude_desktop_config.json:
With Personal Access Token:
{
"mcpServers": {
"oura": {
"command": "npx",
"args": ["oura-ring-mcp"],
"env": {
"OURA_ACCESS_TOKEN": "your_token_here"
}
}
}
}
With OAuth (after running npx oura-ring-mcp auth):
{
"mcpServers": {
"oura": {
"command": "npx",
"args": ["oura-ring-mcp"]
}
}
}
The server reads credentials from ~/.oura-mcp/credentials.json. To enable automatic token refresh, add your OAuth credentials:
{
"mcpServers": {
"oura": {
"command": "npx",
"args": ["oura-ring-mcp"],
"env": {
"OURA_CLIENT_ID": "your_client_id",
"OURA_CLIENT_SECRET": "your_client_secret"
}
}
}
}
Restart Claude Desktop. Requires Node >=18.
What Can I Ask?
Daily check-ins:
インストール
npx oura-ring-mcp設定
{
"mcpServers": {
"oura": {
"command": "npx",
"args": ["oura-ring-mcp"],
"env": {
"OURA_ACCESS_TOKEN": "your_token_here"
}
}
}
}