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 utilizing Claude AI for generating intelligent queries and offering documentation assistance based on API documentation analysis.
          Last updated -
          3
          2
          TypeScript
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that enables interaction with Snapshot.org, providing tools to query Snapshot spaces, proposals, and users through natural language.
          Last updated -
          5
          2
          TypeScript
          MIT License
          • Apple
        • A
          security
          A
          license
          A
          quality
          An enhanced Model Context Protocol server that enables AI assistants to interact with ClickUp workspaces, supporting task relationships, comments, checklists, and workspace management through natural language.
          Last updated -
          40
          605
          TypeScript
          MIT License
        • A
          security
          A
          license
          A
          quality
          An MCP (Model Context Protocol) server that integrates with the ArgoCD API, enabling AI assistants and large language models to manage ArgoCD applications and resources through natural language interactions.
          Last updated -
          10
          6
          Python
          MIT License
          • Linux
          • Apple

        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