Last EHR - Medplum MCP Server

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 runs locally over stdio via the published package.

People connecting web framework tools to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-23 · ★ 4 · #14 OF 48 MAINTAINED WEB FRAMEWORK · VERIFIED 2026-08-25

Apache-2.0 · TypeScript servers · how we verify → /methodology

01 · Install Last EHR - Medplum

before you install - you'll need

The README does not document required environment variables for a basic install.

Claude Code

claude mcp add cbetz-last-ehr -- npx -y @lastehr/mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "cbetz-last-ehr": {
      "command": "npx",
      "args": [
        "-y",
        "@lastehr/mcp"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

repo age created 2026-06-29 - young repo, little track record yet

license Apache-2.0 - declared in the repository

npm package @lastehr/mcp - the @lastehr scope differs from the repo owner (cbetz); confirm it's the project's official package

registry namespace io.github.cbetz is GitHub-verified and matches the repo owner

03 · What Last EHR - Medplum can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

v0.2.2 · 2026-07-13

Make it runnable, measurable, and honest · v0.2.2 adds no clinical tools on purpose. It makes Last EHR consumable: a pull-and-run image, browser-level proof of the approval flow, a privacy posture that matches the…

v0.2.1 · 2026-07-11

A safe MCP entry point for FHIR chart context · v0.2.1 makes Last EHR’s bounded chart-reading surface available as a public, · installable MCP server. The division is deliberate: MCP reads charts; the web · app keeps…

v0.2.0 · 2026-07-10

A practical, inspectable starting point for FHIR agents · v0.2.0 makes Last EHR easier to evaluate locally and easier to extend without overstating what is supported. · Highlights · Zero-key local walkthrough: npm run…

04 · Who maintains Last EHR - Medplum

Last EHR - Medplum is maintained by cbetz. We track 2 MCP servers from cbetz - 2 actively maintained, 5 combined GitHub stars, oldest repo from Jun 2026.

05 · Facts

category
web framework - ranked #14 of 48 actively-maintained web framework servers as of 2026-08-25.
release cadence
4 releases in the last 90 days (latest 2026-07-13)
registry
io.github.cbetz/last-ehr (active, first published 2026-07-11 · 4 versions)
packages
npm:@lastehr/mcp

06 · Last EHR - Medplum FAQ

What is Last EHR - Medplum?

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 runs locally over stdio via the published package.

Is Last EHR - Medplum still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-23 and it shipped 4 releases in the last 90 days. We re-verify nightly.

How do I install Last EHR - Medplum?

Run `npx -y @lastehr/mcp`. The README does not document required environment variables for a basic install. You can also paste the ready-made client config above.

Does Last EHR - Medplum run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Last EHR - Medplum

More web framework MCP servers · Gitwand · Source Library · Qrcodly · Aspicio · Inbed

More TypeScript MCP servers · Arabicfmt MCP · Sigil · Aha Io · Agent^rider · Weapp Agent MCP · see all