MU

macawls/umami-mcp-server

分析与监控

本页由 AI 翻译,技术细节请以原文为准。 查看原文

35 stars 7 forks 质量 85 趋势 20MIT

一个精简的 Umami 分析 MCP 服务器

概览

将你的Umami Analytics连接到任何MCP客户端——Claude Desktop、VS Code、Cursor、Windsurf、Zed、Smithery等。 - “给我一份过去30天我网站的全面分析报告” - “本月哪些页面流量最高?给我看前十名” - “分析我网站的流量模式——什么时候访问量最多?” - “我的访客来自哪里?按国家和城市细分” - “我的用户使用哪些设备和浏览器?”- “向我展示用户旅程——访客通常按顺序浏览哪些页面?” - “上个月录制了多少场次?列出最活跃的场次” - “请带我了解一下场次内容——页面和事件顺序” - “哪些录制的场次来自瑞典的移动端?” - “我现在有多少人访问我的网站?他们正在浏览哪些页面?”- “我的网站有出现问题吗?检查流量是否大幅下降” - “我应该更新哪些博客文章?

概述(AI 翻译)

将你的Umami Analytics连接到任何MCP客户端——Claude Desktop、VS Code、Cursor、Windsurf、Zed、Smithery等。

提示

分析与交通

  • “给我一份过去30天我网站的全面分析报告”
  • “本月哪些页面流量最高?给我看前十名”
  • “分析我网站的流量模式——什么时候我能获得最多访客?”

用户洞察

  • “我的访客来自哪里?按国家和城市细分”
  • “我的用户使用哪些设备和浏览器?”
  • “展示用户旅程——访客通常按顺序浏览哪些页面?”

会话与回放

  • “上个月录制了多少场次?列出最活跃的录音室”
  • “请带我了解会议内容——按页面和事件顺序排列”
  • “哪些录音来自瑞典的移动端?”

实时监控

  • “现在有多少人在我的网站上?他们在浏览哪些页面?”
  • “我的网站是否出现任何问题?检查流量是否大幅下降”

内容与竞选分析

  • “我应该更新哪些博客文章?显示流量下降的文章”

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Umami MCP Server

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

Prompts

Analytics & Traffic

  • “Give me a comprehensive analytics report for my website over the last 30 days”
  • “Which pages are getting the most traffic this month? Show me the top 10”
  • “Analyze my website’s traffic patterns - when do I get the most visitors?”

User Insights

  • “Where are my visitors coming from? Break it down by country and city”
  • “What devices and browsers are my users using?”
  • “Show me the user journey - what pages do visitors typically view in sequence?”

Sessions & Replay

  • “How many sessions were recorded last month? List the most active ones”
  • “Walk me through what session did — the pages and events in order”
  • “Which recorded sessions came from mobile in Sweden?”

Real-time Monitoring

  • “How many people are on my website right now? What pages are they viewing?”
  • “Is my website experiencing any issues? Check if traffic has dropped significantly”

Content & Campaign Analysis

  • “Which blog posts should I update? Show me articles with declining traffic”
  • “How did my recent email campaign perform? Track visitors from the campaign UTM”
  • “Compare traffic from different social media platforms”

Quick Start

Option 1: Download Binary

Get the latest release for your platform from Releases

Option 2: Docker

docker run -i --rm \
  -e UMAMI_URL="https://your-instance.com" \
  -e UMAMI_USERNAME="username" \
  -e UMAMI_PASSWORD="password" \
  ghcr.io/macawls/umami-mcp-server
在 GitHub 查看完整 README

安装

docker run -i --rm -e UMAMI_URL -e UMAMI_USERNAME -e UMAMI_PASSWORD ghcr.io/macawls/umami-mcp-server
新手?先看 mcpskill.org 教程 →

配置

{ "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" } } }