原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Analyga

作者:jyswee版本 0.1.15i★ 0i电脑或云端
注册名称io.github.jyswee/analyga

安装方法

What it does

Agent-first analytics: stats, events, sessions, funnels, ingest, websites & billing.

  • Connects 电脑或云端
  • Account or key Cloud: Works without a key · add Authorization if you have one (often raises limits) · Local: Needs ANALYGA_KEY
  • Category 营销与社交媒体

安装

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

通过 3/4 项检查 · 你的提问会经过开发者的服务器(mcp.analyga.com)

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude · 约 2 分钟

不需要密钥,不用安装程序 · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个 · Team/Enterprise 方案由所有者(Owner)添加

  1. 打开 Claude 的 Connectors 页面

    CustomizeConnectors

    CustomizeConnectors1+ Add2https://…3Add4
  2. 点击“+ Add” → “Add custom connector”,填写这 2 项

    把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue

    Name · 名称Analyga
    Remote MCP server URL · 地址https://mcp.analyga.com/sse

    Authentication 保持 Claude 检测到的设置,然后点击 Add

  3. 在聊天中开启

    +ConnectorsAnalyga

  4. 试一试

    用 Analyga 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Analyga,或回答中出现 Analyga 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

仅企业版 ChatGPT 可连接

适用于网页版 ChatGPT Business、Enterprise 或 Edu,需由工作区管理员或所有者添加 · 使用 Free、Plus 或 Pro:你的 ChatGPT 方案暂时无法自行连接 MCP

  1. 在网页版 ChatGPT 打开添加 MCP 的页面

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. 填写名称和地址

    输入名称,在 Connection 下粘贴地址,勾选风险提示,然后点击 Create as a plugin

    Name · 名称Analyga
    Connection · 地址https://mcp.analyga.com/sse
  3. 在聊天中选择 Analyga

    开启新聊天,输入前先从插件列表中选择 Analyga

  4. 试一试

    用 Analyga 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 ChatGPT 说正在使用 Analyga,或回答中出现 Analyga 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 OpenAI 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Claude Code · 约 2 分钟

不需要密钥,不用安装程序

  1. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  2. 粘贴这条命令并按 Enter

    claude mcp add --transport sse --scope user analyga https://mcp.analyga.com/sse
  3. 在 Claude Code 中输入 /mcp

    应能看到 Analyga 在列表中并显示已连接

  4. 试一试

    用 Analyga 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Analyga,或回答中出现 Analyga 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor · 约 2 分钟

不需要密钥,不用安装程序

  1. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  2. 在 Cursor 中以 Agent 模式打开 AI 聊天

  3. 试一试

    用 Analyga 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Analyga,或回答中出现 Analyga 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code · 约 2 分钟

不需要密钥,不用安装程序

  1. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  2. 在 VS Code 中以 Agent 模式打开 AI 聊天

  3. 试一试

    用 Analyga 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Analyga,或回答中出现 Analyga 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

通过网页连接的应用使用的地址

地址https://mcp.analyga.com/sse

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Analyga 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

通过网页连接

Claude Code

claude mcp add --transport sse --scope user analyga https://mcp.analyga.com/sse

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "analyga": {
      "url": "https://mcp.analyga.com/sse"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "analyga": {
      "type": "sse",
      "url": "https://mcp.analyga.com/sse"
    }
  }
}

安装在电脑上

Claude Code

claude mcp add --scope user analyga --env ANALYGA_KEY=your-value -- npx -y analyga

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "analyga": {
      "command": "npx",
      "args": [
        "-y",
        "analyga"
      ],
      "env": {
        "ANALYGA_KEY": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "analyga": {
      "command": "npx",
      "args": [
        "-y",
        "analyga"
      ],
      "env": {
        "ANALYGA_KEY": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "analyga": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "analyga"
      ],
      "env": {
        "ANALYGA_KEY": "your-value"
      }
    }
  }
}

需要你填写的值

  • ANALYGA_KEY 机密 env
    Analyga API key (tga_...). Optional: without a key the server starts in onboarding mode and can self-signup via the analyga_signup tool.
  • Authorization 机密 HTTP header
    Bearer token using your Analyga API key: 'Bearer tga_...'. Optional: without one the server starts in onboarding mode and can self-signup via the analyga_signup tool.

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

一览

每周下载量i
76/周
许可证i
未注明许可证
连接方式
电脑或云端
最新版本i
0.1.15
发布到注册中心i
2026年9月24日
代码最后更新i
2026年8月14日
作者
jyswee
软件包
npm: analyga
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

