
Samsung Health Mcp
io.github.davidmosiah由 GitHub 账号 davidmosiah 发布v0.5.0更新于 Oct 24, 2026
Unofficial local-first MCP server for Samsung Health personal-data CSV/ZIP exports.
概览
读取本地导出的三星健康 CSV 或 ZIP 文件,向 AI 助手提供步数、睡眠、心率、压力与锻炼摘要。
- 可以做什么
- 这是一个非官方的本地优先 MCP 服务器,解析三星健康个人数据导出(包含 CSV 的文件夹、单个 CSV 或 CSV 压缩包),并通过 MCP 工具暴露数据。工具包括连接状态、数据清单、每日与每周摘要、有界记录与锻炼列表、重新导入工具,以及诊断和隐私审计工具。还提供每日与每周回顾的提示词和资源。它不会登录三星、不使用 OAuth,也不直接读取 Health Connect。
- 适用场景
- 当你希望助手总结或对比自己在三星健康应用中导出的数据(步数、睡眠、心率、血氧、锻炼、身体测量)时使用。适合桌面 MCP 客户端上的个人健康回顾与习惯追踪,不适用于实时或临床监测。
- 运行要求
- 以 npm 包形式在本地运行(需要 Node.js),通过 stdio 通信,可选仅限回环地址的 HTTP 模式。需要通过 SAMSUNG_HEALTH_EXPORT_PATH 指定三星健康个人数据导出路径,可选 SAMSUNG_HEALTH_WATCH_PATH 用于自动重新导入、SAMSUNG_HEALTH_PRIVACY_MODE(默认 summary)和 SAMSUNG_HEALTH_TIMEZONE。不需要三星账号、OAuth 令牌或 API 密钥。
安装
在 SourceWeft 中
- 打开 控制台中的 Samsung Health Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Samsung Health MCP
Read your Samsung Health CSV/ZIP exports — activity, sleep, heart, stress — locally.
Local-first MCP server — tokens never leave your machine.
[npm version] [npm downloads] [License MIT] [Site]
[GitHub stars] [Built for MCP] [Hermes one-command setup] [Samsung Health]
⚡ 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.
0.8.0 release
Version 0.8.0
was published on 2026-11-02 and npm latest was verified at publication.
Read the migration and compatibility notes before upgrading:
HTTP network binds are restricted to loopback, imports/profiles have quotas, and
corrected timestamps/cursor invalidation may change totals or replay records.
For a pinned install, use npx -y [email protected].
HTTP (v2 stateless)
Default is stdio. Optional Streamable HTTP — no session id, JSON responses, loopback only:
Env: SAMSUNG_HEALTH_MCP_HOST, SAMSUNG_HEALTH_MCP_PORT, SAMSUNG_HEALTH_MCP_TRANSPORT=http.
Unofficial local-first MCP server that reads Samsung Health personal-data CSV/ZIP exports and exposes them safely to AI agents.
Unofficial project. Not affiliated with, endorsed by, or supported by Samsung Electronics. Samsung Health is a trademark of Samsung Electronics. This package reads exports you generate yourself from the Samsung Health app.
No live Samsung Health cloud API. Samsung has Android SDK paths for partner apps, but this Node MCP does not log into Samsung, scrape accounts, or read Health Connect directly. It reads local exports now; a future Android bridge can sit beside it.
Built by David Mosiah as part of Delx Wellness, a registry of local-first wellness MCP connectors for Claude, Cursor, Hermes, OpenClaw and other MCP-compatible agents.
Why this exists
Samsung Health can collect high-signal wellness data from Galaxy Watch, Galaxy Ring and phones: steps, sleep, exercise, heart rate, oxygen saturation, body measurements and more. Samsung's official Health Data SDK can access many of these data types from Android apps with user permission, but distribution requires the Samsung app process and partnership flow. For a desktop MCP today, the reliable privacy-preserving path is a local personal-data download.
This connector reads that download locally, supports a folder of CSV files, a single CSV, or a zip containing CSV files, then exposes bounded summaries and records through MCP. No Samsung credentials, no OAuth token, no cloud proxy.
Setup In 60 Seconds
- On Android, export data from Samsung Health:
-
Transfer the downloaded Samsung Health folder or zip to this machine.
-
Configure and verify:
Or let the CLI find the newest local Samsung Health export in Downloads, Desktop or Documents, copy it into managed local storage, and save that path:
Supported export paths:
/path/to/SamsungHealth/or another folder containing CSV files/path/to/samsung_health_export.zip/path/to/com.samsung.health.step_count.csv
Then add this to your MCP client config:
For Claude Desktop, run setup --client claude --export-path /path/to/SamsungHealth and the snippet is written for you.
Keep it fresh — watch a folder (no Android device needed):
Now every time you download personal data from the Samsung Health app and drop the new SamsungHealth folder (or its .zip, or any *samsung*health*.zip) into that folder, the connector auto-promotes the newest one to be the active export — on server startup and live while it runs — and refreshes the cached summaries. You can also trigger a re-scan on demand with the samsung_health_reimport tool. This is the cross-platform recurring-refresh path; a fully live Samsung Health sync still needs a native Android Health Connect bridge.
Try It With Your Agent
Data Availability
The parser is intentionally flexible because Samsung personal-data downloads can vary by app version, locale and device. It infers record types from CSV filenames and headers.
Tools
Start with these:
samsung_health_connection_status- verify export path before reading datasamsung_health_data_inventory- discover available record types, date coverage, source count and stale export risksamsung_health_daily_summary- daily wellness brief from export datasamsung_health_weekly_summary- weekly comparison and habit signals
Diagnostics:
samsung_health_capabilitiessamsung_health_agent_manifestsamsung_health_privacy_audit
Records:
samsung_health_list_records- bounded records bytype,start,end,limitsamsung_health_list_workouts- bounded workout records
Maintenance:
samsung_health_reimport- re-scan the watch folder (SAMSUNG_HEALTH_WATCH_PATH) and promote the newest export, refreshing summaries; passcheck_only: trueto preview without promoting
Prompts And Resources
Prompts:
samsung_health_daily_reviewsamsung_health_weekly_review
Resources:
samsung-health://capabilitiessamsung-health://agent-manifestsamsung-health://inventorysamsung-health://summary/dailysamsung-health://summary/weekly
Privacy And Safety
- Samsung Health exports are sensitive personal health data. Keep them local.
- Never commit Samsung Health CSV/ZIP exports to GitHub, paste raw exports into chat, or upload them to issues.
- The export path is read-only; the MCP never modifies your source export.
SAMSUNG_HEALTH_PRIVACY_MODEdefaults tosummary; raw record dumps are opt-in. It applies to every data path:samsung_health_list_records,samsung_health_list_workoutsandsamsung_health_daily_summary(which returns individual workout records only whenprivacy_modeisstructuredorraw).samsung_health_weekly_summaryacceptsprivacy_modebut always aggregates — a 30-day window of raw workouts is not what a weekly rollup is for. Rather than echoing back a mode it did not apply, the response carriesrequested_privacy_mode(what you asked for),privacy_mode(alwayssummary, what was applied) and aprivacy_disclosurenaming the override. For record-level access usesamsung_health_daily_summaryorsamsung_health_list_workouts.- Record and workout
metadatais allowlisted, not denylisted. Only recognised wellness columns (times, durations, distances, calories, heart/sleep/body metrics, source names) leave the parser. GPS coordinates, altitude,deviceuuidand free-text user fields are dropped at parse time and never reach any tool, resource orrawresponse; awithheld_metadata_countfield reports how many columns were dropped. - This is not medical advice. The server exposes data you exported yourself for personal AI workflows, not diagnosis or emergency monitoring.
Configuration
setup writes these settings into ~/.samsung-health-mcp/config.json with 0600 permissions.
setup --auto-import scans common local folders for the newest Samsung Health export and copies it to ~/.samsung-health-mcp/exports/ with restrictive permissions. Fully live Samsung Health sync still requires a separate Android bridge.
Watch folder (recurring auto-reimport)
setup --watch-path <dir> (or SAMSUNG_HEALTH_WATCH_PATH) makes the connector treat a folder as a drop zone. On startup, while running (via filesystem events), and whenever the samsung_health_reimport tool is called, it promotes the newest Samsung Health export found there — a SamsungHealth export directory of CSVs, a single *.csv, or any *samsung*health*.zip — to be the active export and clears the snapshot + incremental caches so the next summary reflects the new data. samsung_health_connection_status reports the watch folder state and warns when a newer export is waiting. Fully live sync still requires a native Android Health Connect bridge.
Hermes / Remote Setup
After Hermes config changes, use /reload-mcp or hermes mcp test samsung_health. Don't restart the gateway for normal export access.
Development
Optional local HTTP transport:
Official References
- Samsung personal-data export: https://www.samsung.com/us/support/answer/ANS10001379/
- Samsung Health Data SDK: https://developer.samsung.com/health/data/overview.html
- Samsung Health Data SDK app process: https://developer.samsung.com/health/data/process.html
- Android Health Connect: https://support.google.com/android/answer/12201227
Links
- npm: https://www.npmjs.com/package/samsung-health-mcp-unofficial
- Docs site: https://wellness.delx.ai/connectors/samsung-health
- GitHub: https://github.com/davidmosiah/samsung-health-mcp
- Delx Wellness registry: https://github.com/davidmosiah/delx-wellness
📧 Contact & Support
- 📨 [email protected] — general questions, integration help, partnerships
- 🐛 Bug reports / feature requests — GitHub Issues
- 🐦 Updates — @delx369 on X
- 🌐 Site — wellness.delx.ai
Skill or MCP
Same package, two doors. MCP registers tools on stdio/HTTP. The skill can drive the same tools through the CLI when the client has no MCP:
Copy skill/SKILL.md into your agent skills dir.
来源:README.md,提交 07e1f5b
工具
0版本历史
1- v0.5.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分