Last EHR MCP
An open-source FHIR MCP server that exposes patient-chart operations as tools. It supports read-only access by default and optional human-approved writes for creating notes, measurements, and tasks. It connects to Medplum or local HAPI backends.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
Checks and signals
Each line is separate evidence, not a trust score.
- Popularity 4 GitHub stars
What you can do with it
- Search for patients
- View chart overviews
- Read specific chart sections
- Create proposal-shaped writes for notes and tasks
Source and maintenance
- Last repository push
- Latest release
- mcp-v0.4.1
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@lastehr/mcp 0.4.1
{
"version": "0.4.1",
"transport": "stdio",
"identifier": "@lastehr/mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "MEDPLUM_ACCESS_TOKEN",
"description": "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)."
},
{
"name": "MEDPLUM_CLIENT_ID",
"description": "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)."
},
{
"name": "MEDPLUM_CLIENT_SECRET",
"description": "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)."
},
{
"name": "MEDPLUM_BASE_URL",
"description": "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)."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · repository · passed · metadata changed · updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"last-ehr-mcp": {
"command": "npx",
"args": [
"-y",
"@lastehr/mcp@0.4.1"
],
"env": {
"MEDPLUM_ACCESS_TOKEN": "<YOUR_MEDPLUM_ACCESS_TOKEN>",
"MEDPLUM_CLIENT_ID": "<YOUR_MEDPLUM_CLIENT_ID>",
"MEDPLUM_CLIENT_SECRET": "<YOUR_MEDPLUM_CLIENT_SECRET>",
"MEDPLUM_BASE_URL": "<YOUR_MEDPLUM_BASE_URL>"
}
}
}
}Cline
{
"mcpServers": {
"last-ehr-mcp": {
"command": "npx",
"args": [
"-y",
"@lastehr/mcp@0.4.1"
],
"env": {
"MEDPLUM_ACCESS_TOKEN": "<YOUR_MEDPLUM_ACCESS_TOKEN>",
"MEDPLUM_CLIENT_ID": "<YOUR_MEDPLUM_CLIENT_ID>",
"MEDPLUM_CLIENT_SECRET": "<YOUR_MEDPLUM_CLIENT_SECRET>",
"MEDPLUM_BASE_URL": "<YOUR_MEDPLUM_BASE_URL>"
}
}
}
}VS Code
{
"servers": {
"last-ehr-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@lastehr/mcp@0.4.1"
],
"env": {
"MEDPLUM_ACCESS_TOKEN": "<YOUR_MEDPLUM_ACCESS_TOKEN>",
"MEDPLUM_CLIENT_ID": "<YOUR_MEDPLUM_CLIENT_ID>",
"MEDPLUM_CLIENT_SECRET": "<YOUR_MEDPLUM_CLIENT_SECRET>",
"MEDPLUM_BASE_URL": "<YOUR_MEDPLUM_BASE_URL>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"last-ehr-mcp": {
"command": "npx",
"args": [
"-y",
"@lastehr/mcp@0.4.1"
],
"env": {
"MEDPLUM_ACCESS_TOKEN": "<YOUR_MEDPLUM_ACCESS_TOKEN>",
"MEDPLUM_CLIENT_ID": "<YOUR_MEDPLUM_CLIENT_ID>",
"MEDPLUM_CLIENT_SECRET": "<YOUR_MEDPLUM_CLIENT_SECRET>",
"MEDPLUM_BASE_URL": "<YOUR_MEDPLUM_BASE_URL>"
}
}
}
}Let your agent find its tools
Find servers like Last EHR MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.