通过互联网连接,适用于

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • ✓ 通过

    仍在维护

    代码最后更新于3个月前

  • ! 注意

    有许可证

    GitHub 无法识别许可证类型;请打开文件自行查看

  • ✓ 通过

    端点有响应

    在 473 毫秒内响应(HTTP 200)

  • – 不适用

    使用 OAuth 登录

    无需登录

  • … 尚未检查

    工具描述中没有隐藏指令

    尚未检查;我们会在检查端点时读取工具列表

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

使用 Google 登录后发帖

用户评价

还没有评价

用 Google 登录后写评价

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

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

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

常见问题

Analyga 安全吗?

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

它需要哪些密钥或代码?

你需要填写:ANALYGA_KEY

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

两种方式都可以:安装在你的电脑上,或者连接云端版本。

它还在维护吗?

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

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于支持远程 MCP 的应用,例如 ChatGPT Business 及以上方案。

有什么可以替代它?

同一分类中有:PostHog MCP Server, Openshorts, Google Ads + Meta Ads + SEO/GEO MCP

同类别的其他选择

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

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

PostHog MCP Server

Official PostHog MCP Server for product analytics, feature flags, experiments, and more.

作者:PostHog广泛使用★ 4.1万 整个仓库的星标10个月前更新

在云端运行

Openshorts

Turn long videos into viral vertical shorts and publish them to TikTok, Instagram and YouTube.

作者:mutonby广泛使用★ 78243个月前更新

在云端运行

作者的 README

打开 README

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

analyga

Agent-first analytics for MCP + web traffic — query, instrument and configure from a terminal or an MCP client. No browser, no dashboard.

A dashboard for humans. `tga` for your agents.

One analytics surface for both halves of modern traffic: the web visits your site still gets, and the agent/MCP calls that increasingly drive it. Analytics tools assume a human staring at a chart — but increasingly the thing that needs the numbers is an agent: it fired the events, it wants to know whether they landed, and it wants five numbers back, not a dashboard to render. analyga is the surface the agent drives itself: one install, and it queries stats and funnels across web and MCP, sends server-side events, and reads its own schema — all as structured JSON, none of it screen-scraped.

Works with: Claude Code · Cursor · Cline · Windsurf · Aider · Codex · any MCP client

*One agent, one terminal — query to funnel in 60 seconds. Watch the full demo.*

See it in action

No mockups — every clip is a live tga session against a seeded tenant. Click any GIF for the full-res video.

Query → funnelAgent self-signupServer-side ingest
One agent, one terminal, 60sKeyless bootstrap — no admin in the loopSend events with a stable --id
MCP clientThe human dashboard
13 native tools in Claude Code / CursorEverything the agent captures, in one real-time UI

Install

npm install -g analyga

The npm package is analyga; the command is tga.

Quick Start

# No account yet? Create a tenant and its first key — no card, no admin in the loop

tga signup --slug acme --name "Acme" --username you --password <8+ chars>

Point at a tenant

tga login --key # or set ANALYGA_KEY

Confirm WHICH tenant you are about to write to (shows tenant + key scope for a tga_ key)

tga whoami

What can this credential see?

tga websites

Five numbers, not a dashboard

tga stats --from 7d

Full reference

tga --help

Every command takes --json — the machine surface is a first-class citizen, not an afterthought:

tga stats <websiteId> --from 7d --json

Read the contract, don't guess flags

tga agent-schema --json

That returns every command, argument, flag, type, whether it is read-only, and the full list of error codes — generated from the same table that drives the parser, the help text and the MCP tools, so it cannot drift from what the CLI actually does. If it is not in the schema, it does not exist.

Query — stats, events, funnels

Ask the questions an agent actually asks after it ships: did the events land, and did anyone make it through the flow?

# Traffic and top-line stats for a window

tga stats --from 7d tga events --from 24h

Define a funnel once, then run it whenever

tga funnel define --name signup --steps "/,/pricing,/signup" tga funnel list tga funnel run --from 30d

Cross-site rollup for a team

tga network --from 7d

All read-only, all --json-able — an agent branches on the numbers instead of parsing a chart.

Identity — pass --id or your agents collapse into one visitor

Anonymous identity is derived from IP and user-agent. Agent traffic shares both — one CLI version means one user-agent, and agents often share an egress IP — so without a stable id every agent behind that IP collapses into a single visitor. It cannot be backfilled.

tga send <websiteId> --name cli_signup --id <stable-user-id> --data '{"source":"cli"}'

Sending events server-side

# Mint a per-website ingest key first (shown ONCE; regenerating rotates it)

tga ingest-key create

tga send --name cli_signup --id \ --ingest-key --data '{"plan":"pro"}'

tga ingest health --from 24h # did anything actually land?

tga ingest-key revoke # kill server-side ingest for this site

