Medplum MCP
Securely access and manage FHIR healthcare data stored in Medplum.
제작자가 쓴 설명(영어 원문)
Ask your agent about your own Apple Health data: 194 metrics, 22 tools, local, 0 deps.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
HEALTH_DATA_DIR, PAIRING_SECRET, HEALTH_EXPORT_PASSPHRASE비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
링크는 제작자의 파일로 바로 연결돼요. 우리가 보관하거나 다시 패키징하지 않아요. 파일을 열면 Claude Desktop이 설치해요.
터미널에서 이 명령어를 실행하세요
claude mcp add health-export --env HEALTH_DATA_DIR=your-value --env PAIRING_SECRET=your-value --env HEALTH_EXPORT_PASSPHRASE=your-value -- npx -y health-export-mcp실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"health-export": {
"command": "npx",
"args": [
"-y",
"health-export-mcp"
],
"env": {
"HEALTH_DATA_DIR": "your-value",
"PAIRING_SECRET": "your-value",
"HEALTH_EXPORT_PASSPHRASE": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"health-export": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"health-export-mcp"
],
"env": {
"HEALTH_DATA_DIR": "your-value",
"PAIRING_SECRET": "your-value",
"HEALTH_EXPORT_PASSPHRASE": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
HEALTH_DATA_DIR env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 10일 점검
레지스트리 이름이 GitHub 계정 PhilipAD 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
코드 마지막 변경: 7일 전
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 2개 중 2개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
입력해야 할 값: PAIRING_SECRET, HEALTH_EXPORT_PASSPHRASE
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 7일 전 변경됐고, 최신 버전(1.10.2)은 7일 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js, MCPB도 있어야 해요.
같은 카테고리에는: Medplum MCP, Mirobody, Apple Health
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
Securely access and manage FHIR healthcare data stored in Medplum.
Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.
Local-first Apple Health MCP server for questions about your sleep, workouts and heart data.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
An MCP server for your own Apple Health data. 194 metrics, 22 tools (20 read-only, plus two that log events to their own file) and 23 prompts over local stdio, with zero dependencies, no account and no server of ours in the path. Your agent gets JSON with units, date ranges and coverage, and answers from your numbers.
Docs and per-client config: [healthexport.dev/mcp](https://www.healthexport.dev/mcp/) · agents can run the setup from [SKILL.md](https://www.healthexport.dev/SKILL.md) · privacy: the server reads a local file and makes no network requests, so your health data never reaches us or a cloud AI through it.
claude mcp add health-export -- npx -y health-export-mcp
On a Mac that is the whole install: since 1.7.3 the server finds the MetricBridge app's iCloud Drive folder by itself. On Windows or Linux, or for an export in another folder, add --env "HEALTH_DATA_DIR=/path/to/folder" before the --. Needs Node.js 18 or later. Claude Desktop: open health-export.mcpb instead (no JSON, no Node on your PATH). Cursor, VS Code, opencode, OpenClaw, Hermes: AGENTS.md.
Then ask *"Use health-export: how did my HRV this week compare with last week?"* The agent calls get_trends and gets numbers that carry their own provenance: unit, exact date ranges, whether each window was complete, and how much history the export holds. This is the real output on 1.7.3 (from the built-in --demo dataset, which is synthetic so it can be published; a real export answers with the same fields and without the watermark):
[SYNTHETIC DEMO DATA] {"metric":"heart_rate_variability","unit":"ms","window":7,"recent":50.859,"prior":51.306,
"change":-0.447,"changePercent":-0.871,"direction":"flat","recentRange":{"from":"2026-08-12","to":"2026-08-18"}, "recentDays":7,"priorDays":7,"windowSatisfied":true,"coverage":{"firstDate":"2025-07-15","lastDate":"2026-08-18","days":400}}
No iPhone yet? claude mcp add health-export-demo -- npx -y health-export-mcp --demo serves that watermarked synthetic dataset, so you can try every tool in 30 seconds before installing anything on a phone.
.health-cache.json to iCloud Drive (or a folder, or your LAN). The app has a 7-day free trial, then one purchase ($24.99), no subscription. This server is MIT and free..mcpb (Claude Desktop), or the block for your client in AGENTS.md.npx -y health-export-mcp --doctor prints the folder it chose and why, each file's age, and freshness. iCloud can take a few minutes to bring a new export to the Mac.It's an MCP server that turns your Apple Health export into tools your AI agent can query in natural language: HRV, sleep, resting heart rate, steps, workouts, VO₂ max and 180+ more.
health-export-ai in serverInfo, and the npm package and repository names are unchanged.Just exported and the Mac has not seen it yet? iCloud can take a few minutes to sync the
file across, so a check 60 seconds after tapping Run in the app can still show the old
timestamp.
get_mcp_statusreportslastDataDateand the intradaylastWrite, which is the
quickest way to tell "still syncing" from "never arrived".
Try it with no iPhone needed:
npx -y health-export-mcp --demo(ornode server.mjs --demoin a clone) serves a deterministic synthetic dataset (400 days, workouts, events, sleep sessions) with every answer watermarked as synthetic. Or runnpm testto write a sample cache and exercise every tool.
The companion iOS app [MetricBridge](https://www.healthexport.dev) exports your Apple Health data, read-only, automatic, private. For this MCP server, export to a destination it can read:
| Destination | Notes |
|---|---|
| iCloud Drive (default) | Your Mac reads the synced folder automatically |
| Local folder | Any folder that syncs to your Mac (Dropbox, Google Drive, OneDrive, …) |
| LAN (HTTP / WebSocket) | Direct push to the server, great over Tailscale. Carries the daily summary and, when you switch on Settings > Local network > Strength log, the strength log (written to health-strength.json) |
Using a non-MCP tool (ChatGPT, n8n, Home Assistant)? The app can also POST to a webhook those tools read directly, see Works with.
Fastest, one command (Claude Code):
claude mcp add health-export -- npx -y health-export-mcp
claude mcp add health-export --env "HEALTH_DATA_DIR=/path/to/folder" -- npx -y health-export-mcp
Everything before -- is an option for claude mcp add, everything after it is the command that starts the server. On a Mac the server reads the app's iCloud Drive folder when HEALTH_DATA_DIR is unset (1.7.3+); if you set it to that folder by hand, double-quote it (the folder name contains a space) and use $HOME, because a quoted ~ is not expanded by the shell. Add --scope user to make the server available in every project (the default scope is the current project only). Check it with claude mcp list.
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json), and any client that takes an mcpServers block:
{
"mcpServers": { "health-export": { "command": "npx", "args": ["-y", "health-export-mcp"] } } }
Off a Mac, or for another folder, add
"env": { "HEALTH_DATA_DIR": "/path/to/folder" }to the entry (a leading~is expanded by the server).npx -yfetches the published package at run time without an install prompt (npm verifies package integrity), so it runs anywhere with no clone or absolute path. The server expands a leading~inHEALTH_DATA_DIRitself, so the JSON form can keep it. Prefer to pin a vetted local checkout instead? Use"command": "node", "args": ["REPLACE_WITH_ABSOLUTE_PATH/server.mjs"], get the path withnode -e "console.log(process.cwd()+'/server.mjs')"inside the repo.
Or skip JSON entirely, drag `health-export.mcpb` into Claude Desktop → Settings → Extensions.
Auto-configure from a clone:
git clone https://github.com/PhilipAD/health-export-mcp.git
cd health-export-mcp node apply-mcp-config.mjs # detects installed clients and writes the config for you
Cursor / VS Code: node gen-deeplinks.mjs prints one-click install links. opencode / OpenClaw / Hermes: see [AGENTS.md](AGENTS.md) for the exact block, same shape, one per client.
Restart the client and try:
*"Use health-export: what's my average HRV this week vs last week?"*
| Client / Agent | Integration | How |
|---|---|---|
| Claude Code | Native MCP | claude mcp add ... -- npx -y health-export-mcp |
| Claude Desktop | Native MCP | .mcpb bundle, or mcpServers block |
| Cursor | Native MCP | One-click deeplink, or ~/.cursor/mcp.json |
| opencode | Native MCP | opencode.json mcp block |
| OpenClaw | Native MCP | Add the server block to your MCP config |
| Hermes | Native MCP | Add the server block to your agent's MCP config |
| VS Code (Copilot / Continue) | Native MCP | One-click deeplink |
| ChatGPT · Gemini · Grok | Webhook* | Consume the app's webhook export |
| n8n · Home Assistant | Webhook* | Trigger automations on the exported JSON |
*MCP clients query this server directly over stdio. ChatGPT / Gemini / Grok / n8n / Home Assistant don't speak MCP, they consume the same Apple Health data via the iOS app's token-authenticated webhook export.
Full reference with request/response examples: [healthexport.dev/mcp](https://www.healthexport.dev/mcp/#tools).
| Tool | What it does |
|---|---|
get_mcp_status | Health check: source, metric/workout counts, which context files exist, latest data date, and a freshness summary. Call first. |
get_freshness | How current the export is: stale judged on the core files (daily cache, sleep sessions) against a stated threshold (26 h by default, HEALTH_STALE_AFTER_HOURS, or maxAgeHours), age_hours, as_of, last_data_date, per-file write times. state: "stale_copy" (with a stale_copy list) when the phone's .health-manifest.json or iCloud says this Mac holds an older copy of a core file than the phone wrote. Same rule as the status --max-age cron gate. |
list_metrics | Every available metric with unit, day count, and date range. |
get_health_metrics | Daily values for a metric (or all) over a date range + an aggregate (avg/sum/min/max/latest). Supports filterDays (restrict to days covered by logged events, with negate). Blood pressure at day granularity also lists the individual readings (health-readings.json). |
get_trends | Recent N-day window vs the prior N days: change, % change, direction. Supports excludeTravelDays. |
compare_periods | A metric across two arbitrary date periods (A vs B), or around a logged event via anchor: {eventId, days} (the event day excluded from both sides). |
get_structured_export | Clean JSON for chosen metrics/range, paginated with a cursor. |
| `ge