by rajvirtual
An MCP server enabling AI assistants to access and analyze Oura Ring data for health insights.
oura-mcp-server is a Model Controller Protocol (MCP) server that allows AI assistants, specifically those like Claude, to securely access and analyze your Oura Ring health data. It provides a structured way to fetch, understand, and visualize your health metrics, bridging the gap between your wearable data and AI-driven insights.
To use oura-mcp-server, you need Node.js v18 or higher and an Oura Ring account with a Personal Access Token. After cloning the repository and installing dependencies, you'll configure your Oura API token in a .env
file. The server can then be built and started. Once running, AI assistants can interact with it to query and analyze your Oura Ring data. Example prompts demonstrate how to ask for sleep data analysis, correlation between meals and readiness, stress level comparisons, and data visualizations.
oura-mcp-server is ideal for:
Q: What are the prerequisites for running oura-mcp-server? A: You need Node.js v18 or higher and an Oura Ring account with a Personal Access Token.
Q: How do I get an Oura Personal Access Token? A: You can obtain one from the Oura Developer website after logging in with your Oura account.
Q: Can Claude visualize my health data? A: Yes, Claude can create visual charts by simply asking it to "visualize" or "create a chart" of specific metrics.
Q: How are duration fields and percentages handled in the data? A: All duration fields are in seconds and converted to hours/minutes for display. Sleep percentages are calculated using total_sleep_duration as the denominator, and sleep efficiency is calculated as (total_sleep_duration / time_in_bed * 100).
This server enables AI assistants to access and analyze your Oura Ring data through the Model Controller Protocol (MCP). It provides a structured way to fetch and understand your health metrics.
Clone the repository:
git clone https://github.com/yourusername/oura-mcp-server.git
cd oura-mcp-server
Install dependencies:
npm install
Create a .env
file in the root directory with your Oura API token:
OURA_TOKEN=your_personal_access_token_here
Build the project:
npm run build
Start the server:
npm start
.env
fileYou can ask Claude things like:
Claude can create visual charts to help you understand your health data. Simply ask Claude to "visualize" or "create a chart" of specific metrics. For example:
This server follows these key guidelines:
Contributions are welcome! Please feel free to submit a Pull Request.
Please log in to share your review and rating for this MCP.