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.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม 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": "ใส่ค่าของคุณ",
"OURA_CLIENT_ID": "ใส่ค่าของคุณ",
"OURA_CLIENT_SECRET": "ใส่ค่าของคุณ",
"OURA_CREDENTIALS": "ใส่ค่าของคุณ",
"OURA_PAT": "ใส่ค่าของคุณ",
"OURA_PAT_FILE": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add oura --env OURA_SANDBOX='ใส่ค่าของคุณ' --env OURA_CLIENT_ID='ใส่ค่าของคุณ' --env OURA_CLIENT_SECRET='ใส่ค่าของคุณ' --env OURA_CREDENTIALS='ใส่ค่าของคุณ' --env OURA_PAT='ใส่ค่าของคุณ' --env OURA_PAT_FILE='ใส่ค่าของคุณ' -- uvx mcp-ouraเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"oura": {
"command": "uvx",
"args": [
"mcp-oura"
],
"env": {
"OURA_SANDBOX": "ใส่ค่าของคุณ",
"OURA_CLIENT_ID": "ใส่ค่าของคุณ",
"OURA_CLIENT_SECRET": "ใส่ค่าของคุณ",
"OURA_CREDENTIALS": "ใส่ค่าของคุณ",
"OURA_PAT": "ใส่ค่าของคุณ",
"OURA_PAT_FILE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"oura": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-oura"
],
"env": {
"OURA_SANDBOX": "ใส่ค่าของคุณ",
"OURA_CLIENT_ID": "ใส่ค่าของคุณ",
"OURA_CLIENT_SECRET": "ใส่ค่าของคุณ",
"OURA_CREDENTIALS": "ใส่ค่าของคุณ",
"OURA_PAT": "ใส่ค่าของคุณ",
"OURA_PAT_FILE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
OURA_SANDBOX envOURA_CLIENT_ID envOURA_CREDENTIALS envOURA_PAT_FILE envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub proscar87 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: OURA_CLIENT_SECRET, OURA_PAT
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.4.0) เข้า registry 41 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, MemberVault MCP by usefulapi
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
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.
List courses; add users to courses, remove course access or delete users in MemberVault.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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
ตัดมาแค่ช่วงต้น อ่านต่อใน repo