Oura MCP 服务器
提供对 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 令牌才能使用此服务器。您可以通过以下方式获取:
- 前往Oura 开发者门户
- 创建个人访问令牌
克劳德桌面版
更新您的claude_desktop_config.json
(在 macOS 上位于~/Library/Application\ Support/Claude/claude_desktop_config.json
,在 Windows 上位于%APPDATA%/Claude/claude_desktop_config.json
)以包含以下内容:
示例查询
连接后,您可以向 Claude 询问以下问题:
- “我今天的睡眠分数是多少?”
- “显示我过去一周的准备情况数据”
- “我从 1 月 1 日到 1 月 7 日睡眠怎么样?”
- “我今天的韧性得分是多少?”
错误处理
服务器针对常见问题提供可读的错误消息:
- 无效的日期格式
- API 身份验证错误
- 网络连接问题
执照
该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。
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.
Tools
通过模型上下文协议 (MCP) 从 Oura API 查询睡眠、准备和恢复力数据,允许自然语言交互并与 Claude 等工具无缝集成。
Related Resources
Related MCP Servers
- -securityFlicense-qualityA 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 -8Python
- AsecurityFlicenseAqualityA 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 -1214JavaScript
- -securityFlicense-qualityA 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
- AsecurityAlicenseAqualityA 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 -281TypeScriptMIT License