yt-analytics-mcp

yt-analytics-mcp

MCP server for YouTube channel deep analytics, extracting transcripts and computing quantitative metrics like WPM, profanity, and humor taxonomy, with multi-creator comparison dashboards.

Category
访问服务器

README

yt-analytics-mcp

MCP server for YouTube channel deep analytics. Extracts transcripts, computes quantitative metrics (WPM, profanity, humor taxonomy, rhetoric fingerprint, title formula, posting schedule), and generates multi-creator comparison dashboards.

Dashboard overview

Charts detail

Tools

Tool Description
yt_analyze_channel Analyze a channel: download transcripts, compute metrics, cache results
yt_list_analyses List all cached channel analyses
yt_get_analysis Retrieve full cached analysis JSON for a channel
yt_remove_analysis Remove a cached analysis
yt_compare_creators Build a tabbed HTML comparison dashboard from cached analyses

Quick Start

# Install
cd yt-analytics-mcp
npm install

# Add to Claude Code settings
# ~/.claude/settings.json → mcpServers

Claude Code Config

{
  "mcpServers": {
    "yt-analytics": {
      "command": "node",
      "args": ["/path/to/yt-analytics-mcp/src/index.js"],
      "env": {
        "YT_ANALYTICS_DATA": "/path/to/yt-analytics-mcp/data"
      }
    }
  }
}

Usage

Analyze a single channel

Analyze @BennJordan's channel (20 videos, tech niche)
→ calls yt_analyze_channel with channel="@BennJordan", limit=20, niche="tech"

Returns structured JSON with per-video and aggregate metrics:

  • WPM (words per minute) with niche baseline comparison
  • Profanity density per minute
  • Humor taxonomy (crude, self-deprecating, confrontational, hyperbolic, absurd)
  • Rhetoric fingerprint (connector word frequencies: but, so, because, if you, etc.)
  • Title formula (CAPS usage, exclamation marks, parentheticals)
  • Posting schedule (day-of-week distribution, monthly activity, cadence gaps)

Build a comparison dashboard

Compare all analyzed channels in a tabbed dashboard
→ calls yt_compare_creators

Generates a self-contained HTML file with:

  • Sticky tab bar for switching between creators
  • KPI cards (videos, words, runtime, median WPM, profanity, avg length)
  • WPM horizontal bar chart with niche average line
  • Video structure timeline
  • Humor taxonomy doughnut chart
  • Profanity density bar chart
  • Rhetoric radar chart
  • Video length vs. speech rate bubble chart
  • Posting schedule — day-of-week bar chart, monthly activity line chart, cadence stats
  • Title formula badges
  • Opening line pattern breakdown
  • Connector language grid
  • Per-video data table
  • Written analysis

Workflow

1. yt_analyze_channel → analyze @Creator1 (cached)
2. yt_analyze_channel → analyze @Creator2 (cached)
3. yt_analyze_channel → analyze @Creator3 (cached)
4. yt_compare_creators → build tabbed dashboard from all cached analyses

The companion /yt-analytics skill adds Gemini qualitative analysis on top — editing mechanics, humor quotes, video structure timelines, energy modulation — then merges with the MCP's quantitative data.

Filtering by date

Analyze @RyanHumiston — last 2 years only, 20 videos
→ yt_analyze_channel with channel="@RyanHumiston", limit=20, max_age_days=730

The --max-age-days flag filters out videos older than N days before analysis.

Niche Baselines

Niche Avg WPM
Fitness ~170
Tech ~160
Commentary ~190
Educational ~150
Gaming ~180
News ~175
Woodworking ~175
Music ~165

Requirements

  • Node.js 18+
  • Python 3.10+ with yt-dlp and youtube-transcript-api installed
  • No API keys needed

Data Storage

Analyses are cached as JSON files in the data/ directory (configurable via YT_ANALYTICS_DATA env var). Transcript files are stored in data/transcripts/.

Architecture

yt-analytics-mcp/
├── src/
│   └── index.js          # MCP server + HTML generator
├── scripts/
│   └── analyze_channel.py # Transcript extraction + quantitative analysis
├── docs/                  # Example screenshots
├── data/                  # Cached analyses (JSON) + transcripts
├── package.json
└── README.md

The MCP server wraps the Python analysis script and adds:

  • Result caching and management
  • Multi-creator comparison HTML generation
  • Structured tool interfaces for Claude Code

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选