Skip to main content
Glama

Oura MCP Server

by tomekkorbak

Oura MCP 服务器

Python 包

提供对 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() :获取今天的弹性数据

用法

您需要一个 Oura API 令牌才能使用此服务器。您可以通过以下方式获取:

  1. 前往Oura 开发者门户
  2. 创建个人访问令牌

克劳德桌面版

更新您的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" } } } }

示例查询

连接后,您可以向 Claude 询问以下问题:

  • “我今天的睡眠分数是多少?”
  • “显示我过去一周的准备情况数据”
  • “我从 1 月 1 日到 1 月 7 日睡眠怎么样?”
  • “我今天的韧性得分是多少?”

错误处理

服务器针对常见问题提供可读的错误消息:

  • 无效的日期格式
  • API 身份验证错误
  • 网络连接问题

执照

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

通过模型上下文协议 (MCP) 从 Oura API 查询睡眠、准备和恢复力数据,允许自然语言交互并与 Claude 等工具无缝集成。

  1. 可用工具
    1. 日期范围查询
    2. 今日数据查询
  2. 用法
    1. 克劳德桌面版
  3. 示例查询
    1. 错误处理
      1. 执照

        Related MCP Servers

        • -
          security
          F
          license
          -
          quality
          A Model Context Protocol server that provides language models with access to personal Whoop fitness data, allowing queries for cycles, recovery, strain, and workout information from the Whoop API.
          Last updated -
          8
          Python
          • Apple
        • A
          security
          F
          license
          A
          quality
          A Model Context Protocol (MCP) server that provides a simple sleep/wait tool, useful for adding delays between operations such as waiting between API calls or testing eventually consistent systems.
          Last updated -
          1
          2
          14
          JavaScript
        • -
          security
          F
          license
          -
          quality
          A generic Model Context Protocol framework for building AI-powered applications that provides standardized ways to create MCP servers and clients for integrating LLMs with support for Ollama and Supabase.
          Last updated -
          TypeScript
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol (MCP) server that connects GraphDB's SPARQL endpoints and Ollama models to Claude, enabling Claude to query and manipulate ontology data while leveraging various AI models.
          Last updated -
          28
          1
          TypeScript
          MIT License
          • Apple
          • Linux

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/tomekkorbak/oura-mcp-server'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server