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

Umami MCP

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

安装

概览

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

Query Umami Analytics v3 — stats, funnels, retention, attribution, UTM. Read-only by default.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

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

安装

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

安装之前

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

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

你需要

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

你用的是哪个应用?

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

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

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

在终端中运行这条命令

claude mcp add umami --env UMAMI_URL=your-value --env UMAMI_USERNAME=your-value --env UMAMI_PASSWORD=your-value --env UMAMI_API_KEY=your-value --env UMAMI_MCP_MODE=your-value -- npx -y @asif2bd/umami-mcp

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

在 Cursor 中打开

或者自己复制设置

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

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

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

在 VS Code 中打开

或者自己复制设置

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

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

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

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

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

需要你填写的值

  • UMAMI_URL 必填 env
    Your Umami instance URL, e.g. https://analytics.example.com
  • UMAMI_USERNAME env
    Umami username. Self-hosted Umami has no API keys, so a login is required.
  • UMAMI_PASSWORD 机密 env
    Umami password. Prefer a dedicated, limited account over your admin login.
  • UMAMI_API_KEY 机密 env
    Umami Cloud API key, used instead of username and password.
  • UMAMI_MCP_MODE env
    Permission tier: read (default), write, or admin. Tools above the tier are never registered.

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

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

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

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

常见问题

Umami MCP 安全吗?

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

它需要哪些密钥或代码?

你需要填写:UMAMI_URL, UMAMI_PASSWORD, UMAMI_API_KEY

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

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

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.3)于2个月前进入注册中心。

哪些应用可以使用它?

支持 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、图片和脚本已被移除。链接会离开本站。

Umami MCP Server

A Model Context Protocol server for Umami Analytics. Ask Claude, Cursor or any MCP client about your traffic — and let it create and manage websites — while your credentials stay on your own machine.

"Which pages drove the most visitors last month, and where did that traffic come from?"

"Build a funnel from /pricing to /signup to /welcome for the last 30 days." "Add analytics for my new site blog.example.com and give me the tracking snippet."

A throwaway site with generated traffic, on a live Umami 3.3.1 instance, read by a view-only service account — so the counts are small and mean nothing, but every one of them was really collected and really queried. Regenerate with vhs demo/demo.tape.

Why this exists

Umami now ships an official MCP server (since v3.4.0, MCP_ENABLED=1, endpoint /mcp). If read-only analytics is all you need, use that: it runs inside Umami, so there is nothing extra to deploy. See the Umami docs.

This server is for what the official one deliberately leaves out:

Official (/mcp)umami-mcp
Read analytics and reportsyesyes
Create and update websites, teams, tracking snippets—write mode
User management—admin mode
Delete website / reset data—opt-in only
Umami older than 3.4—3.x
Sign-inAPI keyAPI key, password, or OAuth (multi-tenant)

Several community servers exist too, and if you just want broad API coverage you should look at 0xtlt/umami-mcp first — it wraps more of the API than this does. Some of the older servers (jakeyShakey, mikusnuz, mittwald, Macawls) were written against the v2 API and break on a modern instance, because v3 renamed things without aliases:

