Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| UMAMI_URL | No | Base URL for the Umami API. Defaults to https://api.umami.is in Cloud mode. Required for self-hosted instances. | |
| UMAMI_API_KEY | No | API key from Umami Cloud dashboard (Required for Cloud mode). | |
| UMAMI_PASSWORD | No | Login password (Required for self-hosted mode). | |
| UMAMI_USERNAME | No | Login username (Required for self-hosted mode). | |
| UMAMI_USER_AGENT | No | Custom User-Agent for outbound requests (default: umami-mcp/1.0). | umami-mcp/1.0 |
| UMAMI_CF_ACCESS_CLIENT_ID | No | Cloudflare Access service token client ID (for protected self-hosted APIs). | |
| UMAMI_CF_ACCESS_CLIENT_SECRET | No | Cloudflare Access service token secret. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_websites | List all tracked websites in your Umami account. |
| get_stats | Get summary statistics (pageviews, visitors, visits, bounces, totaltime) for a website over a date range. Timestamps are Unix milliseconds. |
| get_pageviews | Get time-series pageview and session data for a website, bucketed by the chosen time unit. |
| get_metrics | Get a breakdown of metrics by a given dimension (url, referrer, browser, os, device, country, event, etc.) for a website. |
| get_active | Get the number of currently active visitors on a website (last 5 minutes). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |