Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者による説明(英語の原文)
The Oura v2 API as an MCP server. Paginates, fixes the date range, warns when data is missing.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
OURA_SANDBOX, OURA_CLIENT_ID, OURA_CLIENT_SECRET, OURA_CREDENTIALS, OURA_PAT, OURA_PAT_FILE「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"oura": {
"command": "uvx",
"args": [
"mcp-oura"
],
"env": {
"OURA_SANDBOX": "your-value",
"OURA_CLIENT_ID": "your-value",
"OURA_CLIENT_SECRET": "your-value",
"OURA_CREDENTIALS": "your-value",
"OURA_PAT": "your-value",
"OURA_PAT_FILE": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add oura --env OURA_SANDBOX=your-value --env OURA_CLIENT_ID=your-value --env OURA_CLIENT_SECRET=your-value --env OURA_CREDENTIALS=your-value --env OURA_PAT=your-value --env OURA_PAT_FILE=your-value -- uvx mcp-oura動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"oura": {
"command": "uvx",
"args": [
"mcp-oura"
],
"env": {
"OURA_SANDBOX": "your-value",
"OURA_CLIENT_ID": "your-value",
"OURA_CLIENT_SECRET": "your-value",
"OURA_CREDENTIALS": "your-value",
"OURA_PAT": "your-value",
"OURA_PAT_FILE": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"oura": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-oura"
],
"env": {
"OURA_SANDBOX": "your-value",
"OURA_CLIENT_ID": "your-value",
"OURA_CLIENT_SECRET": "your-value",
"OURA_CREDENTIALS": "your-value",
"OURA_PAT": "your-value",
"OURA_PAT_FILE": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
OURA_SANDBOX envOURA_CLIENT_ID envOURA_CREDENTIALS envOURA_PAT_FILE envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント proscar87 で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:OURA_CLIENT_SECRET, OURA_PAT
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.4.0)がレジストリに届いたのは41 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
同じカテゴリには:Spec Driven Development, Remote Desktop Commander, Date Math
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Date/time math for agents: business days, holidays, time zones, cron, RRULE. 25 free calls/day.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
English | 简体中文 | 한국어 | Español
The Oura v2 API as an MCP server. All 19 collections, six tools, no dependencies beyond the MCP SDK.
A client that doesn't follow Oura's next_token returns 1,000 of them — 81%, looking complete, with nothing saying otherwise. Measured against the real API on 9 August 2026, one person, one ring, 24 hours.
The test to apply to any Oura MCP server, including this one: does it take next_token — or a cursor, or a limit — as a tool parameter? If it does, pagination is the model's job, and a model that forgets to ask again produces a confident answer off partial data. This server paginates to exhaustion before it returns, and tells you how many pages it took.
That's one of four ways Oura under-delivers without saying so. All four are measured below, and all four are corrected here.
Download `oura-mcp.mcpb` from the latest release and double-click it. Claude Desktop does the rest — no terminal, no Python, no Node. It runs on Oura's official sample data out of the box, and every sample response says so, so nothing can pass for your own sleep.
Prefer the command line? uvx --from mcp-oura oura-mcp.
Prefer no Python on your machine at all?
docker run -i --rm -e OURA_SANDBOX=1 ghcr.io/proscar87/oura-mcp
-i is not optional: an MCP server speaks over stdin and stdout, not over a port. Without it the container has no stdin, the handshake never arrives, and the client reports a server that doesn't show up.
In claude.ai or ChatGPT, in a browser? Those connect by URL, so the server has to live somewhere public: deploy it as a Worker on your own Cloudflare account — free, about ten minutes, yours alone. See Remote: claude.ai and ChatGPT.
Oura does not return errors when it can't give you what you asked for. It returns something different, shaped like a correct response. These are the four we found by measuring against the real API on 9 August 2026:
{ "data": [ ... ], "next_token": "eyJ0eXAiOi..." }
If next_token comes back and you don't follow it, you receive the first page and nothing warns you. One local day of heartrate — one person, one ring, 24 hours — is 1,231 samples across 2 pages. A client that doesn't paginate gets 1,000 of 1,231: 81%, looking complete. A month is ~37,000.
end_date does not behave the same across collections:
| Exclude the last day requested | Include it |
|---|---|
daily_activity, sleep, workout | daily_sleep, daily_readiness, daily_stress, daily_spo2, daily_resilience, daily_cardiovascular_age, sleep_time |
And on top of that, `workout` filters by UTC date while reporting `day` in local time: at -06:00, asking for July 16–18 returned records from the 15th and 16th — *before* the requested start.
Here the range is inclusive on both ends, always. Two extra days are requested on each side and then trimmed, which is correct whichever way a given collection behaves — and stays correct when Oura changes it.
latest=true is ignored where it doesn't applyOnly heartrate and ring_battery_level honor it. In the other seventeen Oura doesn't error: it returns the entire collection. You ask for the latest record, you get ten, and you believe it's one. Here it's rejected before the request goes out.
fields=does_not_exist returns the complete record — the projection never happens — and fields=score,does_not_exist applies the good one and drops the bad one without a word. Here, fields that never appeared are reported under ignored_fields.
The pattern is always the same: you ask for one thing, you get another, and nothing warns you. That's why this package would rather shout than quietly under-deliver.
pip install mcp-oura
OURA_SANDBOX=1 oura-mcp --check
The sandbox is official — it's in Oura's OpenAPI spec, with 34 mirror routes — and serves synthetic data without authentication. 18 of the 19 collections work there: personal_info doesn't, which makes sense, since it's the one returning email, age, weight and height.
This is the right order: first you watch the server work and learn the shape of the data, then you go get credentials.
Oura stopped issuing Personal Access Tokens in December 2025. Existing ones still work; new ones can't be created. So there are two paths:
a) OAuth2 — the one that works today. Register an application at cloud.ouraring.com/oauth/applications with the redirect http://localhost:9876/callback/ — the trailing slash is required, the portal rejects the other form with invalid_redirect_uri.
If you registered on `developer.ouraring.com` instead, your app belongs to
Oura's newer portal, whose token endpoint is a different one. The legacy
endpoint rejects those apps on every refresh — so the registration works
exactly once, until the first access token expires, and then fails forever
with nothing explaining why. This server tries the legacy endpoint and falls
back to the new one automatically; nothing to configure either way.
export OURA_CLIENT_ID="…"
export OURA_CLIENT_SECRET="…" oura-mcp --authorize # opens the browser, waits for the callback oura-mcp --authorize --manual # headless machines: you paste the URL back
The token is stored in ~/.config/oura-mcp/credenciales.json with mode 600 — or in the system keychain if you happen to have keyring installed, which is not a dependency of this package — and refreshes itself. oura-mcp --forget erases it.
b) A personal token, if you already had one.
export OURA_PAT="your-token"
oura-mcp --check
--check is the self-check: it reports which credential you're using, which scopes were granted and how long the access has left, without returning the token or a single health value. It reports the token's length, never the token. Error messages get copied and pasted into chats and issues; they have no business carrying anything else.
With the package installed (pip install mcp-oura):
claude mcp add -s user oura --env OURA_SANDBOX=1 -- oura-mcp
Drop OURA_SANDBOX once you've run oura-mcp --authorize.
If you use [uv](https://docs.astral.sh/uv/), nothing needs to be installed permanently:
claude mcp add -s user oura --env OURA_SANDBOX=1 -- uvx --from mcp-oura oura-mcp
The --from is required because the distribution is named mcp-oura and the executable oura-mcp. *(This needs uv; without it the command above fails with "command not found", and pip install is the path to take.)*
As a Claude Code plugin:
claude plugin marketplace add proscar87/oura-mcp
claude plugin install oura@oura-mcp
One click: download oura-mcp.mcpb from the releases page and double-click it. Claude Desktop installs it — no terminal, no JSON, no Python. It ships with sample data turned on, so it works before you have any credential at all.
When you want your own data, just ask it for something: it opens Oura's authorization page through Claude, waits for the callback, and retries what you asked. No terminal. That works because MCP has a mode for precisely this — URL elicitation — and the client does the opening.
The one thing Oura still requires is that every application be registered, so you need a client ID and secret from cloud.ouraring.com/oauth/applications once. That's Oura's rule, not this server's. oura-mcp --authorize remains for terminal users and for clients that can't show a URL.
Or by hand, in ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": { "oura": { "command": "/full/path/to/oura-mcp", "env": { "OURA_SANDBOX": "1" } } } }
which oura-mcp gives you the full path. Claude Desktop does not inherit your terminal's PATH, so a bare name there fails silently — one of the most common mistakes when configuring an MCP server.
Experimental. Tested end to end on Cloudflare's real runtime with Oura's
sample data, and its Oura login against a fake of Oura — but not yet against
a real deployment, a real Oura account, or claude.ai and ChatGPT completing
the connection. If you try it, an issue saying how it went helps.
claude.ai reaches a connector from Anthropic's cloud and ChatGPT from OpenAI's, not from your computer — so a server on your machine is invisible to both. ts/worker is the same server as a Cloudflare Worker that you deploy on your own account, for your own Oura account only. Nobody runs a shared instance, so your tokens and your data pass through no one else.
It adds three things the local server does not need: its own consent page, which shows which app is asking and where the result will go; a check, after Oura's login, that the account is the one you configured — anyone else is turned away, and with no owner configured nobody gets in; and a single place where Oura's single-use refresh token is renewed, one request at a time.
Deployment, step by step, and exactly what has and has not been verified: ts/worker/README.md.
oura_collections | All 19, what each one carries and which parameters it takes |
oura_query | One collection in full over a range, paginating to the end |
oura_today | Last night's sleep and today's readiness, with the days before them |
oura_compare | Whether two periods differ by more than the metric's own noise |
oura_relate | Whether two metrics' day-to-day changes move together beyond chance |
oura_check | Self-check that exposes nothing |
Six, not nineteen. A server with one tool per collection forces the model to pick among 19 similar names before knowing what any of them contain. Here the collection is a parameter and the catalog is consulted when needed.
All six declare themselves read-only, and that isn't a promise: there is no POST, PUT or DELETE anywhere in the package, and a test reads the source to keep it that way.
oura_today is the only one that exists for convenience rather than for correctness: "how did I sleep?" needs today's two records plus enough history to know whether they are unusual, which was four round trips and four chances to stop early. It computes nothing — no average, no delta, no "your HRV is up 12%". The days come back raw and the comparison happens where the method can be cited. Across nine years of real data, three out of four changes between consecutive measurement
冒頭だけを表示しています。続きはリポジトリで読めます