原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Umami

作者:mikusnuz版本 2.1.1i★ –i在你的电脑上运行
注册名称io.github.mikusnuz/umami

安装

概览

作者提供的说明(英文原文)

MCP server for Umami Analytics v3 — analytics, boards, links, pixels, reports, replay, and more

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 营销与社交媒体
  • 你需要填写:UMAMI_PASSWORD, UMAMI_API_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: UMAMI_MODE, UMAMI_URL, UMAMI_COLLECTOR_URL, UMAMI_USERNAME, UMAMI_PASSWORD, UMAMI_API_KEY

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "umami": {
      "command": "npx",
      "args": [
        "-y",
        "@mikusnuz/umami-mcp"
      ],
      "env": {
        "UMAMI_MODE": "your-value",
        "UMAMI_URL": "your-value",
        "UMAMI_COLLECTOR_URL": "your-value",
        "UMAMI_USERNAME": "your-value",
        "UMAMI_PASSWORD": "your-value",
        "UMAMI_API_KEY": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add umami --env UMAMI_MODE=your-value --env UMAMI_URL=your-value --env UMAMI_COLLECTOR_URL=your-value --env UMAMI_USERNAME=your-value --env UMAMI_PASSWORD=your-value --env UMAMI_API_KEY=your-value -- npx -y @mikusnuz/umami-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "umami": {
      "command": "npx",
      "args": [
        "-y",
        "@mikusnuz/umami-mcp"
      ],
      "env": {
        "UMAMI_MODE": "your-value",
        "UMAMI_URL": "your-value",
        "UMAMI_COLLECTOR_URL": "your-value",
        "UMAMI_USERNAME": "your-value",
        "UMAMI_PASSWORD": "your-value",
        "UMAMI_API_KEY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "umami": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mikusnuz/umami-mcp"
      ],
      "env": {
        "UMAMI_MODE": "your-value",
        "UMAMI_URL": "your-value",
        "UMAMI_COLLECTOR_URL": "your-value",
        "UMAMI_USERNAME": "your-value",
        "UMAMI_PASSWORD": "your-value",
        "UMAMI_API_KEY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • UMAMI_MODE env
    Optional 'self-hosted' or 'cloud' override; otherwise inferred from UMAMI_URL
  • UMAMI_URL env
    Self-hosted Umami instance URL; optional for Cloud API keys
  • UMAMI_COLLECTOR_URL env
    Optional collection host for send, batch, heartbeat, share, and recorder calls
  • UMAMI_USERNAME env
    Login username (for self-hosted)
  • UMAMI_PASSWORD 机密 env
    Login password (for self-hosted)
  • UMAMI_API_KEY 机密 env
    Bearer API key for Umami Cloud or self-hosted Umami 3.4+

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 mikusnuz 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“营销与社交媒体”中的其他服务器比较i

  • 星标数多于此分类中其他 3558 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 3558 个服务器的 63% 更新
  • 基础检查结果等于或优于此分类中其他 3558 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Umami 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:UMAMI_PASSWORD, UMAMI_API_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(2.1.1)于19天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

MCP YouTube Transcript

作者:jkawamoto

An MCP server retrieving transcripts of YouTube videos

在你的电脑上运行★ 495MIT10天前更新
安装

Google Analytics MCP

作者:surendranb

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

在你的电脑上运行★ 244MIT10天前更新
安装

AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.

在云端运行★ 137MIT10天前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

English | 한국어

umami-mcp

Model Context Protocol server for the Umami Analytics v3 API. It supports self-hosted username/password or API-key authentication and Umami Cloud API keys, and exposes analytics, collection, administration, and v3 feature families such as boards, links, pixels, segments, session replay, shares, exports, performance, and revenue.

This version intentionally does not claim every private Umami route. Its tools track the documented API, including Umami 3.4 API-key authentication. Report tools use the legacy report contracts that Umami 3.4 continues to support.

Requirements

  • Node.js 20 or newer, matching the MCP SDK's installed runtime dependencies
  • Umami v3.3-compatible self-hosted instance (3.4+ for API keys, session-property segments and annotations), or Umami Cloud with the corresponding routes enabled

Installation

npm install -g @mikusnuz/umami-mcp

Or run it directly:

npx -y @mikusnuz/umami-mcp

Configuration

Self-hosted
{

"mcpServers": { "umami": { "command": "npx", "args": ["-y", "@mikusnuz/umami-mcp"], "env": { "UMAMI_URL": "https://analytics.example.com", "UMAMI_USERNAME": "admin", "UMAMI_PASSWORD": "your-password" } } } }

UMAMI_URL is the instance origin. A trailing /api is accepted, but is not required.

On Umami 3.4+, create an API key under Settings → API keys and replace UMAMI_USERNAME and UMAMI_PASSWORD with UMAMI_API_KEY. Set UMAMI_MODE to self-hosted to select the deployment mode explicitly.

Umami Cloud
{

"mcpServers": { "umami": { "command": "npx", "args": ["-y", "@mikusnuz/umami-mcp"], "env": { "UMAMI_API_KEY": "your-cloud-api-key" } } } }

Cloud management calls default to https://api.umami.is/v1; tool paths are translated from self-hosted /api/... paths to Cloud /v1/... paths. Set UMAMI_URL to https://api.umami.is/v1/us or https://api.umami.is/v1/eu when an explicit Cloud region is required. For a Cloud API proxy on another hostname, also set UMAMI_MODE to cloud.

Environment variables
VariableWhen requiredDescription
UMAMI_MODEOptionalself-hosted or cloud; auto-detected when omitted
UMAMI_URLSelf-hostedInstance origin; optional for Cloud
UMAMI_USERNAMEWithout a self-hosted API keyLogin username
UMAMI_PASSWORDWithout a self-hosted API keyLogin password
UMAMI_API_KEYCloud; optional for self-hosted 3.4+Bearer API key
UMAMI_COLLECTOR_URLOptionalSeparate host for public collection/share/heartbeat/recorder routes

For Cloud, the collector defaults to https://cloud.umami.is. For self-hosted Umami it defaults to UMAMI_URL. An API key without UMAMI_URL, or a URL on api.umami.is, selects Cloud. Any other configured URL selects self-hosted mode, even when using an API key.

Authentication and public routes

Management and analytics tools send a bearer token. The client logs in to a self-hosted instance lazily and caches the returned JWT when using a password. API keys are sent directly as the bearer credential on both deployment types.

The public collection routes do not require credentials:

  • send_event, send_identify, send_performance
  • batch_events (raw JSON array, up to 500 items)
  • heartbeat, get_share, get_recorder_config

If self-hosted login reports that two-factor authentication is required, call complete_two_factor_login with a current TOTP or backup code, then retry the original tool. Setup and policy tools are also exposed for self-hosted Umami.

Umami Cloud does not expose /me/password, /users, or /users/* through an API key. Those tools are for self-hosted instances.

Tool groups

AreaRepresentative tools
Websiteslist_websites, CRUD, reset, transfer to user/team, replay configuration
Analyticsget_stats, get_pageviews, get_metrics, get_events, get_sessions, event series
Event/session dataevent values, fields, properties, values, session activity
Collectionevent/pageview, identify, performance, raw batch, link/pixel events
Reportssaved-report CRUD and run_report for attribution, breakdown, funnel, goal, heatmap, journey, performance, retention, revenue, and UTM
Boardslist, CRUD, clone, and team boards
Links and pixelslist, CRUD, charts, and collection events
Segmentssegment/cohort list and CRUD
Annotations (3.4+)list_annotations, get_annotation, create_annotation, update_annotation, delete_annotation
Replayrecorder config, replay list/detail, saved replays, session replays
Shares and exportpublic share resolution, managed website shares, update/delete, CSV ZIP export
Revenuestats, chart, metrics, and revenue sessions
Users and teamscurrent admin-user and team membership/transfer routes
2FAlogin completion, enrollment, disable, and admin enforcement policies
Realtimeget_realtime

Use MCP tools/list for the complete, machine-readable list and schemas.

Important v3 contract details

  • A pageview is sent as { "type": "event" } with no event name; the old pageview type is no longer valid.
  • /api/batch receives the event objects as a raw array, not { "events": [...] }. The tool returns Umami's processed, errors, and per-item details fields and marks partial failures as an MCP error result.
  • Collector calls set a stable non-bot User-Agent header as required by Umami; send_event and batch items may also supply the visitor's userAgent and trusted server-side ip in the payload.
  • Analytics URL filters and page metrics use path; the old url metric was removed. Host aggregation uses hostname.
  • Additional filters are preserved even when the corresponding named option is omitted. An explicitly supplied named option takes precedence over filters.
  • Segment creation and updates support filters, sessionPropertyFilters, match, dateRange, and action. Session-property data types are 1=string, 2=number, 3=boolean, 4=date, 5=array. Cohorts do not support session-property filters. Unknown nested fields are rejected rather than silently discarded.
  • Annotations require Umami 3.4+ and website edit permission for writes. Supply an ISO date or timestamp, a 1–500 character note, and optionally allDay (default true). Updates replace all three fields; list date filters require both startAt and endAt in milliseconds. An older server may return 404.
  • Supported time units are minute, hour, day, month, and year.
  • get_event_series and get_sessions_weekly require an IANA timezone.
  • list_reports requires websiteId; report execution sends { websiteId, type, filters, parameters }.
  • Team website membership is changed through transfer_website; the removed team-website POST/DELETE routes are not exposed.

Development

npm install

npm test

npm test builds the TypeScript server, checks Cloud/self-hosted URL and auth behavior, verifies raw public batch requests and the 2FA login flow, and validates key MCP schemas.

Official references

License

MIT

问 PopNx