TO

tomekkorbak/oura-mcp-server

Deployment & DevOps

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

38 stars 11 forks 品質 57 トレンド 0MIT

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

概要

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

概要(AI 翻訳)

当社のAPIへのアクセスを提供するモデルコンテキストプロトコル(MCP)サーバー。 これにより、言語モデルは、 Oura API からスリープ、信頼性、およびレジリエンスデータをクエリすることができます。

利用可能なツール

サーバは、次のツールを公開します。

日付範囲クエリ

  • [get_resilience_data(start_date: str, end_date: str): 特定の日付範囲のレジリエンスデータを取得する

ISO 形式([YYYY-MM-DD)で日付を指定してください。

##今日のデータクエリ

使用法

このサーバーを使用するには、当社の API トークンが必要です。 以下のいずれかを取得できます。

  1. 開発者ポータルへ
  2. 個人アクセストークンの作成

##デスクトップ用クローデ

macOS と %APPDATA%/Claude/claude desktop config の [[~/Library/Application\ Support/Claude/claude_desktop_config.json に [[claude_desktop_config.json`]] (配置) を更新します.

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

README

Oura MCP Server

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.

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.

GitHub で README 全文を見る

インストール

uvx oura-mcp-server
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

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