ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Analyga

โดย jysweeรุ่น 0.1.15i★ –iบนเครื่องหรือคลาวด์
ชื่อใน registryio.github.jyswee/analyga

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

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

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: บนเครื่องหรือคลาวด์
  • ช่องทาง (transport): stdio, SSE
  • หมวด: การตลาดและโซเชียล
  • ต้องใส่ค่าเหล่านี้: ANALYGA_KEY, Authorization

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • รันบนคลาวด์ไม่ต้องลงโปรแกรมเพิ่ม ต่อผ่านอินเทอร์เน็ตได้เลย
  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

ที่อยู่นี้ต้องใส่ key ใน header ของคำขอ ซึ่งเมนูเพิ่ม connector ใส่ให้ไม่ได้ ใช้ Claude Code, Cursor หรือ VS Code แทน

หรือรันในเครื่องคุณ

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "analyga": {
      "command": "npx",
      "args": [
        "-y",
        "analyga"
      ],
      "env": {
        "ANALYGA_KEY": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add --transport sse analyga https://mcp.analyga.com/sse --header 'Authorization: ใส่ค่าของคุณ'

หรือรันในเครื่องคุณ

claude mcp add analyga --env ANALYGA_KEY='ใส่ค่าของคุณ' -- npx -y analyga

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "analyga": {
      "url": "https://mcp.analyga.com/sse",
      "headers": {
        "Authorization": "ใส่ค่าของคุณ"
      }
    }
  }
}

หรือรันในเครื่องคุณ

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "analyga": {
      "command": "npx",
      "args": [
        "-y",
        "analyga"
      ],
      "env": {
        "ANALYGA_KEY": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "analyga": {
      "type": "sse",
      "url": "https://mcp.analyga.com/sse",
      "headers": {
        "Authorization": "ใส่ค่าของคุณ"
      }
    }
  }
}

หรือรันในเครื่องคุณ

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "analyga": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "analyga"
      ],
      "env": {
        "ANALYGA_KEY": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ที่อยู่นี้ต้องใส่ key ใน header ของคำขอ ซึ่งเมนูเพิ่ม connector ใส่ให้ไม่ได้ ใช้ Claude Code, Cursor หรือ VS Code แทน

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • 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.

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

ยังไม่ได้อ่านรายการเครื่องมือของตัวนี้ เราตรวจ endpoint ทีละชุดวนไป

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub jyswee ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    endpoint ตอบ

    ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป

  • … ยังไม่ตรวจ

    ล็อกอินแบบ OAuth

    ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint

เทียบกับตัวอื่นในหมวด การตลาดและโซเชียลi

  • ดาวมากกว่า 0% ของอีก 2959 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 39% ของอีก 2959 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 2959 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Analyga ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: ANALYGA_KEY, Authorization

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

ได้ทั้งสองแบบ จะลงในเครื่องหรือต่อผ่านคลาวด์ก็ได้

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.15) เข้า registry 44 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT ที่เปิดโหมดนักพัฒนา

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

MCP YouTube Transcript

โดย jkawamoto

An MCP server retrieving transcripts of YouTube videos

รันบนเครื่อง★ 495MITอัปเดต 9 วันที่ผ่านมา
ติดตั้ง

Google Analytics MCP

โดย surendranb

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

รันบนเครื่อง★ 244MITอัปเดต 9 วันที่ผ่านมา
ติดตั้ง

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

รันบนคลาวด์★ 137MITอัปเดต 9 วันที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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.

ถาม PopNx