cosmic-mcp

All servers

Last EHR โ€” Medplum

io.github.cbetz/last-ehr ยท version 0.5.1

Community listing. Not installed or verified by cosmic-mcp. Read the source and its permissions before you run it.

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

https://github.com/cbetz/last-ehr

Quick facts

  • Listing: Community
  • Published Nov 5, 17:07 UTC
  • Transport: stdio
  • Package: npm @lastehr/mcp 0.5.1
  • Listed by cosmic-mcp: Nov 9, 04:25 UTC

Health and medicine

Setup snippets

Generated from the registry entry. cosmic-mcp has not run or reviewed this server; values in angle brackets are yours to fill in.

Run it locally (npm)

npx -y '@lastehr/[email protected]'

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "last-ehr": {
      "args": [
        "-y",
        "@lastehr/[email protected]"
      ],
      "command": "npx",
      "env": {
        "LASTEHR_BACKEND": "<your lastehr backend>",
        "LASTEHR_CLIENT_ID": "<your lastehr client id>",
        "LASTEHR_ENCOUNTER": "<your lastehr encounter>",
        "LASTEHR_EXPERIMENTAL_FHIR_ADAPTERS": "<your lastehr experimental fhir adapters>",
        "LASTEHR_FHIR_BASE_URL": "<your lastehr fhir base url>",
        "LASTEHR_JWKS_URL": "<your lastehr jwks url>",
        "LASTEHR_KEY_ID": "<your lastehr key id>",
        "LASTEHR_PERFORMER": "<your lastehr performer>",
        "LASTEHR_PRIVATE_KEY": "<your lastehr private key>",
        "LASTEHR_PRIVATE_KEY_PATH": "<your lastehr private key path>",
        "LASTEHR_SCOPES": "<your lastehr scopes>",
        "LASTEHR_TOKEN_URL": "<your lastehr token url>",
        "MEDPLUM_ACCESS_TOKEN": "<your medplum access token>",
        "MEDPLUM_BASE_URL": "<your medplum base url>",
        "MEDPLUM_CLIENT_ID": "<your medplum client id>",
        "MEDPLUM_CLIENT_SECRET": "<your medplum client secret>"
      }
    }
  }
}

Claude Code

claude mcp add 'last-ehr' -- npx -y '@lastehr/[email protected]'

Cursor (.cursor/mcp.json)

{
  "mcpServers": {
    "last-ehr": {
      "args": [
        "-y",
        "@lastehr/[email protected]"
      ],
      "command": "npx",
      "env": {
        "LASTEHR_BACKEND": "<your lastehr backend>",
        "LASTEHR_CLIENT_ID": "<your lastehr client id>",
        "LASTEHR_ENCOUNTER": "<your lastehr encounter>",
        "LASTEHR_EXPERIMENTAL_FHIR_ADAPTERS": "<your lastehr experimental fhir adapters>",
        "LASTEHR_FHIR_BASE_URL": "<your lastehr fhir base url>",
        "LASTEHR_JWKS_URL": "<your lastehr jwks url>",
        "LASTEHR_KEY_ID": "<your lastehr key id>",
        "LASTEHR_PERFORMER": "<your lastehr performer>",
        "LASTEHR_PRIVATE_KEY": "<your lastehr private key>",
        "LASTEHR_PRIVATE_KEY_PATH": "<your lastehr private key path>",
        "LASTEHR_SCOPES": "<your lastehr scopes>",
        "LASTEHR_TOKEN_URL": "<your lastehr token url>",
        "MEDPLUM_ACCESS_TOKEN": "<your medplum access token>",
        "MEDPLUM_BASE_URL": "<your medplum base url>",
        "MEDPLUM_CLIENT_ID": "<your medplum client id>",
        "MEDPLUM_CLIENT_SECRET": "<your medplum client secret>"
      }
    }
  }
}

VS Code (.vscode/mcp.json)

{
  "servers": {
    "last-ehr": {
      "args": [
        "-y",
        "@lastehr/[email protected]"
      ],
      "command": "npx",
      "env": {
        "LASTEHR_BACKEND": "<your lastehr backend>",
        "LASTEHR_CLIENT_ID": "<your lastehr client id>",
        "LASTEHR_ENCOUNTER": "<your lastehr encounter>",
        "LASTEHR_EXPERIMENTAL_FHIR_ADAPTERS": "<your lastehr experimental fhir adapters>",
        "LASTEHR_FHIR_BASE_URL": "<your lastehr fhir base url>",
        "LASTEHR_JWKS_URL": "<your lastehr jwks url>",
        "LASTEHR_KEY_ID": "<your lastehr key id>",
        "LASTEHR_PERFORMER": "<your lastehr performer>",
        "LASTEHR_PRIVATE_KEY": "<your lastehr private key>",
        "LASTEHR_PRIVATE_KEY_PATH": "<your lastehr private key path>",
        "LASTEHR_SCOPES": "<your lastehr scopes>",
        "LASTEHR_TOKEN_URL": "<your lastehr token url>",
        "MEDPLUM_ACCESS_TOKEN": "<your medplum access token>",
        "MEDPLUM_BASE_URL": "<your medplum base url>",
        "MEDPLUM_CLIENT_ID": "<your medplum client id>",
        "MEDPLUM_CLIENT_SECRET": "<your medplum client secret>"
      },
      "type": "stdio"
    }
  }
}

Related servers

  • 1k-patient-mcp
    1k patient MCP server
  • 3CX MCP
    3CX for MSPs: trunk, licence, version and backup health across every client phone system.
  • AI plant health diagnosis
    Fast, private multi-species diagnosis. Custom-trained models. No third-party AI or image retention.
  • AIsa SEO & AI Visibility Verified domain
    Rankings, keywords, backlinks, site health and AI-answer visibility, several indexes.
  • API Tool Calls
    94 tools, one small door: home costs, fitness, QR, barcodes, Markdown, SEO, recalls.
  • ASL Doctor Search Verified domain
    Find US healthcare providers by name, specialty, location or NPI from the CMS NPPES registry.