Umami MCP Server

Connect your Umami Analytics to any MCP client - Claude Desktop, VS Code, Cursor, Windsurf, Zed, Smithery, and more.

Remote serverstreamable-httpGo

What is the Umami MCP Server?

Connect your Umami Analytics to any MCP client - Claude Desktop, VS Code, Cursor, Windsurf, Zed, Smithery, and more.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_websitesList all websites (call this first to get website IDs)
get_statsAggregated statistics — pageviews, visitors, bounces, total time
get_pageviewsPageview and session counts grouped by time unit
get_metricsBreakdown by page, referrer, browser, OS, device, country, etc.
get_activeCurrent active visitor count in real-time
get_sessionsList individual visitor sessions, with total count — the sessions session replay records
get_session_statsAggregated session totals — pageviews, visitors, visits, countries, events
get_session_activityOrdered pageview/event timeline for a single session

How to install the Umami MCP Server

{
  "mcpServers": {
    "umami": {
      "type": "http",
      "url": "https://umami-mcp.macawls.dev/mcp",
      "headersHelper": "echo X-Umami-Host: https://your-instance.com && echo X-Umami-Username: admin && echo X-Umami-Password: pass"
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
UMAMI_URLEndpoint or connection string the server talks to.Yes
UMAMI_USERNAMEConfiguration value read at startup.Optional
UMAMI_PASSWORDConfiguration value read at startup.Optional
UMAMI_API_KEYCredential the server authenticates with.Yes
UMAMI_TEAM_IDConfiguration value read at startup.Optional

Example prompts to try

  • “Use Umami to get websites.”
  • “Use Umami to get stats.”
  • “Use Umami to get pageviews.”

Frequently asked questions

Connect your Umami Analytics to any MCP client - Claude Desktop, VS Code, Cursor, Windsurf, Zed, Smithery, and more. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.