Koskamo

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.

Last EHR MCP logo, by Chris BetzCommunity listingLocal stdioSource reviewed; not executedPublished by Chris Betz
Vendor documentation

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

Community listingRegistry 0.4.1Apache-2.0
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

npm
@lastehr/mcp package definition
{
  "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.

No tool definitions available.

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.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "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.