Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. Last EHR β€” Medplum
Last EHR β€” Medplum logo
Health: ActiveRecent health check succeeded.Last checked 9/7/2026, 6:55:37 PM

Last EHR β€” Medplum

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository4 GitHub StarsTotal stargazers on GitHub for the source repository (4 stars).Visit Website

Read-only Medplum chart search and patient context for MCP clients.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "last-ehr-medplum": {
      "command": "npx",
      "args": [
        "-y",
        "@lastehr/agent-write-conformance"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Documentation Overview

Last EHR

CI License: Apache 2.0 npm: @lastehr/mcp npm: @lastehr/agent-write-conformance Official MCP Registry

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 reads the chart broadly. 25 of US Core 9.0.0's 27 readable resource types, across 23 patient-scoped sections, following references so authors, encounters, and provenance stop being dead pointers. Counted in the open, with the ceiling published rather than implied, in FHIR coverage.

It is built so the agent cannot fake an absence. "She has never had a flu shot" is the answer a chart agent must never invent, so a read reports when its window was capped, when a reference lookup was refused, and when a code filter matched nothing in a section that does hold records. Filters that a section cannot apply are refused with the legal values instead of silently dropped. These are safety-boundary tests, not best-effort behavior.

Every write is a proposal. Show the exact resource, require an explicit human decision, commit exactly what was reviewed, and record what created it. That half is a small protocol, Approval-Gated Agent Writes on FHIR (v0.1 draft): Proposal β†’ Decision β†’ Commit β†’ Audit. Two implementations run here, a web approval card and MCP elicitation-gated write tools, plus a conformance suite that checks implementations with its own FHIR reads. Independent implementations and criticism are invited.

Five FHIR backends sit behind one interface. This repository is the reference implementation: bring your own FHIR backend and model key for a real agent (Medplum for the authenticated path, or any verified adapter for synthetic evaluation), or start with the zero-key local synthetic walkthrough.

Last EHR is a layer, not an EHR. It runs on top of a headless FHIR backend (Medplum for authenticated use; HAPI FHIR, Firely Server, Aidbox, or Oystehr for synthetic evaluation) and talks to it over the FHIR API. It is not the system of record, stores no PHI of its own, and never bundles or forks the backend.

Status: early / alpha. APIs, structure, and scope will change. Use synthetic data only. Β· License: Apache-2.0

Try the live demo: no sign-up, synthetic data, and every write goes through the approval gate.

Last EHR demo: the agent finds a patient, then records an observation to the chart after the user approves the write

Start here

GoalStart here
See the approval loop nowTry the live synthetic-data demo: no sign-up.
Read the protocolApproval-Gated Agent Writes on FHIR, v0.1 draft
See exactly what the agent can reach in FHIRFHIR coverage: counted against US Core, ceiling included
Test an MCP (stdio) implementation of the protocolnpx @lastehr/agent-write-conformance β€” see the conformance guide
Give an MCP client bounded chart tools β€” read-only by default, opt-in approved writes (Medplum, or the local HAPI stack)npx -y @lastehr/mcp init --client claude-code
Try fixture MCP locally without FHIR credentials or a provider API keynpm run mcp:demo -- --client claude-code
Prove the synthetic web-agent workflow locallynpm run eval
Inspect the complete flow locally with no account or model keynpm run demo:local

30-second synthetic-data walkthrough

  1. Open the live demo.
  2. Ask: Find patients named Smith.
  3. Ask: Record a heart rate of 72 bpm for Maria Garcia.
  4. Inspect the proposed write, then approve it. The data is synthetic and the approval card shows exactly what will be saved.

For MCP, @lastehr/mcp is deliberately a separate surface that is read-only by default (search_patients, show_patient_info, read_chart_section, and read_document β€” the same bounded chart reads the web agent gets), with one opt-in: elicitation-gated write proposals a human approves per action. Configure a least-privilege Medplum token before connecting it to a real project; full setup is in the MCP guide and the Official MCP Registry listing.

Want to inspect the read surface before configuring Medplum? From a checkout, npm run mcp:demo starts the included local HAPI stack, resets the four synthetic fixture charts, and prints a Claude Code/Cursor configuration. That checkout-only MCP Local Lab needs no FHIR/Medplum credentials or model-provider API key of its own and is restricted to fixture patients. Your MCP client still uses its normal account and may send those synthetic results to its model provider. It is not the published package, generic HAPI support, or a path for PHI.

For a deterministic safety-mechanics check, npm run eval creates a separate synthetic target, proves the proposal/approval and denial paths, verifies chart association, cleans up, and writes a scrubbed report. It is not a clinical, authorization, or compliance certification; see the evaluation guide.

What it does

  • A chat agent (Vercel AI SDK) with FHIR tools. It reads the chart (search patients, view a patient chart, read one filtered chart section) and writes to it (add a note, record an observation, create a follow-up task), streamed and rendered as structured cards.
  • Writes are confirmation-gated: the agent proposes a write, you approve it, and only then is it saved. Nothing touches the chart without your click. Approved writes carry the standard AIAST security label, with optional Provenance recording author-agent and human-verifier roles (role labels, not user identity).
  • The gate is a specified protocol, not just app behavior: Approval-Gated Agent Writes on FHIR (v0.1 draft) names the rules β€” only an explicit approval commits, every ambiguous outcome fails closed, policy can only narrow the gate β€” and the conformance suite tests an implementing MCP stdio server's gate mechanics with independent FHIR reads. CI runs it against this repository's own server on every pull request and merge.
  • Authentication, multi-tenancy, and access control are delegated to your Medplum project (Project = tenant, ProjectMembership = user, AccessPolicy = RBAC). Last EHR doesn't reimplement any of that, and writes are bounded by your AccessPolicy.

Support status

Last EHR is Medplum-supported for authenticated deployments and includes a local, no-auth HAPI FHIR mode for synthetic-data evaluation. Firely Server (FHIR_BACKEND=firely), Aidbox (FHIR_BACKEND=aidbox), and Oystehr (FHIR_BACKEND=oystehr) are verified synthetic-evaluation adapters: each passed both contract harnesses and the FHIR Agent Safety Eval against a disposable synthetic target. Other FHIR R4 backends need an adapter before they are supported. See the full support matrix for the web, SMART, MCP, auth, and evaluation boundaries before choosing a path.

Self-hosted demos can offer a backend picker (swap the EHR under the live agent, per session) and an "under the hood" panel streaming the agent's FHIR operations β€” both off by default; see the support matrix for the eligibility rules and npm run check:backends for preflight.

What it isn't

  • Not a charting EHR, not a system of record, and not a Medplum replacement. It's a thin agent layer: a small, growing set of tools over your FHIR backend.
  • Not a guarantee. The approval gate is a human-in-the-loop boundary, not a safety proof: it stops unilateral writes, but it relies on you reading what you approve. Models can propose wrong or fabricated clinical facts, and approval fatigue is real. Last EHR provides the gate; you provide the review.

How it works

Next.js 15 (App Router) + React 19. The agent lives in app/api/chat/route.ts (streamText + FHIR tools); the FHIR calls go through a small backend interface (lib/fhir/backend.ts) with five built-in adapters: Medplum (hosted or self-hosted, token-authenticated), plus local HAPI FHIR, Firely Server, Aidbox, and Oystehr for synthetic evaluation (docs/support.md). The interface is four methods plus contract notes, so an adapter for another headless EHR is a small, well-scoped contribution. See docs/adapters.md and the roadmap.

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Developer Tools View all alternatives
  • Codealive MCP logoCodealive MCP

    Semantic code search and analysis from CodeAlive for AI assistants and agents.

    πŸ’» Developer Tools0 views
    Compare vs Codealive MCP β†’
  • PraisonAI logoPraisonAI

    AI Agents Framework with Self Reflection and MCP support

    πŸ’» Developer Tools1 views
    Compare vs PraisonAI β†’
  • Docs logoDocs

    Search and read Empryo's documentation. Read-only, no auth, no local access.

    πŸ’» Developer Tools0 views
    Compare vs Docs β†’
  • Servicegraph logoServicegraph

    Search 100k+ US professional-services firms by industry, services, location, size, ratings.

    πŸ’» Developer Tools0 views
    Compare vs Servicegraph β†’

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Last EHR β€” Medplum

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "last-ehr-medplum": { "command": "npx", "args": ["-y", "Last EHR β€” Medplum"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLast EHR β€” Medplum AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/last-ehr-medplum?style=directory)](https://allmcps.com/mcp/last-ehr-medplum)
HTML Embed
<a href="https://allmcps.com/mcp/last-ehr-medplum"><img src="https://allmcps.com/api/badge/last-ehr-medplum?style=directory" alt="Last EHR β€” Medplum on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars4
GitHub Star CountTotal stargazers on GitHub representing community popularity (4 stars).
36Quality signal: Fair Β· 36/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools15/30
Adoption & activity2/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to Last EHR β€” Medplum β†’Install in Claude DesktopInstall in CursorInstall in VS Code