L'Atlas / MCP servers / Last EHR — Medplum
MCP server

Last EHR — Medplum

io.github.cbetz/last-ehr

MCP server Not tested

Get a review See pricing

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

Technical sheet

Author
cbetz (registry namespace)
Repository
github.com/cbetz/last-ehr
Site
www.lastehr.com/docs/mcp
Version
0.5.6
Transport
stdio
Authentication
None (declared in the registry)
Packages
@lastehr/mcp 0.5.6 npm stdio
Tools
—
Categories
—
Last updated
28 Nov 2026
Published
28 Nov 2026

Verified author and popularity

Entry not claimed yet. Is it your project? Claim it

Not “Popular” for now Removed automatically as soon as the criteria are no longer met.

  • Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
  • or install configs copied over 30 days: 0 (5 needed) not yet
  • and a successful test less than 14 days old: no successful test not yet

Badge updates by itself. Always “tested on …”, never “certified”. How it works

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.cbetz/last-ehr.svg?lang=en)](https://latlas.dev/en/mcp/io.github.cbetz/last-ehr)
HTML
<a href="https://latlas.dev/en/mcp/io.github.cbetz/last-ehr"><img src="https://latlas.dev/badge/statut/mcp/io.github.cbetz/last-ehr.svg?lang=en" alt="Status on L’Atlas" height="20"></a>

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded. Latest test not successful: the badge only says “listed”.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.cbetz/last-ehr.svg?lang=en)](https://latlas.dev/en/mcp/io.github.cbetz/last-ehr)
HTML
<a href="https://latlas.dev/en/mcp/io.github.cbetz/last-ehr"><img src="https://latlas.dev/badge/fiche/io.github.cbetz/last-ehr.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

No remote address published: this server runs locally, so we do not test it.

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport not listeddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Local launch of package @lastehr/mcp (npm). Formats taken from each client’s documentation.

Claude Code
claude mcp add-json last-ehr '{"command":"npx","args":["-y","@lastehr/[email protected]"]}'
Claude (claude.ai, Claude Desktop, Cowork)claude_desktop_config.json (macOS : ~/Library/Application Support/Claude/ ; Windows : %APPDATA%\Claude\ ; Linux : ~/.config/Claude/)
{
  "mcpServers": {
    "last-ehr": {
      "command": "npx",
      "args": ["-y","@lastehr/[email protected]"]
    }
  }
}
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "last-ehr": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y","@lastehr/[email protected]"]
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "last-ehr": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y","@lastehr/[email protected]"],
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "last-ehr": {
      "command": "npx",
      "args": ["-y","@lastehr/[email protected]"]
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "last-ehr": {
      "command": "npx",
      "args": ["-y","@lastehr/[email protected]"]
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.last-ehr]
command = "npx"
args = ["-y","@lastehr/[email protected]"]

Declared environment variables

NameRequiredDescription
MEDPLUM_ACCESS_TOKENno (secret)FHIR 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_IDnoFHIR 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_SECRETno (secret)FHIR 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_BASE_URLnoFHIR 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_BACKENDnoepic, oracle, or smart. Requires LASTEHR_EXPERIMENTAL_FHIR_ADAPTERS=1. Sandbox writes are approval-gated and persist because those sandboxes do not support delete.
LASTEHR_EXPERIMENTAL_FHIR_ADAPTERSnoSet to 1 to enable LASTEHR_BACKEND epic, oracle, or smart.
LASTEHR_CLIENT_IDnoSMART Backend Services client id. Not a secret.
LASTEHR_PRIVATE_KEYno (secret)PKCS#8 PEM for SMART private_key_jwt. Never log it.
LASTEHR_PRIVATE_KEY_PATHnoPath to the PKCS#8 PEM. Alternative to LASTEHR_PRIVATE_KEY.
LASTEHR_KEY_IDnoJWT kid. Must match the public JWKS.
LASTEHR_JWKS_URLnohttps URL of the public JWKS. doctor checks that LASTEHR_KEY_ID is present. Optional.
LASTEHR_SCOPESnoSpace-delimited SMART scopes. Required for Oracle. Omit for Epic unless overriding the app registration.
LASTEHR_FHIR_BASE_URLnoFHIR base URL. Epic and Oracle default to their public sandboxes when unset.
LASTEHR_TOKEN_URLnoSMART token URL. Epic and Oracle default to their public sandboxes when unset.
LASTEHR_ENCOUNTERnoEncounter/{id} added to Epic observations when the tool call omits encounter.
LASTEHR_PERFORMERnoPractitioner/{id} filed as legal authenticator on Oracle observations.

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

Last EHR — Medplum · L’Atlas

Markdown
[Last EHR — Medplum — L’Atlas](https://latlas.dev/en/mcp/io.github.cbetz/last-ehr)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.