A discarded event still answers HTTP 200. The ingest endpoint returns {"beep":"boop"} when it drops an event as a bot. This CLI treats that as a hard failure with a hint rather than reporting success — so an agent never believes a dropped event succeeded.

Server-side ingest uses a separate per-website key (ANALYGA_INGEST_KEY or --ingest-key), scoped to one website so it can only ever write that site's traffic. Mint one with tga ingest-key create and revoke it with tga ingest-key revoke — the plaintext is shown once and only its hash is stored.

Billing — hand a human a checkout URL

An agent authenticates with its tenant key, names a plan, and gets back a Stripe Checkout URL to pass to a human who completes payment:

tga billing checkout --plan pro

The tenant is pinned server-side from the key. The free plan (and any plan without a configured price) is not purchasable, and internal sister-stack tenants are never billed.

MCP Server

Prefer tools over a CLI? analyga ships an MCP server. Point Claude Code (or any MCP client) at it and your agent gets 13 native tools covering stats, events, funnels, websites, identity, server-side ingest (including minting/revoking ingest keys) and billing checkout.

tga mcp-serve        # stdio, for Claude Code / Cursor / Cline / Windsurf

For clients that use a JSON config, pass your key via ANALYGA_KEY. The MCP server runs outside your project directory, so it will not pick up .analyga/config.json:

{

"mcpServers": { "analyga": { "command": "tga", "args": ["mcp-serve"], "env": { "ANALYGA_KEY": "your-key" } } } }

Read-only tools are flagged, so a client will not prompt a human to confirm a read. Every tool declares an outputSchema, so an agent never parses prose or guesses field names — and a tool result and --json output are the same bytes, one client across two surfaces. A session with no key sees only the onboarding surface — how to connect, plus analyga_signup to bootstrap its own tenant — rather than the full toolset.

Error codes

Failures carry a stable code and a distinct exit code, so an agent can branch on the outcome instead of string-matching a message.

ExitMeaningWhat to do
2usagefix the call, do not retry
3authfix the credential
4permissiondo not retry, escalate
5not foundcheck the id
6validationfix the payload
7rate limitedback off and retry
8networkretry is reasonable
9serverretry once, then report

Exit 1 is reserved for unhandled crashes, so a classified failure is never ambiguous. Where the server can say what to do next, it comes back as a hint on its own line.

Configuration

Resolved highest-priority first:

  1. --key flag
  2. ANALYGA_KEY environment variable
  3. .analyga/config.json in the current directory

tga whoami reports which of these won. On a multi-tenant platform, "which tenant am I about to write to" is the question that matters most. .analyga/ holds a live credential — keep it out of version control.

Features

  • Self-serve signup — tga signup creates a tenant and its first API key with no card and no admin in the loop; keyless, so it works before you have a credential
  • Tenant-aware identity — tga whoami shows the pinned tenant and key scope for a tga_ key, or the user and teams for a session login
  • Stats & events — top-line traffic and event counts over any window, all read-only, all --json
  • Funnels — define once, run anytime; step-by-step conversion for a site
  • Network rollup — cross-site stats for a whole team
  • Server-side ingest — tga send with a scoped per-site key; mint/rotate/revoke keys with tga ingest-key create|revoke; dropped-as-bot events fail loudly instead of faking a 200
  • Billing checkout — tga billing checkout --plan returns a Stripe URL to hand to a human
  • Stable identity — --id keeps agents from collapsing into one anonymous visitor
  • agent-schema — one command emits the full contract (commands, flags, types, error codes) so agents never guess
  • MCP server — 13 tools (tga mcp-serve) for Claude Code, Cursor, Cline, Windsurf, any MCP client
  • Classified errors — stable code + distinct exit code per failure class, with actionable hints

Agent Integration

Add to your CLAUDE.md, .cursorrules, .clinerules, .windsurfrules, or AGENTS.md:

## Analyga

This project uses Analyga for analytics. Use the tga CLI. Config is in .analyga/config.json (auto-loaded), or set ANALYGA_KEY. If not configured: tga login --key YOUR_KEY

Run tga agent-schema --json — it returns every command + valid flags + error codes. This is the single source of truth: if it is not in the schema, do not use it. Always pass --id on tga send, or agent traffic collapses into one visitor.

Why this exists

Every analytics tool I reached for assumed a human looking at a chart — but the thing that needed the numbers was the agent that fired the events. So the CLI and the MCP server are the primary interface here, not a wrapper bolted onto a REST API. It's early and iterating fast: if something's rough or missing, open an issue.

Documentation

For now, tga --help and tga agent-schema --json are the authoritative reference.

Status

Early. Published for dogfooding by the Tyga sister stacks. Interfaces may change; error codes will not be reworded once published, because agents branch on them.

License

Proprietary — Tyga.Cloud Ltd. See LICENSE.