Prototipo · Versión preliminar: todos los servidores del registro oficial, sincronizados cada 30 minutos. Las reseñas y las cuentas llegarán en una etapa posterior.
PopNx MCPServidores MCP para quienes usan IA · explicados con palabras sencillas

Last EHR — Medplum

de cbetzversión 0.5.1i★ –iSe ejecuta en tu computadora
Nombre en el registroio.github.cbetz/last-ehr

Instalar

Resumen

Descripción del creador (original en inglés)

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

Los tres pilares de PopNx MCP

Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.

Qué puedes hacer con él

Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.

  • Conexión: Se ejecuta en tu computadora
  • Transporte: stdio
  • Categoría: Clínicas y salud
  • Debes completar: MEDPLUM_ACCESS_TOKEN, MEDPLUM_CLIENT_SECRET, LASTEHR_PRIVATE_KEY

Instalación

Elige la app de IA que usas y copia la configuración.

Antes de instalar

  • Revisiones básicas: 1 de 1 superadas
  • Se ejecuta en tu computadora con los permisos de tu usuario (archivos, red, apps).
  • Debes completar tú: MEDPLUM_ACCESS_TOKEN, MEDPLUM_CLIENT_ID, MEDPLUM_CLIENT_SECRET, MEDPLUM_BASE_URL, LASTEHR_BACKEND, LASTEHR_EXPERIMENTAL_FHIR_ADAPTERS, LASTEHR_CLIENT_ID, 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

Los valores marcados como secretos son llaves de tu cuenta. Nunca los compartas ni los pegues en un chat.

Necesitas

  • npmNode.js instalado (para el comando npx)

¿Qué app usas?

Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.

Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json

{
  "mcpServers": {
    "last-ehr": {
      "command": "npx",
      "args": [
        "-y",
        "@lastehr/mcp"
      ],
      "env": {
        "MEDPLUM_ACCESS_TOKEN": "your-value",
        "MEDPLUM_CLIENT_ID": "your-value",
        "MEDPLUM_CLIENT_SECRET": "your-value",
        "MEDPLUM_BASE_URL": "your-value",
        "LASTEHR_BACKEND": "your-value",
        "LASTEHR_EXPERIMENTAL_FHIR_ADAPTERS": "your-value",
        "LASTEHR_CLIENT_ID": "your-value",
        "LASTEHR_PRIVATE_KEY": "your-value",
        "LASTEHR_PRIVATE_KEY_PATH": "your-value",
        "LASTEHR_KEY_ID": "your-value",
        "LASTEHR_JWKS_URL": "your-value",
        "LASTEHR_SCOPES": "your-value",
        "LASTEHR_FHIR_BASE_URL": "your-value",
        "LASTEHR_TOKEN_URL": "your-value",
        "LASTEHR_ENCOUNTER": "your-value",
        "LASTEHR_PERFORMER": "your-value"
      }
    }
  }
}

Ejecuta esto en tu terminal

claude mcp add last-ehr --env MEDPLUM_ACCESS_TOKEN=your-value --env MEDPLUM_CLIENT_ID=your-value --env MEDPLUM_CLIENT_SECRET=your-value --env MEDPLUM_BASE_URL=your-value --env LASTEHR_BACKEND=your-value --env LASTEHR_EXPERIMENTAL_FHIR_ADAPTERS=your-value --env LASTEHR_CLIENT_ID=your-value --env LASTEHR_PRIVATE_KEY=your-value --env LASTEHR_PRIVATE_KEY_PATH=your-value --env LASTEHR_KEY_ID=your-value --env LASTEHR_JWKS_URL=your-value --env LASTEHR_SCOPES=your-value --env LASTEHR_FHIR_BASE_URL=your-value --env LASTEHR_TOKEN_URL=your-value --env LASTEHR_ENCOUNTER=your-value --env LASTEHR_PERFORMER=your-value -- npx -y @lastehr/mcp

Completa los valores vacíos antes de ejecutarlo.

Abrir en Cursor

O copia la configuración tú

Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json