Umami v2Umami v3
Top pages/metrics?type=url/metrics?type=path
Hostnames/metrics?type=host/metrics?type=hostname
UTM data/metrics?type=utm_sourcePOST /api/reports/utm
Funnels, retention, journeys, attribution, revenue—POST /api/reports/*

This server exists for two things the others do not do:

1. Complete, verified v3 report coverage. All seven v3 report types — funnel, retention, journey, goal, revenue, attribution and UTM — were exercised against a live Umami 3.3.1 instance. The report envelope is easy to get wrong: dates go in parameters as ISO-8601 strings, not in filters, and not as the epoch milliseconds the rest of the API uses. Attribution takes first-click / last-click, not the camelCase spellings you would guess.

2. A capability model rather than a boolean. See below.

Security model

An analytics MCP server holds a credential that can read every visitor session you have ever recorded — and, if you let it, delete the lot. The design follows from that.

Your credentials never leave your environment. Configuration is read only from the process environment. There is no telemetry, no phone-home, and no hosted relay. The only host this server ever contacts is the UMAMI_URL you set. If you self-host it, nothing about your analytics ever reaches a third party — including the author of this software.

Be wary of any Umami MCP that offers a hosted endpoint you point at your instance. Before

Umami 3.4 a self-hosted instance had no API keys, so "convenient" hosting meant mailing your

admin password to someone else's server. On 3.4+, give such a service a revocable API key

from a dedicated account, never a password.

Least privilege by default. The server starts in read mode. Widening is a deliberate act:

ModeAdds
read *(default)*Analytics, reports, listing websites
writeCreate and update websites and teams
adminUser management
+ UMAMI_MCP_ALLOW_DESTRUCTIVE=trueDelete website, reset data, delete user

Withheld tools are not registered at all, so they never appear in the model's tool list. This is the part that differs from a READONLY=true flag: a tool that was never advertised cannot be invoked by a prompt-injected instruction hidden in, say, a referrer string or a page title inside your own analytics data. There is no runtime check to forget or bypass, because there is no tool.

Destructive actions need a typed confirmation checked against reality. umami_delete_website takes a confirmDomain argument, fetches the live record, and refuses unless they match. A model that reaches for the wrong website UUID gets an error, not a wiped dataset.

Credentials stay out of client config. Rather than requiring your password inside ~/.claude.json or mcp.json, the server reads it from a file you control at ~/.config/umami-mcp/env, and warns if that file is readable by other users. See Credentials.

Secrets are scrubbed from output. MCP output flows into a model and often into a chat transcript, which cannot be un-said. Passwords, bearer tokens and JWTs are redacted from every error and response before they leave the process.

Refuses to leak credentials over the wire. Plaintext HTTP to a remote host is rejected at startup; it is permitted only for localhost, for local development.

Install

Three ways to run it. Self-hosting is the default and the recommended one — the hosted instance exists so you can try it in two minutes without cloning anything.

Runs whereCredentials liveBest for
Hostedasif.devSealed in your token, never storedTrying it out; Claude web and Cowork
SourceYour machineA file only you can readDaily use in Claude Code
DockerYour serverYour .envTeams, always-on

If you self-host and want it in Claude web, run it with UMAMI_MCP_OAUTH=true behind your own domain — then nothing of yours touches anyone else's infrastructure.

1. Use the hosted instance (nothing to install)

Add a custom connector in Claude pointing at:

https://umami-mcp.asif.dev/mcp

You will be asked for your own Umami URL and login on a consent screen. See Claude web, Cowork, and Claude Code on web for how the credentials are handled.

2. From source
git clone https://github.com/Asif2BD/umami-mcp.git

cd umami-mcp npm install && npm run build

Then set up credentials and register it with your client:

claude mcp add umami --scope user -- node "$PWD/dist/index.js"

Requires Node 20 or newer.

3. Docker
git clone https://github.com/Asif2BD/umami-mcp.git

cd umami-mcp cp .env.example .env # then edit .env docker compose up -d

npm: not published yet. Once it is, npx -y @asif2bd/umami-mcp will replace the

clone-and-build step above. Until then use source or Docker.

Credentials

On Umami 3.4.0 or later, prefer an API key (Settings → API keys) in UMAMI_API_KEY: it can be revoked on its own without changing a password. It is sent as Authorization: Bearer to a self-hosted instance and as x-umami-api-key to Umami Cloud. Older instances have no API keys, so the credential is a real account password. Either way, MCP clients normally want that embedded in their config JSON — ~/.claude.json, mcp.json and friends — which are widely readable, get pasted into issues and screen-shares, and are synced between machines by some clients.

So this server reads credentials from a file you control instead. Create it once:

mkdir -p ~/.config/umami-mcp

cat > ~/.config/umami-mcp/env <<'EOF' UMAMI_URL=https://analytics.example.com UMAMI_USERNAME=mcp-bot UMAMI_PASSWORD=your-password UMAMI_MCP_MODE=read EOF chmod 600 ~/.config/umami-mcp/env

The server loads it automatically. It warns on startup if the file is readable by other users.

Lookup order — the first file found wins, and real environment variables always override the file, so you can still pass settings from the client config when you want to:

  1. $UMAMI_MCP_ENV_FILE, if set
  2. ~/.config/umami-mcp/env (or $XDG_CONFIG_HOME/umami-mcp/env)
  3. ./.env in the working directory

Connect your client

Claude Code

With the credentials file above, the registration carries no secrets at all:

claude mcp add umami --scope user -- node ~/umami-mcp/dist/index.js

Use the absolute path to your checkout. If your Node lives under nvm, give the full interpreter path too, since MCP clients do not load your shell profile:

claude mcp add umami --scope user -- ~/.nvm/versions/node/v22.22.0/bin/node ~/umami-mcp/dist/index.js
Claude Desktop / Cursor / VS Code
{

"mcpServers": { "umami": { "command": "node", "args": ["/absolute/path/to/umami-mcp/dist/index.js"] } } }

If you would rather keep everything in one place, environment variables still work and take precedence over the file:

{

"mcpServers": { "umami": { "command": "node", "args": ["/absolute/path/to/umami-mcp/dist/index.js"], "env": { "UMAMI_URL": "https://analytics.example.com", "UMAMI_USERNAME": "mcp-bot", "UMAMI_PASSWORD": "your-password" } } } }

Check it works

Ask your client to run umami_whoami. It reports the instance, the account, and the permission mode — the fastest way to confirm the connection and see how much the server is allowed to do:

{

"instance": "https://analytics.example.com", "authenticatedAs": "mcp-bot", "role": "admin", "serverMode": "read", "destructiveOperations": "disabled" }

Then try: *"List my Umami websites"*, or *"What were my top pages last week?"*

Claude web, Cowork, and Claude Code on web

Those clients cannot launch a local process, so they need a public HTTPS MCP server — and their connector UI accepts OAuth only, with no field for a static bearer token or custom header.

Hosting the obvious way, with one set of Umami credentials baked in and no authentication, turns the URL into an open proxy to that Umami. So this server does OAuth instead, and does it without becoming a credential store.

Use the hosted instance

Add a custom connector in Claude with this URL:

https://umami-mcp.asif.dev/mcp

Claude registers itself, sends you to a consent screen, and asks for your own Umami URL, username and password. Nothing is shared with other users of the host.

Host your own
UMAMI_MCP_OAUTH=true

UMAMI_MCP_TRANSPORT=http UMAMI_MCP_ISSUER=https://mcp.example.com # public HTTPS URL of this server UMAMI_MCP_TOKEN_KEY=<32 random bytes> # keep stable; see below UMAMI_MCP_TOKEN_TTL=2592000

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx