Skip to content
Claude Code

Last EHR — Medplum for Claude Code

io.github.cbetz/last-ehr

FHIR chart tools for MCP: read-only by default, with elicitation-gated, human-approved writes.

client:Claude Code transport:stdio runtime:npm

Install Last EHR — Medplum in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add last-ehr -e MEDPLUM_ACCESS_TOKEN=<MEDPLUM_ACCESS_TOKEN> -e MEDPLUM_CLIENT_ID=<MEDPLUM_CLIENT_ID> -e MEDPLUM_CLIENT_SECRET=<MEDPLUM_CLIENT_SECRET> -e MEDPLUM_BASE_URL=<MEDPLUM_BASE_URL> -- npx -y @lastehr/mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

Last EHR — Medplum in other clients