Oura MCP Server
Enables Claude and other MCP clients to access Oura Ring data, including daily activity, sleep, readiness, stress, and more, via a remote Streamable HTTP server.
README
Oura MCP Server
A remote Model Context Protocol (MCP) server for accessing Oura Ring data over Streamable HTTP.
This server is designed for deployment behind HTTPS, such as a self-hosted Coolify instance, so it can be added to Claude.ai as a Custom Connector. It uses the MCP TypeScript SDK's StreamableHTTPServerTransport, not stdio and not the legacy SSE transport.
Setup
Prerequisites
- Node.js 22+
- pnpm
- Oura account
Installation
- Clone the repository
- Run:
pnpm install
pnpm run build
Configuration
Environment Variables
Create a .env file for local development only:
PORT=3000
MCP_ALLOWED_HOSTS=oura-mcp.mydomain.com
OURA_PERSONAL_ACCESS_TOKEN=your_token
Do not commit .env or any real Oura token. In Coolify, set OURA_PERSONAL_ACCESS_TOKEN in the Resource environment variable UI.
You can also set MCP_ALLOWED_HOSTS to your connector hostname, for example oura-mcp.mydomain.com, to restrict accepted Host headers.
Obtaining An Oura Token
- Log in to Oura Cloud Console.
- Create a Personal Access Token at Personal Access Tokens.
- Store it only as
OURA_PERSONAL_ACCESS_TOKENin your deployment environment.
Local Usage
pnpm run build
PORT=3000 OURA_PERSONAL_ACCESS_TOKEN=placeholder pnpm start
The MCP endpoint is:
http://localhost:3000/mcp
Docker
Build and run locally:
docker build -t oura-mcp .
docker run --rm -p 3000:3000 -e OURA_PERSONAL_ACCESS_TOKEN=your_token oura-mcp
Coolify Deployment
- Push this repository to your GitHub account, or use Coolify's Public Repository option with your fork URL.
- In Coolify, create a new Project if needed.
- Add a new Resource.
- Choose your Git repository, or choose Public Repository and paste the repository URL.
- Select Dockerfile as the build pack.
- Confirm the Dockerfile path is
Dockerfile. - Set Port Exposes to
3000. - In Environment Variables, add:
Do not put the token in code,OURA_PERSONAL_ACCESS_TOKEN=<your Oura personal access token>.env.example, build arguments, or logs. - Optional but recommended: add
MCP_ALLOWED_HOSTSwith only the hostname from your FQDN, for example:MCP_ALLOWED_HOSTS=oura-mcp.mydomain.com - Set the Resource FQDN/domain field, for example:
https://oura-mcp.mydomain.com
- Deploy. Coolify will route HTTPS traffic to the container and provision a Let's Encrypt certificate for the FQDN.
Your final Claude Custom Connector URL should be:
https://oura-mcp.mydomain.com/mcp
MCP Handshake Check
After deployment, replace the URL below with your actual HTTPS FQDN:
curl -i https://oura-mcp.mydomain.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"curl-handshake","version":"1.0.0"}}}'
A healthy response returns HTTP 200, an mcp-session-id response header, and a JSON-RPC result containing the server info for oura-provider.
Available Resources
personal_info- User profiledaily_activity- Activity summariesdaily_readiness- Readiness scoresdaily_sleep- Sleep summariessleep- Detailed sleep datasleep_time- Sleep timingworkout- Workout datasession- Session datadaily_spo2- SpO2 measurementsrest_mode_period- Rest periodsring_configuration- Ring configdaily_stress- Stress metricsdaily_resilience- Resilience metricsdaily_cardiovascular_age- CV agevO2_max- VO2 max data
Available Tools
For date-based resources, use tools like get_daily_sleep with startDate and endDate parameters (YYYY-MM-DD).
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.