Umami MCP server
MCP server exposing Umami analytics (Cloud + self-hosted)
Umami MCP Server
MCP server that exposes Umami Cloud analytics via tools.
Tools
get_websites- List all your websitesget_stats- Get visitor statisticsget_pageviews- View page traffic over timeget_metrics- See browsers, countries, devices, and moreget_active- Current active visitors
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 tohttps://api.umami.is/v1
Auth rules:
- Umami Cloud: only
UMAMI_API_KEYis supported. - Self-hosted: you can use
UMAMI_API_KEYorUMAMI_USERNAME+UMAMI_PASSWORD. - You must configure at least one of these:
UMAMI_API_KEYOR (UMAMI_USERNAMEandUMAMI_PASSWORD). - For self-hosted username/password auth, set
UMAMI_API_BASEto 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,
}
}
Related Servers
Card Catalog
Certification authority for AI agents. Adversarial exams, Ed25519-signed credentials, examiner economy. 20K free credits on registration.
Obenan Review Analyzer
An MCP server for analyzing product or service reviews.
recon-crypto-mcp
MCP server for AI agents to manage a self-custodial crypto portfolio (Aave, Compound, Morpho, Uniswap V3, Lido, EigenLayer) on Ethereum/Arbitrum/Polygon via Ledger + WalletConnect. Private keys never leave the device.
Photo AI Studio
AI photo generation, editing, and video creation. 150+ themes, 19 edit operations, 3 video types.
SentinelGate
Open-source MCP proxy for AI agent access control. CEL policies, RBAC, full audit trail, content scanning, Admin UI.
FermatMCP
The Ultimate Math Engine - Unifying SymPy, NumPy & Matplotlib in one powerful server! Perfect for devs & researchers.
Gaggiuino MCP
An MCP server for the Gaggiuino open-source espresso machine, providing real-time local network access to machine status and shot data.
MCPlayerOne
An AI-powered, synthwave, maze-crawling, and world-building adventure game server.
UniRate MCP
Currency conversion and exchange rates for AI assistants. 170+ currencies, historical data back to 1999, free tier, MIT-licensed.
Canvelete
API-first platform for image optimization and document design. Generate optimized images, PDFs, and documents at scale with our visual editor and REST API.