Skip to content
MCP server

Myatriumhealth MCP

MyAtriumHealth (Epic MyChart) records via your signed-in browser tab

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.5.1
Listing updated
5 days ago

About Myatriumhealth MCP

Myatriumhealth MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add myatriumhealth-mcp --env MAH_PASSWORD='<MAH_PASSWORD>' -- npx -y @chrischall/myatriumhealth-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "myatriumhealth-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@chrischall/myatriumhealth-mcp"
      ],
      "env": {
        "MAH_PASSWORD": "<MAH_PASSWORD>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "myatriumhealth-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@chrischall/myatriumhealth-mcp"
      ],
      "env": {
        "MAH_PASSWORD": "<MAH_PASSWORD>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "myatriumhealth-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@chrischall/myatriumhealth-mcp"
      ],
      "env": {
        "MAH_PASSWORD": "<MAH_PASSWORD>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "myatriumhealth-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@chrischall/myatriumhealth-mcp"
      ],
      "env": {
        "MAH_PASSWORD": "<MAH_PASSWORD>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "myatriumhealth-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@chrischall/myatriumhealth-mcp"
      ],
      "env": {
        "MAH_PASSWORD": "<MAH_PASSWORD>"
      }
    }
  }
}

Configuration

  • MAH_WS_PORTOverride the fetchproxy WebSocket port (default 37149).
  • MAH_READ_ONLYtrue refuses mah_reply_message sends (previews still work). Default false.
  • MAH_USERNAMEMyAtriumHealth username. Set with MAH_PASSWORD to enable bridge-less mode. Leave both empty to relay through your signed-in browser tab.
  • MAH_PASSWORDPortal password. Both are required; setting only one falls back to the bridge (with a warning).
  • MAH_DOTENVPath to a .env file read first; failing that ~/.myatriumhealth-mcp/.env, then ./.env. A real MAH_USERNAME / MAH_PASSWORD in the environment always wins.
  • MAH_DEVICE_FILESession state (0600), default ~/.myatriumhealth-mcp/device.json. Holds the live cookie jar as well as the device token — treat as a credential.
  • FETCHPROXY_WS_HOSTBind interface for the fetchproxy concentrator, a literal IP only (default 127.0.0.1). Keep on loopback; it exists for hosted deployments that run each MCP in its own network namespace.
  • FETCHPROXY_IDENTITY_DIRAbsolute path where the fetchproxy long-term identity keypair is stored (default ~/.fetchproxy/identity/).

Pricing

Open source

Myatriumhealth MCP FAQ

Is Myatriumhealth MCP free?

Yes. Myatriumhealth MCP is open source, so you can use and self-host it for free.

How do I add Myatriumhealth MCP to Claude Code?

Run this command in your terminal: claude mcp add myatriumhealth-mcp --env MAH_PASSWORD='<MAH_PASSWORD>' -- npx -y @chrischall/myatriumhealth-mcp