Video Commerce Intelligence MCP

Video Commerce Intelligence MCP

AI-powered commercial intelligence from YouTube videos. Extracts entities, scores monetization opportunities, analyzes audience intent, and discovers market gaps via the Model Context Protocol.

Category
访问服务器

README

Video Commerce Intelligence MCP

AI-powered commercial intelligence from YouTube videos. Extract entities, score monetization opportunities, analyze audience intent, and discover market gaps -- all via the Model Context Protocol.

Give it a YouTube URL. It tells you everything commercially interesting about it -- and what to create next.

Quick Start

# Run directly (stdio transport, for local MCP use)
npx video-commerce-mcp

# Run as SSE server (for remote deployment)
npx video-commerce-mcp --transport sse --port 3001

Requires:

  • OPENAI_API_KEY environment variable (GPT-4o-mini for entity extraction)
  • Optional: Python 3 with youtube-transcript-api (pip install youtube-transcript-api) for reliable transcript fetching. Falls back to npm-based fetching if not available.

Add to Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "video-commerce": {
      "command": "npx",
      "args": ["video-commerce-mcp"],
      "env": {
        "OPENAI_API_KEY": "your-openai-api-key"
      }
    }
  }
}

Add to Claude Code

Create or edit .claude/mcp.json in your project root:

{
  "mcpServers": {
    "video-commerce": {
      "command": "npx",
      "args": ["video-commerce-mcp"],
      "env": {
        "OPENAI_API_KEY": "your-openai-api-key"
      }
    }
  }
}

Or connect to a remote SSE server:

{
  "mcpServers": {
    "video-commerce": {
      "type": "sse",
      "url": "https://your-server.example.com/sse"
    }
  }
}

Tools (12)

Layer 1 -- Video Intelligence

Tool Description Price (USDC)
analyze_video Full commercial intelligence analysis of a YouTube video (entities, monetization, audience, quality, skills, market position) 0.02 / 0.05 (deep)
get_commercial_entities Quick extraction of named entities with commercial categories and shoppability flags 0.005
get_monetization_opportunities Ranked monetization strategies (affiliate, course, sponsored) with estimated revenue 0.01
get_audience_insights Deep audience intent analysis with 7 archetypes, emotions, and recommended CTAs 0.01
discover_content_gaps Market gap analysis -- content viewers want but that does not exist yet 0.02
batch_analyze Multi-video analysis (up to 10) with cross-video comparison 0.015/video

Layer 2 -- Market Intelligence

Tool Description Price (USDC)
discover_opportunities Convergence scoring: where demand, commission, and authority align 0.02
scan_affiliate_programs Search affiliate networks (Awin, CJ, ShareASale) for matching programs 0.01
assess_channel_authority 5-dimension channel scoring (reach, engagement, quality, trust, commercial) 0.01
map_category_affinity Cross-category relationships for expansion and cross-selling paths 0.005
track_category_lifecycle Category state tracking (emerging/growing/mature/declining) with signals 0.005
get_seasonal_calendar Region-specific commerce calendar with demand multipliers 0.005

Pricing

Free tier: 5 calls/day (any tool) without payment, for testing and evaluation.

Paid tier: x402 micropayments in USDC on Base network. See the pricing column above for per-tool costs.

API key auth: Alternatively, configure API keys for authenticated access without x402.

Tier Access Rate Limits
Free 5 calls/day Per IP
API Key Unlimited (within rate limits) 30/min, 500/hr, 5000/day
x402 Pay-per-call 30/min, 500/hr, 5000/day

Example Usage

analyze_video

Input:

{
  "youtube_url": "https://www.youtube.com/watch?v=abc123",
  "analysis_depth": "standard",
  "focus": ["entities", "monetization", "audience"]
}

Output (abbreviated):

{
  "video_id": "abc123",
  "title": "See This Chef's Amazing Kitchen Garden",
  "commercial_intent_score": 82,
  "entities": [
    {
      "name": "Helenium 'Sahin's Early Flowerer'",
      "category": "plant",
      "confidence": 0.94,
      "is_shoppable": true,
      "monetization_potential": {
        "affiliate_score": 0.85,
        "course_relevance": 0.6
      }
    }
  ],
  "audience_intent": {
    "dominant_intent": "seasonal_action",
    "intents": [{ "type": "seasonal_action", "score": 0.89 }]
  },
  "monetization": {
    "opportunities": [
      { "strategy": "affiliate_commerce", "score": 0.87 }
    ]
  }
}

