Last EHR — Medplum MCP server
io.github.cbetz/last-ehr·v0.4.1·4 starsFHIR chart tools for MCP: read-only by default, with elicitation-gated, human-approved writes.
not scanned yet
4 stars27 downloads/wk
Reviews
Write oneNobody has reviewed Last EHR — Medplum yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Last EHR — Medplum tools
No tool declarations could be read from the package source. They show once the server is installed.
How Last EHR — Medplum compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 83/100
- higher than 65% of 48,255 servers
- GitHub stars
- 4
- more than 82% of 28,688 servers
- Downloads a week
- 27
- more than 14% of 12,191 servers with a package
Release history: 2 versions in the registry since 2026-07-27, latest 2026-10-23, typically one every 88 days.
Install Last EHR — Medplum in Claude Code, Cursor or VS Code
Runs npx -y @lastehr/mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add last-ehr -- npx -y @lastehr/mcp
What the publisher says
From the Last EHR — Medplum repository's README, as published. We do not edit it. Read it on GitHub
Last EHR
Read the chart broadly. Write only what a human approved. Last EHR is the agent layer for a headless FHIR EHR. It does three things, and the write protocol is only one of them.
It reads the chart broadly. 25 of US Core 9.0.0's 27 readable resource types, across 23 patient-scoped sections, following references so authors, encounters, and provenance stop being dead pointers. Counted in the open, with the ceiling published rather than implied, in FHIR coverage.
It is built so the agent cannot fake an absence. "She has never had a flu shot" is the answer a chart agent must never invent, so a read reports when its window was capped, when a reference lookup was refused, and when a code filter matched nothing in a section that does hold records. Filters that a section cannot apply are refused with the legal values instead of silently dropped. These are safety-boundary tests, not best-effort behavior.
Every write is a proposal. Show the exact resource, require an explicit human decision, commit exactly what was reviewed, and record what created it. That half is a small protocol, Approval-Gated Agent Writes on FHIR (v0.1 draft): Proposal → Decision → Commit → Audit. Two implementations run here, a web approval card and MCP elicitation-gated write tools, plus a conformance suite that checks implementations with its own FHIR reads. Independent implementations and criticism are invited.
Five FHIR backends sit behind one interface. This repository is the reference implementation: bring your own FHIR backend and model key for a real agent (Medplum for the authenticated path, or any verified adapter for synthetic evaluation), or start with the zero-key local synthetic walkthrough.
Last EHR is a layer, not an EHR. It runs on top of a headless FHIR backend (Medplum for authenticated use; HAPI FHIR, Firely Server, Aidbox, or Oystehr for synthetic evaluation) and talks to it over the FHIR API. It is not the system of record, stores no PHI of its own, and never bundles or forks the backend.
Status: early / alpha. APIs, structure, and scope will change. Use synthetic data only. · License: Apache-2.0
Try the live demo: no sign-up, synthetic data, and every write goes through the approval gate.
Start here
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Last EHR — Medplum: common questions
- Is Last EHR — Medplum MCP server safe?
- Mostly: it is graded B (83/100). Read the Last EHR — Medplum safety report
- How do I install Last EHR — Medplum?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Last EHR — Medplum need an API key?
- Yes. The registry entry asks for
MEDPLUM_ACCESS_TOKEN,MEDPLUM_CLIENT_SECRET. - Is Last EHR — Medplum maintained?
- The last commit was 59 days ago (2026-09-06). The latest release is v0.4.1.
- How does Last EHR — Medplum compare with other MCP servers?
- safety score 83/100 (higher than 65% of 48,255 servers); github stars 4 (more than 82% of 28,688 servers); downloads a week 27 (more than 14% of 12,191 servers with a package). Full comparison.