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 utilizing Claude AI for generating intelligent queries and offering documentation assistance based on API documentation analysis.Last updated -32TypeScript
- AsecurityAlicenseAqualityA Model Context Protocol server that enables interaction with Snapshot.org, providing tools to query Snapshot spaces, proposals, and users through natural language.Last updated -52TypeScriptMIT License
- AsecurityAlicenseAqualityAn 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 -40605TypeScriptMIT License
- AsecurityAlicenseAqualityAn 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 -106PythonMIT License