discover_content_gaps

Input:

{
  "category": "autumn perennials",
  "region": "UK"
}

Output (abbreviated):

{
  "gaps": [
    {
      "topic": "helenium variety comparison",
      "demand_score": 0.78,
      "competition": 0.23,
      "opportunity_score": 0.85,
      "recommendation": "invest_now"
    }
  ],
  "emerging_topics": ["no-dig perennial borders"],
  "declining_topics": ["traditional herbaceous border maintenance"]
}

Remote Deployment (SSE)

# Start SSE server
npx video-commerce-mcp --transport sse --port 3001

# Health check
curl http://localhost:3001/health

Docker:

docker build -t video-commerce-mcp .
docker run -p 3001:3001 -e OPENAI_API_KEY=sk-... video-commerce-mcp

Configuration

Copy .env.example to .env and fill in your values. See the file for all available options.

Required:

  • OPENAI_API_KEY -- OpenAI API key for GPT-4o-mini entity extraction

Optional:

  • X402_ENABLED / X402_WALLET_ADDRESS -- Enable x402 micropayments
  • API_KEYS -- Comma-separated API keys for authenticated access
  • FREE_TIER_DAILY_LIMIT -- Free calls per day (default: 5)
  • ANALYSIS_CACHE_DIR -- Cache directory (default: ~/.video-commerce-mcp/)

Programmatic Usage

import { createServer, startStdioServer } from "video-commerce-mcp";

// Use the server factory
const server = createServer();

// Or start directly
await startStdioServer();

Domain Expansion

The server is built on a domain-agnostic architecture. While the default vertical is gardening, the same pipeline works for:

  • Cooking -- ingredients, equipment, techniques, cuisine styles
  • DIY / Home improvement -- tools, materials, techniques, project types
  • Tech reviews -- products, specs, alternatives, price points
  • Fashion / Beauty -- products, brands, styles, occasions
  • Fitness -- equipment, exercises, programs, supplements

Each vertical needs a domain dictionary, category keywords, and prompt tuning. The MCP framework stays identical.

See docs/verticals.md for implementation details.

OpenClaw Integration

Running OpenClaw for content production? Install this skill from ClawHub:

clawhub install video-commerce-intelligence

Or wire it directly via McPorter:

mcporter add video-commerce-mcp

Content team workflows

After each episode drops:

"Analyze this week's episode and give me affiliate links for the show notes: https://youtu.be/abc123"

The agent calls get_commercial_entities, then scan_affiliate_programs for the top entities, and returns a formatted list ready to paste into your CMS.

Planning next episode:

"What should we create next based on viewer demand in the startup tools space?"

The agent calls discover_content_gaps + track_category_lifecycle and returns the top 3 opportunities ranked by demand score and competition level.

Seasonal calendar:

"What's coming up in the next 90 days that our audience will care about?"

The agent calls get_seasonal_calendar for your region and returns upcoming events with demand multipliers.

OpenClaw agent config (direct MCP wiring)

mcpServers:
  - name: video-commerce
    command: npx video-commerce-mcp
    env:
      OPENAI_API_KEY: "${OPENAI_API_KEY}"
      MCP_API_KEYS: "${YOUR_API_KEY}"

Architecture

AI Agent (Claude, GPT, etc.)
     |
     | MCP Protocol (stdio or SSE)
     | x402 Payment Header (optional)
     v
Video Commerce Intelligence MCP
     |
     +-- Transcript Pipeline (fetch, preprocess, reduce tokens 70-90%)
     +-- NER Pipeline (extract, resolve, disambiguate, calibrate)
     +-- AI Orchestration (GPT-4o-mini, budget-managed)
     +-- Intelligence (audience intent, skills, quality, seasonal)
     +-- Market Intelligence (convergence, affiliates, authority, lifecycle)
     +-- Analysis Cache (SQLite, 7-day TTL)
     +-- Payment / Metering (x402, API key, free tier)

License

MIT

推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选