EO

elizabethtrykin/oura-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

51 stars 30 forks 品質 53 トレンド 13

elizabethtrykin/oura-mcp は [https://github.com/elizabethtrykin/oura-mcp.] からインポートされた MCP サーバーの候補です

概要

elizabethtrykin/oura-mcp は [https://github.com/elizabethtrykin/oura-mcp.] からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

当社のリングデータにアクセスするためのモデルコンテキストプロトコル(MCP)サーバー。

セットアップ

前提条件

  • Node.js(v16+)
  • 私たちのアカウント

インストール

  1. リポジトリのクローン化
  2. 実行:

設定

##認証資格取得

  1. クラウドコンソールにログイン 2。 いずれかを取得します。
  • 個人アクセストークン(テスト用)
  • OAuth2 認証(生産用)

環境変数

.envファイルを作成します。

使用法

##テスト

例:[[T1]

##Claudeデスクトップの統合 Claude Desktop のコンフィグに追加 (Settings → Developer → Edit Config):

保存後にClaudeデスクトップを再起動します。 詳細は MCP ドキュメントを参照してください。

利用可能なリソース

  • [personal_info - ユーザープロフィール
  • [daily_activity - アクティビティの要約
  • [daily_readiness - 準備スコア
  • [daily_sleep - 睡眠の要約
  • [sleep - 詳細な睡眠データ
  • [sleep_time - スリープタイミング
  • [workout - ワークアウトデータ
  • [session - セッションデータ
  • [daily_spo2 - SpO2測定
  • [rest_mode_period - 残り期間
  • [ring_configuration - リング設定
  • [daily_stress - ストレスメトリック
  • [daily_resilience - レジリエンスメトリック
  • [daily_cardiovascular_age - CV年齢
  • [vO2_max - VO2最大データ

利用可能なツール

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

Oura MCP Server

A Model Context Protocol (MCP) server for accessing Oura Ring data.

Setup

Prerequisites

  • Node.js (v16+)
  • Oura account

Installation

  1. Clone the repository
  2. Run:
npm install
npm run build

Configuration

Obtaining Credentials

  1. Log in to Oura Cloud Console
  2. Get either:

Environment Variables

Create a .env file:

# Option 1: Personal Access Token
OURA_PERSONAL_ACCESS_TOKEN=your_token

# Option 2: OAuth2 credentials
OURA_CLIENT_ID=your_client_id
OURA_CLIENT_SECRET=your_client_secret
OURA_REDIRECT_URI=http://localhost:3000/callback

Usage

Testing

node test.js  

Example: node test.js get_daily_sleep 2023-05-01

Claude Desktop Integration

Add to Claude Desktop’s config (Settings → Developer → Edit Config):

{
    "mcpServers": {
        "oura": {
            "command": "node",
            "args": ["/absolute/path/to/oura-mcp/build/index.js"],
            "env": {"OURA_PERSONAL_ACCESS_TOKEN": "your_token"}
        }
    }
}

Restart Claude Desktop after saving. See MCP docs for details.

Available Resources

  • personal_info - User profile
  • daily_activity - Activity summaries
  • daily_readiness - Readiness scores
  • daily_sleep - Sleep summaries
  • sleep - Detailed sleep data
  • sleep_time - Sleep timing
  • workout - Workout data
  • session - Session data
  • daily_spo2 - SpO2 measurements
  • rest_mode_period - Rest periods
  • ring_configuration - Ring config
  • daily_stress - Stress metrics
  • daily_resilience - Resilience metrics
  • daily_cardiovascular_age - CV age
  • vO2_max - VO2 max data

Available Tools

For date-based resources, use tools like get_daily_sleep with startDate and endDate parameters (YYYY-MM-DD).

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "oura": { "command": "node", "args": ["/absolute/path/to/oura-mcp/build/index.js"], "env": {"OURA_PERSONAL_ACCESS_TOKEN": "your_token"} } } }