Skip to main content
Glama
Alurith

Umami MCP Server

by Alurith

Umami MCP Server

MCP server that exposes Umami Cloud analytics via tools.

Tools

  • get_websites - List all your websites

  • get_stats - Get visitor statistics

  • get_pageviews - View page traffic over time

  • get_metrics - See browsers, countries, devices, and more

  • get_active - Current active visitors

Related MCP server: Umami MCP Server

Requirements

  • Python 3.13+

  • uv

Configure

Umami Cloud API base URL: https://api.umami.is/v1

Environment variables:

  • UMAMI_API_KEY - Umami Cloud API key (required for Umami Cloud)

  • UMAMI_USERNAME - Umami username (self-hosted only)

  • UMAMI_PASSWORD - Umami password (self-hosted only)

  • UMAMI_API_BASE (optional) - defaults to https://api.umami.is/v1

Auth rules:

  • Umami Cloud: only UMAMI_API_KEY is supported.

  • Self-hosted: you can use UMAMI_API_KEY or UMAMI_USERNAME + UMAMI_PASSWORD.

  • You must configure at least one of these: UMAMI_API_KEY OR (UMAMI_USERNAME and UMAMI_PASSWORD).

  • For self-hosted username/password auth, set UMAMI_API_BASE to your instance API root (e.g. https://your-umami.example/api).

All tool parameters that represent times accept ISO datetimes. If a datetime is missing a timezone, it is treated as UTC.

Run locally

uvx run umami-mcp-server

OpenCode MCP config

Example ~/.config/opencode/opencode.json (replace the API key and adjust the path if your clone lives elsewhere):

{
  "$schema": "https://opencode.ai/config.json",
  "theme": "system",
  "mcp": {
    "umami": {
      "type": "local",
      "command": [
        "uvx",
        "umami-mcp-server"
      ],
      "environment": {
        "UMAMI_API_KEY": "YOUR_UMAMI_CLOUD_API_KEY",
        "UMAMI_API_BASE": "https://api.umami.is/v1"
      },
      "enabled": true,
    }
  }
}

Self-hosted example:

{
  "mcp": {
    "umami": {
      "type": "local",
      "command": ["uvx", "umami-mcp-server"],
      "environment": {
        "UMAMI_USERNAME": "YOUR_USERNAME",
        "UMAMI_PASSWORD": "YOUR_PASSWORD",
        "UMAMI_API_BASE": "https://your-umami.example"
      }
    },
    "enabled": true,

  }
}
Install Server
A
license - permissive license
C
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Full-coverage MCP server for Umami Analytics API v2 — 66 tools for website analytics, stats, events, and team management
    Last updated
    66
    69
    6
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Read-only MCP server for Umami analytics. It talks to the Umami REST API directly over HTTP, supporting self-hosted and cloud setups.
    Last updated
    8
    8
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    An MCP server that gives Claude read access to Umami web analytics, allowing natural language queries for stats, breakdowns, pageview trends, live visitors, and user journeys.
    Last updated
    10
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    A security-first MCP server for Umami analytics (Cloud and self-hosted v3) enabling analytics, reporting, and administration with least privilege and credential-safe design.
    Last updated
    32
    8
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Alurith/umami-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server