Last EHR — Medplum

io.github.cbetz/last-ehr

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "last-ehr": {
      "command": "npx",
      "args": [
        "-y",
        "@lastehr/mcp@0.5.1"
      ],
      "env": {
        "MEDPLUM_ACCESS_TOKEN": "<your MEDPLUM_ACCESS_TOKEN>",
        "MEDPLUM_CLIENT_SECRET": "<your MEDPLUM_CLIENT_SECRET>",
        "LASTEHR_PRIVATE_KEY": "<your LASTEHR_PRIVATE_KEY>"
      }
    }
  }
}
Environment variables
  • MEDPLUM_ACCESS_TOKENsecretFHIR chart tools over Medplum or a local HAPI stack: read-only by default, with an opt-in elicitation-gated write profile (human-approved per action).
  • MEDPLUM_CLIENT_SECRETsecretFHIR chart tools over Medplum or a local HAPI stack: read-only by default, with an opt-in elicitation-gated write profile (human-approved per action).
  • LASTEHR_PRIVATE_KEYsecretPKCS#8 PEM for SMART private_key_jwt. Never log it.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.5.1
Registry
active
Published
11/5/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Last EHR — Medplum is listed here — it’s also the link we check for a free listing.

Last EHR — Medplum — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-cbetz-last-ehr?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Last EHR — Medplum — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Last EHR — Medplum — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-cbetz-last-ehr?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.