vturb-mcp
vturb-mcp
vTurb Analytics API 用のMCPサーバー — Claudeから直接リアルタイムおよび過去の動画分析をクエリするための15個のツールを提供します。
hotmart-mcp と同じパターンで構築されています:TypeScript + @modelcontextprotocol/sdk + zod。
特徴
15個の分析ツール:セッション、イベント、エンゲージメント、クリック、コンバージョン、トラフィック元などを網羅
レート制限機能内蔵 — トークンバケット方式により、Proティアの制限である120リクエスト/分を強制(429エラーは発生しません)
スマートプレイヤー検出 —
find_active_playersが今日アクティブな動画を自動的に発見クライアントごとの
.envファイル — 複数のアカウント間でクリーンな認証情報管理が可能
Related MCP server: MCP YouTube Intelligence
要件
Node.js ≥ 18
Analytics APIアクセス権を持つvTurbアカウント
app.vturb.com/settings/analytics-api から取得したAPIトークン
Claude Code (CLIまたはVSCode拡張機能)
インストール
1. リポジトリのクローン
git clone https://github.com/hiperbold/vturb-mcp.git
cd vturb-mcp
npm install
npm run build2. クライアントごとに .env ファイルを作成
このMCPはクライアントごとに .env ファイルを使用するため、複数のvTurbアカウントをクリーンに管理できます。ファイル名はクライアント名にしてください:
# Copy the example
cp .env.example .env.nome-do-cliente
# Edit and paste your token
# .env.paula-ardanza
VTURB_API_TOKEN=your_token_hereファイル形式はシンプルで、1行に1つの変数を記述します:
VTURB_API_TOKEN=eyJ...セキュリティ:
.env.*ファイルをコミットしないでください。これらはすでに.gitignoreに含まれています。
3. Claude CodeにMCPサーバーを登録
~/.claude/mcp.json を開き(存在しない場合は作成)、以下を追加します:
{
"mcpServers": {
"vturb-mcp": {
"command": "node",
"args": ["/absolute/path/to/vturb-mcp/dist/index.js"],
"env": {
"VTURB_ENV_FILE": "/absolute/path/to/vturb-mcp/.env.nome-do-cliente"
}
}
}
}Windowsの例:
{
"mcpServers": {
"vturb-mcp": {
"command": "node",
"args": ["F:\\local-mcps\\vturb-mcp\\dist\\index.js"],
"env": {
"VTURB_ENV_FILE": "F:\\local-mcps\\vturb-mcp\\.env.paula-ardanza"
}
}
}
}4. Claude Codeの再起動
MCPサーバーは次のセッションで自動的に起動します。利用可能なツールリストに表示されます。
クライアントの切り替え
アカウントを切り替えるには、mcp.json 内の VTURB_ENV_FILE を別の .env ファイルを指すように更新し、Claudeを再起動するだけです:
"VTURB_ENV_FILE": "F:\\local-mcps\\vturb-mcp\\.env.outro-cliente"利用可能なツール
発見と監視
ツール | 説明 |
| アカウント内のすべてのプレイヤーを |
| スマートツール。 すべてのプレイヤーをリストアップし、今日アクティブなプレイヤーを確認して、メタデータとともにアクティブなプレイヤーのみを返します。正しい |
| 現在のAPIクォータステータス(使用済みクエリ、残り、リセット時間)を返します。消費量を監視し、120リクエスト/分の制限に達しないようにするために使用します。 |
| 現在視聴中のユーザー数をドメイン別に分類して返します。時間枠(1〜720分)を設定可能です。 |
セッション分析
ツール | 説明 |
| プレイヤーの主要な分析ダッシュボード:総ビュー数、再生数、ユニークセッション/デバイス数、エンゲージメント率、クリック数、コンバージョン数、およびBRL/USD/EURでの収益。 |
|
|
イベント
ツール | 説明 |
|
|
| 傾向分析のために日別に分類された同じイベント合計。 |
エンゲージメントとリテンション
ツール | 説明 |
| 動画のリテンション曲線(各秒で何人のユーザーが視聴し続けているか)を返します。また、 |
| 選択した期間の日ごとのエンゲージメント率を返します。 |
クリック
ツール | 説明 |
| 動画の秒数ごとにグループ化されたCTAクリック数を返します。最も意図を喚起する動画内の瞬間を特定します。 |
| 日別に分類されたCTAクリック合計。 |
コンバージョン
ツール | 説明 |
| ユニークセッション数およびデバイス数とともに、日別にグループ化されたコンバージョン合計。 |
トラフィック元
ツール | 説明 |
| トラフィックソース別にセッション指標を分類します。 |
ダッシュボードの概要
ツール | 説明 |
| 事前に計算された概要(ビュー数、再生数、エンゲージメント率、クリック数、コンバージョン率)を返します。vTurbダッシュボードのヘッダーに表示される数値と同じです。 |
一般的なワークフロー
1. find_active_players → discover which player_id is in use today
2. get_session_stats → get the main KPIs for a date range
3. get_user_engagement → inspect the retention curve
4. get_clicks_timed → find when viewers click the CTA
5. get_conversions_by_day → track conversion trends
6. get_traffic_origin_stats → compare traffic sourcesレート制限
クライアントはProティア用に構成された トークンバケット アルゴリズムを使用します:
制限: 1分あたり120リクエスト
補充レート: 1秒あたり2トークン
動作: バケットが空の場合、リクエストは自動的に待機します — エラーはスローされず、再試行も不要です
vTurb側からのライブ消費量を確認するには get_quota_usage を使用してください。
プロジェクト構造
vturb-mcp/
src/
env.ts — loads .env.* file at startup (via VTURB_ENV_FILE)
client.ts — rate-limited HTTP client (token bucket, 120 req/min)
index.ts — MCP server, registers all 15 tools
tools/ — one file per tool
list-players.ts
find-active-players.ts
get-quota-usage.ts
get-session-stats.ts
get-session-stats-by-day.ts
get-events-total.ts
get-events-by-day.ts
get-user-engagement.ts
get-user-engagement-by-day.ts
get-clicks-timed.ts
get-clicks-by-day.ts
get-conversions-by-day.ts
get-live-users.ts
get-headlines-stats.ts
get-traffic-origin-stats.ts
dist/ — compiled output (run npm run build)
.env.example — template for creating client-specific env filesAPIリファレンス
ベースURL:
https://analytics.vturb.net認証ヘッダー:
X-Api-Token+X-Api-Version: v1
ライセンス
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceThis read-only MCP Server allows you to connect to YouTube Analytics data from Claude Desktop through CData JDBC Drivers. Free (beta) read/write servers available at https://www.cdata.com/solutions/mcp1MIT
- AlicenseAqualityCmaintenanceAn MCP server for intelligent YouTube video analysis that provides token-optimized summaries, sentiment analysis, and entity extraction from transcripts. It enables AI assistants to perform video reporting, channel monitoring, and comprehensive YouTube searches through structured data tools.1050Apache 2.0
- AlicenseNot gradedqualityDmaintenanceMCP server for the Wasabi WACM Connect API, enabling management of account hierarchy, storage, and billing data through Claude with 18 read-only and 12 opt-in write tools.1Apache 2.0
- FlicenseBqualityCmaintenanceMCP server that enables video analysis capabilities to Claude, including frame extraction, scene detection, and video metadata retrieval.8
Related MCP Connectors
MCP server for Clipkit — gives AI agents a video toolbox via the Clipkit schema.
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
MCP server giving Claude AI access to 22+ NYC public-record databases for real estate due diligence
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hiperbold/vturb-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server