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

ObsidianCorps Umami Analytics

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

安装

概览

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

Umami v3 MCP for Cloud or self-hosted analytics, with read-only, privacy-conscious defaults.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

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

安装

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

安装之前

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

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

你需要

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

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "umami": {
      "command": "npx",
      "args": [
        "-y",
        "@obsidiancorps/umami-mcp"
      ],
      "env": {
        "UMAMI_API_KEY": "your-value",
        "UMAMI_BASE_URL": "your-value",
        "UMAMI_TOKEN": "your-value",
        "UMAMI_USERNAME": "your-value",
        "UMAMI_PASSWORD": "your-value",
        "UMAMI_TWO_FACTOR_SECRET": "your-value",
        "UMAMI_DEFAULT_WEBSITE_ID": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add umami --env UMAMI_API_KEY=your-value --env UMAMI_BASE_URL=your-value --env UMAMI_TOKEN=your-value --env UMAMI_USERNAME=your-value --env UMAMI_PASSWORD=your-value --env UMAMI_TWO_FACTOR_SECRET=your-value --env UMAMI_DEFAULT_WEBSITE_ID=your-value -- npx -y @obsidiancorps/umami-mcp

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

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "umami": {
      "command": "npx",
      "args": [
        "-y",
        "@obsidiancorps/umami-mcp"
      ],
      "env": {
        "UMAMI_API_KEY": "your-value",
        "UMAMI_BASE_URL": "your-value",
        "UMAMI_TOKEN": "your-value",
        "UMAMI_USERNAME": "your-value",
        "UMAMI_PASSWORD": "your-value",
        "UMAMI_TWO_FACTOR_SECRET": "your-value",
        "UMAMI_DEFAULT_WEBSITE_ID": "your-value"
      }
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "umami": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@obsidiancorps/umami-mcp"
      ],
      "env": {
        "UMAMI_API_KEY": "your-value",
        "UMAMI_BASE_URL": "your-value",
        "UMAMI_TOKEN": "your-value",
        "UMAMI_USERNAME": "your-value",
        "UMAMI_PASSWORD": "your-value",
        "UMAMI_TWO_FACTOR_SECRET": "your-value",
        "UMAMI_DEFAULT_WEBSITE_ID": "your-value"
      }
    }
  }
}

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

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

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

需要你填写的值

  • UMAMI_API_KEY 机密 env
    Umami Cloud API key. Configure this or one self-hosted authentication mode.
  • UMAMI_BASE_URL env
    Base URL of a self-hosted Umami instance, for example https://analytics.example.com.
  • UMAMI_TOKEN 机密 env
    Pre-issued self-hosted Umami token. Use with UMAMI_BASE_URL instead of login credentials.
  • UMAMI_USERNAME env
    Self-hosted Umami username. Use with UMAMI_BASE_URL and UMAMI_PASSWORD.
  • UMAMI_PASSWORD 机密 env
    Self-hosted Umami password. Use with UMAMI_BASE_URL and UMAMI_USERNAME.
  • UMAMI_TWO_FACTOR_SECRET 机密 env
    Optional Base32 TOTP setup secret for automatic Umami 3.3+ two-factor login.
  • UMAMI_DEFAULT_WEBSITE_ID env
    Optional default website UUID used when a tool call does not select a website.

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

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

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

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

常见问题

ObsidianCorps Umami Analytics 安全吗?

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

它需要哪些密钥或代码?

你需要填写:UMAMI_API_KEY, UMAMI_TOKEN, UMAMI_PASSWORD, UMAMI_TWO_FACTOR_SECRET

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

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

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.2)于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、图片和脚本已被移除。链接会离开本站。

ObsidianCorps Umami MCP

Ask questions about your self-hosted Umami analytics without sending the data to another analytics SaaS.

A secure, model-friendly Model Context Protocol server for Umami Cloud and self-hosted Umami Analytics. It targets Umami v3.3.1 and the 2026-07-28 MCP protocol, while retaining compatibility with 2025-era MCP clients.

Install

Requirements: Node.js 20 or newer and one configured authentication mode.

npx -y @obsidiancorps/umami-mcp

