Mirobody
Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.
제작자가 쓴 설명(영어 원문)
Sleep, readiness, HRV, resting heart rate, activity and stress from your Oura Ring
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
OURA_CLIENT_ID, OURA_CLIENT_SECRET, OURA_REDIRECT_URI, OURA_API_MODE, OURA_TZ, OURA_TOKEN_STORE, OURA_PUBLIC_URL, OURA_OAUTH_ALLOWED_REDIRECT_ORIGINS비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"oura": {
"command": "uvx",
"args": [
"my-oura-mcp"
],
"env": {
"OURA_CLIENT_ID": "your-value",
"OURA_CLIENT_SECRET": "your-value",
"OURA_REDIRECT_URI": "your-value",
"OURA_API_MODE": "your-value",
"OURA_TZ": "your-value",
"OURA_TOKEN_STORE": "your-value",
"OURA_PUBLIC_URL": "your-value",
"OURA_OAUTH_ALLOWED_REDIRECT_ORIGINS": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add oura --env OURA_CLIENT_ID=your-value --env OURA_CLIENT_SECRET=your-value --env OURA_REDIRECT_URI=your-value --env OURA_API_MODE=your-value --env OURA_TZ=your-value --env OURA_TOKEN_STORE=your-value --env OURA_PUBLIC_URL=your-value --env OURA_OAUTH_ALLOWED_REDIRECT_ORIGINS=your-value -- uvx my-oura-mcp실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"oura": {
"command": "uvx",
"args": [
"my-oura-mcp"
],
"env": {
"OURA_CLIENT_ID": "your-value",
"OURA_CLIENT_SECRET": "your-value",
"OURA_REDIRECT_URI": "your-value",
"OURA_API_MODE": "your-value",
"OURA_TZ": "your-value",
"OURA_TOKEN_STORE": "your-value",
"OURA_PUBLIC_URL": "your-value",
"OURA_OAUTH_ALLOWED_REDIRECT_ORIGINS": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"oura": {
"type": "stdio",
"command": "uvx",
"args": [
"my-oura-mcp"
],
"env": {
"OURA_CLIENT_ID": "your-value",
"OURA_CLIENT_SECRET": "your-value",
"OURA_REDIRECT_URI": "your-value",
"OURA_API_MODE": "your-value",
"OURA_TZ": "your-value",
"OURA_TOKEN_STORE": "your-value",
"OURA_PUBLIC_URL": "your-value",
"OURA_OAUTH_ALLOWED_REDIRECT_ORIGINS": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
OURA_CLIENT_ID envOURA_REDIRECT_URI envOURA_API_MODE envOURA_TZ envOURA_TOKEN_STORE envOURA_PUBLIC_URL envOURA_OAUTH_ALLOWED_REDIRECT_ORIGINS env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검
레지스트리 이름이 GitHub 계정 AntVsl 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
입력해야 할 값: OURA_CLIENT_SECRET
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.4.2)은 2개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Python (uv), Docker도 있어야 해요.
같은 카테고리에는: Mirobody, FHIR MCP Server, Google Health MCP
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.
MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications
Privacy-first unofficial Google Health API v4 MCP server for health, sleep, activity, HR agents
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
Gives Claude, ChatGPT, and Codex access to your Oura Ring data: sleep, readiness, HRV, resting heart rate, activity, SpO₂, stress.
Ask "how did I sleep last week" and your MCP client calls the right tool and gets a summary back — not a wall of JSON:
{
"metric": "sleep_detail", "period": { "start": "2026-07-23", "end": "2026-07-29", "days": 7 }, "stats": { "total_h": { "mean": 7.1, "min": 5.9, "max": 8.4 }, "deep_h": { "mean": 1.3, "min": 0.9, "max": 1.8 }, "avg_hrv": { "mean": 42, "min": 31, "max": 55, "trend_per_week": 1.8 }, "efficiency": { "mean": 88, "min": 82, "max": 93 } } }
New to MCP? Model Context Protocol lets AI clients reach external data.
Install this server, connect it once, then ask about your sleep in plain
language. No coding involved.
Works locally in Claude Code and Codex, and remotely in claude.ai and ChatGPT once it is deployed to a server of your own.
*Читать по-русски: README.ru.md*
raw=True away. A month of heart-rate data shrinks by more than 10×.stdio for local use, streamable-http for remote. A flag apart, not a rewrite.day field, and returns heart-rate timestamps in UTC. Both quietly lose or misplace data outside UTC. This server handles it — see Timezone handling.next_token pagination, retries dropped connections with exponential backoff, and turns HTTP status codes into messages that say what to fix.Requires uv. No Oura token needed for this part.
git clone https://github.com/AntVsl/oura_mcp && cd oura_mcp
cp .env.example .env uv sync
Check that data flows (hits Oura's sandbox, no auth required):
uv run python -m my_oura_mcp.smoke
Connect it locally — the server prints the commands with the absolute path already filled in, and writes nothing itself:
uv run my-oura-mcp install
Then ask your client for an Oura summary. The get_status tool reports which mode the server is in.
| Tool | Returns | Default range |
|---|---|---|
get_daily_summary | Sleep, readiness and activity scores at once | 7 days |
get_sleep | Sleep stages, efficiency, HRV, resting HR, breathing, temperature | 7 days |
get_sleep_score | Daily sleep score only — lighter than get_sleep | 7 days |
get_readiness | Readiness score, HRV balance, temperature deviation | 7 days |
get_activity | Activity score, steps, calories | 7 days |
get_heartrate | Per-minute heart rate collapsed to daily stats | 3 days |
get_spo2 | Blood oxygen during sleep, breathing disturbance index | 7 days |
get_stress | Time under load and in recovery | 7 days |
get_heart_health | Cardiovascular age, VO₂max | 30 days |
get_tags | Tags you entered in the Oura app | 30 days |
get_status | Server mode and authorization state | — |
Every data tool takes either days_back or an explicit start_date/end_date pair (YYYY-MM-DD), plus raw to get Oura's untouched response.
The sandbox returns synthetic data. For your own you need an Oura application and a one-time authorization — no review to pass, a fresh application works immediately.
| What to do | |
|---|---|
| 1 | Register an application at developer.ouraring.com |
| 2 | Put OURA_CLIENT_ID and OURA_CLIENT_SECRET into .env |
| 3 | uv run my-oura-mcp auth — opens a browser, stores tokens with mode 600 |
| 4 | Set OURA_API_MODE=production in .env |
When registering: Redirect URI is http://localhost:8765/callback, matched byte for byte. Scopes are daily, heartrate, tag, spo2, stress, heart_health. Everything else is arbitrary.
Tokens refresh themselves from there. Check with my-oura-mcp auth --status, forget them with auth --logout.
Personal Access Tokens no longer work: Oura stopped issuing them in December
2025.
Refresh tokens are single-use. Each refresh kills the old one, so two
instances sharing a token store knock each other out. The symptom is a
400
mentioning single use; the cure is re-running
authand keeping one instance.
Everything lives in .env (see .env.example). Secrets never reach git.
| Variable | Purpose |
|---|---|
OURA_CLIENT_ID / OURA_CLIENT_SECRET | Oura application credentials |
OURA_REDIRECT_URI | Must match the application exactly |
OURA_API_MODE | sandbox (synthetic data) or production |
OURA_TZ | Timezone deciding what "today" means. Set explicitly on servers |
OURA_MCP_TOKEN | Shared secret guarding the HTTP endpoint; also the consent-page password |
OURA_PUBLIC_URL | Public https address. When set, enables OAuth for Claude.ai and ChatGPT |
OURA_OAUTH_ALLOWED_REDIRECT_ORIGINS | Comma-separated OAuth client origins; defaults to Claude.ai and ChatGPT |
OURA_TOKEN_STORE | Where the OAuth flow writes tokens. Not set by hand |
OURA_CACHE_DB | SQLite cache file. An empty value disables caching |
One codebase, two transports: stdio next to a client on this machine, HTTP on a server so the web clients and your phone can reach it.
| Client | Command |
|---|---|
| Claude Code | claude mcp add --scope user oura -- uv --directory PATH run my-oura-mcp |
| Codex | codex mcp add oura -- uv --directory PATH run my-oura-mcp |
uv run my-oura-mcp install prints these with the absolute path already filled in. --scope user makes the server visible from any directory; without it, only from where the command ran. Verify with claude mcp list / codex mcp list.
Nothing is exposed and no network is involved. To debug the transport itself: uv run my-oura-mcp --transport http --port 8000 — no secret needed on loopback.
This is what makes the server reachable from any device, from Claude.ai and from ChatGPT. Step by step in [docs/DEPLOY.md](docs/DEPLOY.md) (Russian): how to let traffic in, how to move Oura authorization across, how to connect web clients.
| Client | How it connects |
|---|---|
| Claude.ai, ChatGPT | OAuth. No client ID or secret to enter — the client registers itself and the consent page asks for OURA_MCP_TOKEN |
| Claude Code | claude mcp add --scope user --transport http oura URL --header "Authorization: Bearer TOKEN" |
| Codex | codex mcp add oura --url URL --bearer-token-env-var OURA_MCP_TOKEN |
OURA_PUBLIC_URL turns OAuth on: the server becomes its own authorization server with dynamic client registration, restricted to https://claude.ai and https://chatgpt.com. Another client needs its exact origin in OURA_OAUTH_ALLOWED_REDIRECT_ORIGINS; the consent page names the client and its return origin before asking for the secret.
Two ways to expose it, and the choice is not cosmetic. Caddy is simpler, but its certificate lands in Certificate Transparency — a public log revealing that this address hosts a service. A Cloudflare Tunnel opens no inbound ports at all. If a VPN lives on the same host, only the tunnel will do.
| stdio, local | HTTP, on a server | |
|---|---|---|
| Claude Code and Codex on this machine | yes | yes |
| Other devices | no | yes |
| Claude.ai, ChatGPT, phone | no | yes, over OAuth |
| Needs a domain and a host | no | yes |
| Data leaves this machine | no | yes, to your server |
Keep exactly one live instance: Oura's refresh token is single-use, and two servers sharing a token store will knock each other out of authorization.
Three separate bugs came from Oura's date semantics, all of which lost data silently rather than raising an error. Worth knowing if you build against this API yourself:
day field Oura itself returns. At UTC+3 a night that starts after midnight lands in the previous UTC day: asking for 28..28 returns nothing while the record with day=28 plainly exists. The server widens the window and trims by day afterwards. Verified by sweeping every endpoint; the other six behave.OURA_TZ.long_sleep wins, or the longest one; naps are reported separately as naps_h so their HRV never averages with the night's..env, the token store and the cache are in .gitignore. Verify before committing: git status --porcelain.600) file permissions.OURA_MCP_TOKEN using a constant-time comparison. The access model is deliberately simple: one secret, one owner, no per-user separation.uv run my-oura-mcp --transport http --host 0.0.0.0./healthz is intentionally open — a reverse proxy needs it, and it returns nothing but ok.Authorization header from its logs.Older days go into SQLite. The two most recent completed days are rechecked on every request because late syncs can update them; older history is served from the cache without a network call.
uv run my-oura-mcp cache --status # what is cached
uv run my-oura-mcp cache --clear # forget it
Three things worth knowing. Today is never cached — Oura is still writing it. Empty days are not cached either: an empty day means either "did not wear the ring" or "has not synced yet", and the second resolves itself within hours, whereas a cached blank would last forever. The mode is part of the key, so sandbox data cannot surface in production.
Per-minute heart rate bypasses the cache: its rows carry no day field.
Clients that support resources can read oura://today, oura://yesterday, and oura://week. They provide the same sleep/readiness/activity summaries as the tools, without choosing arguments manually.
skills/oura ships a Claude-oriented skill — not more tools, but workflows on top of them: whether sleep is actually improving, whether today can take load, what the body was doing on a bad day, whether a change in routine did anything. Each is a sequence of calls plus a way to reason about the answer, which no single tool can express.
Install it by copying into your client's skills directory:
cp -r skills/oura ~/.claude/skills/
The recipes are checked against the code by tests: a field name that no tool returns fails uv run pytest instead of quietly sending the model nowhere.
Codex can also load these repository skills after copying them to its skills directory:
mkdir -p ~/.codex/skills앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요