Mirobody
Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Privacy-first unofficial Polar AccessLink v4 MCP server for AI health, sleep and training agents.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
POLAR_CLIENT_ID, POLAR_CLIENT_SECRET, POLAR_REDIRECT_URI, POLAR_TOKEN_PATH, POLAR_PRIVACY_MODE, POLAR_CACHE, POLAR_CACHE_PATH, POLAR_NO_CACHEค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"polarmcp": {
"command": "npx",
"args": [
"-y",
"polar-mcp-unofficial"
],
"env": {
"POLAR_CLIENT_ID": "ใส่ค่าของคุณ",
"POLAR_CLIENT_SECRET": "ใส่ค่าของคุณ",
"POLAR_REDIRECT_URI": "ใส่ค่าของคุณ",
"POLAR_TOKEN_PATH": "ใส่ค่าของคุณ",
"POLAR_PRIVACY_MODE": "ใส่ค่าของคุณ",
"POLAR_CACHE": "ใส่ค่าของคุณ",
"POLAR_CACHE_PATH": "ใส่ค่าของคุณ",
"POLAR_NO_CACHE": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add polarmcp --env POLAR_CLIENT_ID='ใส่ค่าของคุณ' --env POLAR_CLIENT_SECRET='ใส่ค่าของคุณ' --env POLAR_REDIRECT_URI='ใส่ค่าของคุณ' --env POLAR_TOKEN_PATH='ใส่ค่าของคุณ' --env POLAR_PRIVACY_MODE='ใส่ค่าของคุณ' --env POLAR_CACHE='ใส่ค่าของคุณ' --env POLAR_CACHE_PATH='ใส่ค่าของคุณ' --env POLAR_NO_CACHE='ใส่ค่าของคุณ' -- npx -y polar-mcp-unofficialเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"polarmcp": {
"command": "npx",
"args": [
"-y",
"polar-mcp-unofficial"
],
"env": {
"POLAR_CLIENT_ID": "ใส่ค่าของคุณ",
"POLAR_CLIENT_SECRET": "ใส่ค่าของคุณ",
"POLAR_REDIRECT_URI": "ใส่ค่าของคุณ",
"POLAR_TOKEN_PATH": "ใส่ค่าของคุณ",
"POLAR_PRIVACY_MODE": "ใส่ค่าของคุณ",
"POLAR_CACHE": "ใส่ค่าของคุณ",
"POLAR_CACHE_PATH": "ใส่ค่าของคุณ",
"POLAR_NO_CACHE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"polarmcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"polar-mcp-unofficial"
],
"env": {
"POLAR_CLIENT_ID": "ใส่ค่าของคุณ",
"POLAR_CLIENT_SECRET": "ใส่ค่าของคุณ",
"POLAR_REDIRECT_URI": "ใส่ค่าของคุณ",
"POLAR_TOKEN_PATH": "ใส่ค่าของคุณ",
"POLAR_PRIVACY_MODE": "ใส่ค่าของคุณ",
"POLAR_CACHE": "ใส่ค่าของคุณ",
"POLAR_CACHE_PATH": "ใส่ค่าของคุณ",
"POLAR_NO_CACHE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
POLAR_CLIENT_ID envPOLAR_REDIRECT_URI envPOLAR_TOKEN_PATH envPOLAR_PRIVACY_MODE envPOLAR_CACHE envPOLAR_CACHE_PATH envPOLAR_NO_CACHE envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub davidmosiah ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: POLAR_CLIENT_SECRET
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.3.6) เข้า registry 4 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Mirobody, FHIR MCP Server, Langcare MCP FHIR
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
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
An MCP FHIR server written in Go for EMR systems like Epic and Cerner
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Upgrading to 0.6.0: read the migration guide for local-only HTTP, disabled authenticated-response caching, and stricter input/profile limits.
Polar MCP
Give your AI agent your Polar Nightly Recharge, training load, PPI and HRV data — locally.
Local-first MCP server — tokens never leave your machine .
⚡ One-command install with Delx Wellness for Hermes:
npx -y delx-wellness-hermes setup— preconfigures this connector and the other 8 in a dedicated Hermes profile.
Or wire it standalone into Claude Desktop / Cursor / ChatGPT Desktop — see the install section below.
Default is stdio. Optional Streamable HTTP — no session id, JSON responses, loopback only:
npx -y polar-mcp-unofficial --http
Env: POLAR_MCP_HOST, POLAR_MCP_PORT, POLAR_MCP_TRANSPORT=http.
Local-first MCP server that connects AI agents to your Polar training, sleep, Nightly Recharge and continuous-sample data.
Unofficial project. Not affiliated with, endorsed by or supported by Polar Electro Oy. Polar is a trademark of its respective owner. Use this only with your own Polar account and in line with the Polar AccessLink API terms.
Built by David Mosiah for people who use Claude, Cursor, Hermes, OpenClaw or other MCP-compatible agents to think about training load, recovery and endurance - without copy-pasting numbers from Polar Flow.
Part of Delx Wellness, a registry of local-first wellness MCP connectors.
If this connector helps your agent workflow, please star the repo. Stars make the project easier for other AI builders to discover and help Delx keep shipping local-first wellness infrastructure.
Polar has one of the deepest training-physiology stacks among consumer wearables - Nightly Recharge, continuous samples, PPI (pulse-to-pulse intervals), training targets, sport profiles, orthostatic and fitness tests. The Polar AccessLink Dynamic API v4 exposes this data, but with 16 fine-grained OAuth scopes and a structure that's harder to navigate than typical consumer APIs.
This package handles the OAuth dance locally, normalizes responses across the v4 endpoints, redacts GPS by default, and exposes Polar through the Model Context Protocol. Tokens never leave your machine.
You'll need a Polar AccessLink client (create one here) with redirect URI http://127.0.0.1:3000/callback.
npx -y polar-mcp-unofficial setup # interactive: paste client id + secret
npx -y polar-mcp-unofficial auth # opens browser, captures the OAuth code npx -y polar-mcp-unofficial doctor # verifies you're ready
Recommended scopes (request the ones matching the data you want):
activity:read calendar:read continuous_samples:read devices:read
nightly_recharge:read ppi_data:read profile:read routes:read skin_contact:read sleep:read sports:read temperature_measurement:read tests:read training_sessions:read training_targets:read user_subscription:read
Then add this to your MCP client config:
{
"mcpServers": { "polar": { "command": "npx", "args": ["-y", "polar-mcp-unofficial"] } } }
For Claude Desktop, run setup --client claude and the snippet is written for you.
Three things to ask first:
Use polar_connection_status to check setup, then run polar_daily_summary.
Give me a 5-line training brief for today.
Call polar_weekly_summary with response_format=json. Identify my biggest
training-load/recovery bottleneck and give me a next-week plan.
Use the polar_training_load_investigation prompt, after=2026-04-01.
Walk me through my recent training sessions + Nightly Recharge.
This package uses the official Polar AccessLink Dynamic API v4. When this README says raw, it means the upstream Polar JSON for a supported endpoint - not raw device sensor streams.
| Data | Available | Notes |
|---|---|---|
| Daily activity + calendar | yes | Requires activity:read / calendar:read |
| Sleep + sleep/wake vectors | yes | Requires sleep:read |
| Nightly Recharge (recovery score) | yes | Requires nightly_recharge:read; supported devices |
| Training sessions + training targets | yes | Requires training_sessions:read / training_targets:read |
| Continuous samples (HR over time) | yes | Requires continuous_samples:read |
| PPI samples (pulse-to-pulse intervals, HRV-relevant) | yes | Requires ppi_data:read; supported devices |
| Temperature measurements | yes | Requires temperature_measurement:read; supported devices |
| Skin contact periods | yes | Requires skin_contact:read |
| Tests (fitness / orthostatic / running) | yes | Requires tests:read |
| Routes + GPS geometry | opt-in | GPS coordinates redacted unless raw mode |
| Sports + sport profiles + devices | yes | Catalog and user metadata |
| Live device telemetry | - | Not exposed by Polar AccessLink |
Start with these:
polar_quickstart - personalized 3-step setup walkthrough that adapts to what's already configuredpolar_connection_status - verify local setup, scopes and readiness before calling Polarpolar_data_inventory — inventory supported data domains, scopes, privacy modes and recommended first calls without calling Polar APIs.polar_demo - synthetic example payloads so agents see the contract before calling the real APIpolar_daily_summary - sleep, activity, Nightly Recharge and training brief for todaypolar_weekly_summary - scorecard, comparison vs prior week, next-week planpolar_wellness_context - Nightly Recharge, sleep and training load in the shared wellness_context shapeAuth & diagnostics
polar_capabilities, polar_agent_manifest, polar_privacy_audit, polar_cache_statuspolar_get_auth_url, polar_exchange_code, polar_revoke_accessAccount
polar_get_account_data, polar_list_user_devices, polar_list_subscriptionsShared wellness profile (local, never Polar data)
polar_onboarding, polar_profile_get, polar_profile_update — the Delx Wellness profile shared with the other connectors; stores only what the user typed, never tokens or biomarkersActivity & sleep
polar_list_activity, polar_list_calendarpolar_list_sleeps, polar_list_sleep_wake_vectors — sleep lists hydrate available dates with the v4 sleep-result, sleep-evaluation, and sleep-score features by defaultpolar_list_nightly_rechargeHeart & physiology (date range)
polar_heart_series — agent-safe-series/v1 bounded HR from continuous samples (prefer this for agents)polar_list_continuous_samples, polar_list_ppi_samplespolar_list_temperature_measurements, polar_list_skin_contactsTraining
polar_list_training_sessions, polar_list_training_targets, polar_list_training_target_favoritespolar_list_testsSports & routes
polar_list_sports, polar_list_sport_profile_catalog, polar_list_sport_profilespolar_get_route - GPS coordinates redacted unless raw modepolar_daily_checkin - practical daily training and recovery check-inpolar_weekly_review - review trends across activity, sleep and recoverypolar_training_load_investigation - investigate training sessions + recovery contextpolar://capabilities, polar://agent-manifest, polar://inventorypolar://summary/daily, polar://summary/weeklypolar://account-data, polar://latest/sleep~/.polar-mcp/tokens.json with 0600 permissions and are never returned by tools.POLAR_PRIVACY_MODE defaults to structured. Structured mode preserves the complete upstream physiological payload while removing secret/GPS fields; normalized aliases are additive and never replace nested v4 objects. Raw Polar JSON is opt-in via raw mode or per-call override.summary and structured modes - only raw mode exposes raw coordinates.features are validated per endpoint. Feature queries that Polar limits to one day are hydrated one available date at a time.setup writes most of these into ~/.polar-mcp/config.json (0600). Manual env override is supported:
POLAR_CLIENT_ID=<client-id>
POLAR_CLIENT_SECRET= POLAR_REDIRECT_URI=http://127.0.0.1:3000/callback
POLAR_SCOPES="activity:read calendar:read continuous_samples:read ..." POLAR_PRIVACY_MODE=structured # summary | structured | raw POLAR_CACHE=sqlite # no effect: authenticated responses are never cached POLAR_TOKEN_PATH=~/.polar-mcp/tokens.json POLAR_CACHE_PATH=~/.polar-mcp/cache.sqlite
npx -y polar-mcp-unofficial setup --client hermes --no-auth
npx -y polar-mcp-unofficial auth # run locally if browser auth is needed npx -y polar-mcp-unofficial doctor --client hermes hermes mcp test polar
After Hermes config changes, use /reload-mcp or hermes mcp test polar. Don't restart the gateway for normal data access.
If browser OAuth has to happen on a different machine than Hermes, run auth locally and copy ~/.polar-mcp/tokens.json to the server with chmod 600.
http://127.0.0.1:3000/callbackgit clone https://github.com/davidmosiตัดมาแค่ช่วงต้น อ่านต่อใน repo