Last EHR — Medplum MCP Server
FHIR chart tools for MCP: read-only by default, with elicitation-gated, human-approved writes.
Last EHR — Medplum scores 58 (Fair), with no SPDX license recorded. It installs as a local process. It does not declare tools yet. Filed under Uncategorized. Package registries report about 115 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
58 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Where the 58 comes from
22 + 20 + 3 + 0 + 10 + 3 = 58. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 3 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "cbetz-mcp": { "command": "npx", "args": [ "-y", "@lastehr/mcp@0.5.6" ], "env": { "MEDPLUM_ACCESS_TOKEN": "YOUR_MEDPLUM_ACCESS_TOKEN", "MEDPLUM_CLIENT_ID": "", "MEDPLUM_CLIENT_SECRET": "YOUR_MEDPLUM_CLIENT_SECRET", "MEDPLUM_BASE_URL": "", "LASTEHR_BACKEND": "", "LASTEHR_EXPERIMENTAL_FHIR_ADAPTERS": "", "LASTEHR_CLIENT_ID": "", "LASTEHR_PRIVATE_KEY": "YOUR_LASTEHR_PRIVATE_KEY", "LASTEHR_PRIVATE_KEY_PATH": "", "LASTEHR_KEY_ID": "", "LASTEHR_JWKS_URL": "", "LASTEHR_SCOPES": "", "LASTEHR_FHIR_BASE_URL": "", "LASTEHR_TOKEN_URL": "", "LASTEHR_ENCOUNTER": "", "LASTEHR_PERFORMER": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
MEDPLUM_ACCESS_TOKENSecret | Optional | 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_ID | Optional | 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_SECRETSecret | Optional | 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_URL | Optional | 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). |
LASTEHR_BACKEND | Optional | epic, 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_ADAPTERS | Optional | Set to 1 to enable LASTEHR_BACKEND epic, oracle, or smart. |
LASTEHR_CLIENT_ID | Optional | SMART Backend Services client id. Not a secret. |
LASTEHR_PRIVATE_KEYSecret | Optional | PKCS#8 PEM for SMART private_key_jwt. Never log it. |
LASTEHR_PRIVATE_KEY_PATH | Optional | Path to the PKCS#8 PEM. Alternative to LASTEHR_PRIVATE_KEY. |
LASTEHR_KEY_ID | Optional | JWT kid. Must match the public JWKS. |
LASTEHR_JWKS_URL | Optional | https URL of the public JWKS. doctor checks that LASTEHR_KEY_ID is present. Optional. |
LASTEHR_SCOPES | Optional | Space-delimited SMART scopes. Required for Oracle. Omit for Epic unless overriding the app registration. |
LASTEHR_FHIR_BASE_URL | Optional | FHIR base URL. Epic and Oracle default to their public sandboxes when unset. |
LASTEHR_TOKEN_URL | Optional | SMART token URL. Epic and Oracle default to their public sandboxes when unset. |
LASTEHR_ENCOUNTER | Optional | Encounter/{id} added to Epic observations when the tool call omits encounter. |
LASTEHR_PERFORMER | Optional | Practitioner/{id} filed as legal authenticator on Oracle observations. |
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
FHIR chart tools for MCP: read-only by default, with elicitation-gated, human-approved writes.
Frequently asked questions
What is Last EHR — Medplum MCP Server?
FHIR chart tools for MCP: read-only by default, with elicitation-gated, human-approved writes.
How do I install Last EHR — Medplum MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Last EHR — Medplum MCP Server runs locally from the npm package @lastehr/mcp with the command npx -y @lastehr/mcp@0.5.6.
Does Last EHR — Medplum MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Last EHR — Medplum MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is Last EHR — Medplum MCP Server's trust score calculated?
Last EHR — Medplum MCP Server scores 58 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.