{
  "mcpServers": {
    "last-ehr": {
      "command": "npx",
      "args": [
        "-y",
        "@lastehr/mcp"
      ],
      "env": {
        "MEDPLUM_ACCESS_TOKEN": "your-value",
        "MEDPLUM_CLIENT_ID": "your-value",
        "MEDPLUM_CLIENT_SECRET": "your-value",
        "MEDPLUM_BASE_URL": "your-value",
        "LASTEHR_BACKEND": "your-value",
        "LASTEHR_EXPERIMENTAL_FHIR_ADAPTERS": "your-value",
        "LASTEHR_CLIENT_ID": "your-value",
        "LASTEHR_PRIVATE_KEY": "your-value",
        "LASTEHR_PRIVATE_KEY_PATH": "your-value",
        "LASTEHR_KEY_ID": "your-value",
        "LASTEHR_JWKS_URL": "your-value",
        "LASTEHR_SCOPES": "your-value",
        "LASTEHR_FHIR_BASE_URL": "your-value",
        "LASTEHR_TOKEN_URL": "your-value",
        "LASTEHR_ENCOUNTER": "your-value",
        "LASTEHR_PERFORMER": "your-value"
      }
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Abrir en VS Code

O copia la configuración tú

Pégalo en .vscode/mcp.json de tu proyecto

{
  "servers": {
    "last-ehr": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@lastehr/mcp"
      ],
      "env": {
        "MEDPLUM_ACCESS_TOKEN": "your-value",
        "MEDPLUM_CLIENT_ID": "your-value",
        "MEDPLUM_CLIENT_SECRET": "your-value",
        "MEDPLUM_BASE_URL": "your-value",
        "LASTEHR_BACKEND": "your-value",
        "LASTEHR_EXPERIMENTAL_FHIR_ADAPTERS": "your-value",
        "LASTEHR_CLIENT_ID": "your-value",
        "LASTEHR_PRIVATE_KEY": "your-value",
        "LASTEHR_PRIVATE_KEY_PATH": "your-value",
        "LASTEHR_KEY_ID": "your-value",
        "LASTEHR_JWKS_URL": "your-value",
        "LASTEHR_SCOPES": "your-value",
        "LASTEHR_FHIR_BASE_URL": "your-value",
        "LASTEHR_TOKEN_URL": "your-value",
        "LASTEHR_ENCOUNTER": "your-value",
        "LASTEHR_PERFORMER": "your-value"
      }
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.

Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.

Valores que debes completar

  • MEDPLUM_ACCESS_TOKEN secreto env
    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 env
    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_SECRET secreto env
    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 env
    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 env
    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 env
    Set to 1 to enable LASTEHR_BACKEND epic, oracle, or smart.
  • LASTEHR_CLIENT_ID env
    SMART Backend Services client id. Not a secret.
  • LASTEHR_PRIVATE_KEY secreto env
    PKCS#8 PEM for SMART private_key_jwt. Never log it.
  • LASTEHR_PRIVATE_KEY_PATH env
    Path to the PKCS#8 PEM. Alternative to LASTEHR_PRIVATE_KEY.
  • LASTEHR_KEY_ID env
    JWT kid. Must match the public JWKS.
  • LASTEHR_JWKS_URL env
    https URL of the public JWKS. doctor checks that LASTEHR_KEY_ID is present. Optional.
  • LASTEHR_SCOPES env
    Space-delimited SMART scopes. Required for Oracle. Omit for Epic unless overriding the app registration.
  • LASTEHR_FHIR_BASE_URL env
    FHIR base URL. Epic and Oracle default to their public sandboxes when unset.
  • LASTEHR_TOKEN_URL env
    SMART token URL. Epic and Oracle default to their public sandboxes when unset.
  • LASTEHR_ENCOUNTER env
    Encounter/{id} added to Epic observations when the tool call omits encounter.
  • LASTEHR_PERFORMER env
    Practitioner/{id} filed as legal authenticator on Oracle observations.

Esta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.

Qué puede hacer

Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.

Revisiones básicasi

Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 7 nov 2026

  • ✓ Superada

    El creador coincide con el repo

    El nombre en el registro se verificó con la cuenta de GitHub cbetz, dueña del repo

  • … Aún sin revisar

    Sigue en mantenimiento

    Todavía no hemos leído este repo en GitHub

  • … Aún sin revisar

    Tiene licencia

    Todavía no hemos leído este repo en GitHub

  • – No aplica

    El endpoint responde

    Este se ejecuta en tu computadora; no hay endpoint en internet

  • – No aplica

    Inicio de sesión con OAuth

    Se ejecuta en tu computadora y usa ajustes locales en su lugar

  • … Aún sin revisar

    Sin instrucciones ocultas en las descripciones de herramientas

    Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet

Comparado con otros en Clínicas y saludi

  • Más estrellas que el 0% de los otros 869 servidores de esta categoría
  • Publicado en el registro más recientemente que el 93% de los otros 869 servidores de esta categoría
  • Revisiones básicas iguales o mejores que el 100% de los otros 869 servidores de esta categoría

Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.

Preguntas frecuentes

¿Es seguro Last EHR — Medplum?

Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.

¿Qué claves o códigos necesita?

Debes completar: MEDPLUM_ACCESS_TOKEN, MEDPLUM_CLIENT_SECRET, LASTEHR_PRIVATE_KEY

¿Se ejecuta en mi computadora o en la nube?

Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).

¿Sigue en mantenimiento?

El repo de GitHub cambió por última vez –, y la última versión (0.5.1) llegó al registro ayer.

¿Qué apps pueden usarlo?

Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Node.js en tu computadora.

¿Qué puedo usar en su lugar?

En la misma categoría: Mirobody, FHIR MCP Server, Google Health MCP

Alternativas

Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.

Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi

Mirobody

de thetahealth

Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.

Se ejecuta en tu computadora★ 1408Apache-2.0Actualizado hace 6 días
Instalar

MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications

Se ejecuta en tu computadora★ 137Apache-2.0Actualizado hace 9 días
Instalar

Google Health MCP

de davidmosiah

Privacy-first unofficial Google Health API v4 MCP server for health, sleep, activity, HR agents

Se ejecuta en tu computadora★ 79MITActualizado hace 4 meses
Instalar

README del creador

Abrir el README

Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.

@lastehr/mcp

FHIR chart tools for MCP clients, over a Medplum project, the Last EHR repository's local HAPI evaluation stack (FHIR_BACKEND=hapi, synthetic data only), or — with LASTEHR_EXPERIMENTAL_FHIR_ADAPTERS=1 — the Epic and Oracle Health sandboxes (LASTEHR_BACKEND=epic|oracle) and a generic SMART Backend Services server (LASTEHR_BACKEND=smart). The sandboxes do not support delete, so an approved write persists. This is not a clinical or compliance claim.

Read-only by default, and the reads are the same ones the Last EHR web agent uses: search patients, show a whole chart, read any of 23 patient-scoped chart sections with filters, and read a document's text. One opt-in, LASTEHR_MCP_WRITES=proposal, adds elicitation-gated write proposals a human approves per action. Nothing is ever saved without that explicit approval, and the write tools are hidden from clients that cannot render approvals.

The registry metadata lives in server.json and is published alongside each verified npm release.

Install

npx -y @lastehr/mcp init

The command prints a portable MCP configuration. For Claude Code, print the registration command instead:

npx -y @lastehr/mcp init --client claude-code

Start the stdio server with:

npx -y @lastehr/mcp

Check the installed package version without configuring a backend:

npx -y @lastehr/mcp --version

Configuration

Set one authentication method before starting the server:

MEDPLUM_ACCESS_TOKEN=...

or:

MEDPLUM_CLIENT_ID=...

MEDPLUM_CLIENT_SECRET=...

Set MEDPLUM_BASE_URL for a self-hosted Medplum deployment. For the repository's local no-auth HAPI stack, set FHIR_BACKEND=hapi and FHIR_BASE_URL (or HAPI_BASE_URL) instead — local, synthetic data only. Run npx -y @lastehr/mcp doctor to validate configuration without starting MCP.

In 0.4.0, doctor --connect also checks FHIR R4 metadata and a count-only Patient search for the stdio backend. It makes no chart write and prints no patient data or counts. This does not verify individual chart access, other resource permissions, write permissions, or the MCP client's approval support. HTTP mode remains configuration-only; its --connect check fails explicitly rather than treating a configured URL as a verified OAuth session.

The source checkout can be ahead of npm. Check the installed version with --version. The repository's release process tests the packed artifact in a clean directory before publication.

Safety boundary

By default the package exposes search_patients, show_patient_info, read_chart_section, and read_document, all with the MCP readOnlyHint.

Those reads share one implementation with the web agent, which is deliberate: each of their honesty properties came from a real false negative found against a live FHIR server, and a second implementation would have re-earned them. A reply tells you what it could not see, and an empty result is never proof of absence:

FieldMeaning
truncatedThe server's window came back full, so older records may exist beyond what was read. Measured at the window, not at the row count.
codeFilterUnmatchedThe section does hold records; none of them carry the code you filtered by. Text-only CodeableConcepts cannot match a coded search.
includeUnsupportedThe backend refused the reference lookup. Not the same as there being no references.
unreadable (documents)The document exists and its contents were not read: a scan, or a body stored as a pointer rather than inline.

Chart free text arrives wrapped in tags. That content is data, never instructions. read_document decodes an inline text attachment and never dereferences Attachment.url, so it makes no request to an address the FHIR server chose.

With LASTEHR_MCP_WRITES=proposal it additionally offers add_note, record_observation, record_superseding_observation, and create_task as proposals: the exact fields are shown to the human through MCP elicitation and nothing is saved unless they approve; every approved write is tagged https://lastehr.com/mcp|approved-proposal and carries the standard AIAST security label ("Artificial Intelligence asserted") in meta.security, and LASTEHR_WRITE_PROVENANCE=true also emits a Provenance resource naming the agent as author and the reviewer as verifier. Read access can still return PHI. Use a least-privilege identity, review the MCP client's data handling and model-provider agreements, and never treat this package as an authorization layer.

See https://www.lastehr.com/docs/mcp for the complete setup and support boundary.

Pregunta a PopNx