Try asking:

  • “Compare website traffic with last month.”
  • “Which sources generated the most conversions?”
  • “Find pages with poor Web Vitals.”

Agent skill

This repository also includes the Umami Analytics skill. The MCP server provides access to Umami; the skill guides an agent through traffic comparisons, conversion analysis, revenue, and performance investigations using those tools. It follows the Agent Skills format.

For MCP Market's Import from GitHub, use the skill folder URL:

https://github.com/ObsidianCorps/umami-mcp/tree/main/skills/umami-analytics

The URL must point to the folder containing SKILL.md. For a public repository, select Public repo. The folder must be pushed to main before the marketplace can import it.

For manual installation, copy skills/umami-analytics into your agent's skills directory (for example, .claude/skills/umami-analytics in a project). Configure and authenticate the MCP server separately; importing the skill does not install the server or grant access to analytics.

Why this implementation

  • Current Umami v3 coverage: revenue APIs, session replay, heatmaps, event/session property pivots and typed series, segments, cohorts, boards, links, pixels, Web Vitals reports, and the established analytics APIs.
  • Compact model surface: 17 read tools organize the API around analytical workflows instead of advertising dozens of near-duplicate endpoint tools.
  • Model-friendly inputs: website names/domains resolve automatically, one accessible website is selected automatically, and date ranges accept presets or exact ISO/epoch timestamps.
  • Structured MCP results: every tool advertises an output schema and returns structuredContent plus readable JSON.
  • Safe defaults: mutations are absent by default; destructive tools need a second opt-in and an exact target-specific confirmation string.
  • Two modern transports: local stdio and stateless Streamable HTTP. Legacy HTTP+SSE is intentionally not carried forward.
  • Defense in depth: response byte limits, request timeouts, HTTPS enforcement, token refresh, DNS-rebinding protection, exact origin checks, and constant-time MCP bearer checks.
  • Cloud and self-hosted auth: Umami Cloud API keys, pre-issued self-hosted tokens, or lazy username/password login—including Umami v3.3+ two-factor verification—with a single refresh after 401.

Configure

From source

Requirements: Node.js 20 or newer.

npm install

npm run build UMAMI_API_KEY=your-key node dist/cli.js

Example MCP client configuration:

{

"mcpServers": { "umami": { "command": "npx", "args": ["-y", "@obsidiancorps/umami-mcp"], "env": { "UMAMI_API_KEY": "your-key", "UMAMI_DEFAULT_WEBSITE_ID": "optional-website-uuid" } } } }

For a source checkout, replace the command with node and the arguments with the absolute path to dist/cli.js.

Authentication

Choose exactly one mode:

ModeVariablesAPI base
Umami CloudUMAMI_API_KEYDefaults to https://api.umami.is/v1
Self-hosted tokenUMAMI_BASE_URL, UMAMI_TOKEN/api is added to a root URL
Self-hosted loginUMAMI_BASE_URL, UMAMI_USERNAME, UMAMI_PASSWORD/api is added to a root URL
Self-hosted login+2FALogin variables plus UMAMI_TWO_FACTOR_SECRET/api is added to a root URL
One-off 2FA loginLogin variables plus a current six-digit UMAMI_TWO_FACTOR_CODE/api is added to a root URL

UMAMI_TWO_FACTOR_SECRET is the Base32 setup seed shown when enrolling an authenticator. The MCP generates a six-digit SHA-1 TOTP just-in-time and never logs or returns it. Because storing the password and TOTP seed together removes the separation between factors, use a dedicated least-privilege Umami account and protect its environment. A pre-issued UMAMI_TOKEN avoids retaining either credential.

UMAMI_TWO_FACTOR_CODE is only a one-off fallback; it expires quickly and is unsuitable for normal MCP startup. Configure only one two-factor variable.

Non-local plain HTTP Umami URLs are rejected. For an explicitly trusted private network only, set UMAMI_ALLOW_INSECURE_HTTP=true.

Tools

The default read-only set is:

