@byterover/umami-mcp
Provides read-only access to Umami analytics (cloud or self-hosted), enabling listing websites, retrieving stats, time series, top metrics (URL, referrer, browser, country, etc.), live visitors, event data, sessions, funnels, retention, and journey reports.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@byterover/umami-mcpShow me pageviews for the last 7 days"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@byterover/umami-mcp
A minimal, read-only Model Context Protocol server for Umami analytics — Cloud or self-hosted.
It exposes a small set of read tools (list sites, stats, time series, top metrics, live visitors) over stdio, so an MCP client such as Grove can let an agent answer questions about your web analytics. It issues no writes — there are no create/update/ delete tools, by design.
Why this exists
Community Umami MCP servers exist but have little usage and aren't reviewed by anyone we trust with an analytics credential. This is byterover's first-party, source-available wrapper: small enough to read end-to-end, read-only, and published with provenance. We dogfood it on our own landing-page analytics.
Related MCP server: Umami MCP Server
Install
npx @byterover/umami-mcpConfigure
Pick one mode via environment variables.
Umami Cloud — create a read-only API key at cloud.umami.is (Settings → API keys):
UMAMI_API_KEY=your_api_keySelf-hosted — point at your instance and provide a login:
UMAMI_API_URL=https://umami.example.com
UMAMI_USERNAME=your_username
UMAMI_PASSWORD=your_passwordAdvanced: UMAMI_API_URL overrides the base host (Cloud default
https://api.umami.is) and UMAMI_API_PATH overrides the path prefix (Cloud
/v1, self-hosted /api).
Use with Grove
Add it to your mcp.json as a stdio server (pin the version; keep the key in
.env via a ${VAR} ref):
{
"mcpServers": {
"umami": {
"command": "npx",
"args": ["-y", "@byterover/umami-mcp@0.1.0"],
"env": { "UMAMI_API_KEY": "${UMAMI_API_KEY}" }
}
}
}Tools surface in Grove as umami__list_websites, umami__website_stats, etc.
Tools
Thirteen read tools covering essentially all of Umami's analytics reads —
consolidated (one metrics tool spans ~10 dimensions; explore_event_data
folds five endpoints behind a mode), never mirroring the REST API 1:1.
Discovery
Tool | What it returns |
| Websites (id, name, domain) these credentials can see. Start here. |
| Earliest/latest timestamps with data — call before querying ranges. |
Traffic & trends
Tool | What it returns |
| Pageviews, visitors, visits, bounces, total time (with prior period). |
| Pageviews/sessions time series, bucketed by hour/day/month/year. |
| Live activity in the last ~30 min (active visitors, recent views/events). |
Breakdowns & events
Tool | What it returns |
| Top values for one dimension (url, referrer, browser, country, event, …); |
| Custom-event time series over a range. |
| Drill into event properties/values ( |
Sessions & journeys
Tool | What it returns |
| Individual visitor sessions (paginated, searchable). |
| One session's summary + activity log + custom properties. |
Analyses (compute-reads, POST — still read-only)
Tool | What it returns |
| Conversion funnel across ordered steps (paths/events). |
| Return-visitor retention over the range (needs a timezone). |
| Common navigation paths between a start and (optional) end step. |
Range tools accept ISO startAt/endAt; report tools accept ISO
startDate/endDate (e.g. 2026-07-01). Omit them for the last 7 days.
Develop
pnpm install
pnpm build # tsc → dist/
pnpm typecheck
pnpm test # keyless, network-free
pnpm lintLicense
Elastic License 2.0 — © byterover.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/campfirein/umami-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server