ToolPurpose
umami_check_connectionVerify auth and inspect the current account
umami_list_websites, umami_get_websiteDiscover and inspect sites
umami_get_overview, umami_get_metricsAggregate KPIs, series, and ranked dimensions
umami_get_realtimeInspect the current 30-minute activity window
umami_list_sessions, umami_inspect_sessionBrowse sessions, activity, properties, and replay metadata
umami_query_session_dataQuery session properties, pivots, stats, weekly traffic, and typed series
umami_list_events, umami_query_event_dataBrowse events, comparison stats, series, properties, values, and pivots
umami_get_revenueFetch revenue stats, charts, dimensions, and sessions
umami_list_replaysList replays or retrieve a replay event stream
umami_run_report, umami_list_reportsRun or discover funnel, journey, goal, retention, attribution, UTM, revenue, performance, breakdown, and heatmap reports
umami_list_segmentsDiscover segments and cohorts
umami_list_assetsDiscover boards, tracked links, and pixels

Resources expose umami://capabilities and the live umami://websites list. Reusable prompts cover analytics review, conversion review, and realtime triage.

Time ranges

Most analytical tools accept either:

  • period: last_24_hours, last_7_days, last_30_days, last_90_days, today, yesterday, this_week, last_week, this_month, or last_month; or
  • both startAt and endAt as epoch milliseconds or ISO 8601 timestamps with an offset.

Calendar periods honor the supplied IANA timezone. Rolling periods retain the most recent data instead of rounding to midnight.

Mutations and destructive operations

No mutation tool is registered by default.

UMAMI_ENABLE_WRITE_TOOLS=true

This adds tools for creating/updating websites, segments, reports, boards/links/pixels, and sending analytics events. To additionally expose permanent reset/delete operations:

UMAMI_ENABLE_WRITE_TOOLS=true

UMAMI_ENABLE_DESTRUCTIVE_TOOLS=true

Destructive calls require confirmation strings such as RESET or DELETE reports . MCP annotations also identify these tools as destructive so supporting hosts can require approval.

Streamable HTTP

Loopback example:

MCP_TRANSPORT=http MCP_BEARER_TOKEN=replace-me npm start

MCP: http://127.0.0.1:3000/mcp

Health: http://127.0.0.1:3000/health

For a container or non-loopback bind, both MCP_BEARER_TOKEN and MCP_ALLOWED_HOSTS are required:

docker build -t umami-mcp .

docker run --rm -p 3000:3000 \ -e UMAMI_API_KEY=your-key \ -e MCP_BEARER_TOKEN=long-random-secret \ -e MCP_ALLOWED_HOSTS=mcp.example.com \ umami-mcp

Set MCP_ALLOWED_ORIGINS to a comma-separated list of exact browser origins if browser-based MCP clients connect. Requests without an Origin header remain valid for native clients. Terminate TLS at a trusted reverse proxy; the built-in static bearer gate is suitable behind that boundary, not a replacement for OAuth on a public multi-user service.

Configuration reference

VariableDefaultDescription
UMAMI_BASE_URLCloud API for API-key authUmami root or full API base URL
UMAMI_DEFAULT_WEBSITE_ID—Avoids site resolution for most calls
UMAMI_TIMEOUT_MS15000Upstream request timeout, 100–120000 ms
UMAMI_MAX_RESPONSE_BYTES512000Maximum upstream response, 1 KB–10 MB
UMAMI_ENABLE_WRITE_TOOLSfalseRegisters non-destructive mutation tools
UMAMI_ENABLE_DESTRUCTIVE_TOOLSfalseRegisters reset/delete tools; requires write tools
MCP_TRANSPORTstdiostdio, http, or streamable-http
MCP_HOST127.0.0.1HTTP bind address
MCP_PORT3000HTTP port
MCP_BEARER_TOKEN—Protects the HTTP MCP endpoint
MCP_ALLOWED_HOSTS—Comma-separated hostnames for non-loopback HTTP
MCP_ALLOWED_ORIGINS—Comma-separated exact browser origins

Development

npm install

npm test npm run typecheck npm run lint npm run format:check npm run build npm run check

Tests drive the server through real in-memory, stdio, and Streamable HTTP MCP clients. See CONTRIBUTING.md and SECURITY.md before opening a change.

Compatibility baseline

  • Um

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

问 PopNx