Price Per TokenPrice Per Token
Advanced YouTube

Advanced YouTube

by coyasong

GitHub 13 11 uses Remote
0

About

Advanced YouTube is an MCP server that provides comprehensive access to YouTube data through the YouTube Data API. It enables querying videos, channels, comments, transcripts, and trending content for analysis and content discovery. Key capabilities include: - Search for YouTube videos with advanced filtering options - Retrieve detailed information about specific videos and channels - Compare statistics and performance metrics across multiple videos - Discover trending videos by region and category - Analyze channel performance and audience engagement metrics - Extract video comments and closed captions/transcripts - Generate video analysis and transcript summaries

README

YouTube MCP Server

[](https://smithery.ai/server/@coyaSONG/youtube-mcp-server)

A Model Context Protocol (MCP) server for interacting with YouTube data. This server provides resources and tools to query YouTube videos, channels, comments, and transcripts through a stdio interface.

Features

  • Search for YouTube videos with advanced filtering options
  • Get detailed information about specific videos and channels
  • Compare statistics across multiple videos
  • Discover trending videos by region and category
  • Analyze channel performance and video statistics
  • Retrieve video comments and transcripts/captions
  • Generate video analysis and transcript summaries
  • Prerequisites

  • Node.js (v16+)
  • YouTube Data API key
  • Installation

    Installing via Smithery

    To install YouTube MCP Server for Claude Desktop automatically via Smithery:

    npx -y @smithery/cli install @coyaSONG/youtube-mcp-server --client claude
    

    Installing Manually

    1. Clone this repository:
       git clone https://github.com/coyaSONG/youtube-mcp-server.git
       cd youtube-mcp-server
       

    2. Install dependencies:

       npm install
       

    3. Create a .env file in the root directory:

       YOUTUBE_API_KEY=your_youtube_api_key_here
       PORT=3000
       

    Usage

    Building and Running

    1. Build the project:

       npm run build
       

    2. Run the server (HTTP transport):

       npm start
       
    The server will listen on port 3000 (or PORT environment variable) and accept MCP requests at /mcp endpoint.

    3. Run in development mode:

       npm run dev
       

    4. Clean build artifacts:

       npm run clean
       

    HTTP Transport Migration

    Migration Status: ✅ Complete - Successfully migrated from STDIO to Streamable HTTP transport

    This server has been updated to use the modern Streamable HTTP transport as required by Smithery hosting platform. The migration includes:

  • Modern Protocol: Uses Streamable HTTP transport (protocol version 2025-03-26)
  • Express.js Framework: Built on Express.js for robust HTTP handling
  • Session Management: Supports stateful operations with proper session tracking
  • MCP Endpoint: All requests handled at /mcp endpoint
  • Backwards Compatibility: Maintains full compatibility with all existing tools and resources
  • Enhanced Performance: Improved scalability and better error handling
  • Testing the Migration

    Local Testing:

    # Start the server
    npm start

    Test with MCP Inspector

    npx @modelcontextprotocol/inspector

    Connect to: http://localhost:3000/mcp

    Smithery Integration:

  • The server is fully compatible with Smithery's new hosting requirements
  • All existing Claude Desktop integrations will continue to work seamlessly
  • No changes required for end users
  • Docker Deployment

    The project includes a Dockerfile for containerized deployment:

    # Build the Docker image
    docker build -t youtube-mcp-server .

    Run the container with HTTP transport

    docker run -p 3000:3000 --env-file .env youtube-mcp-server

    Important: The container now exposes port 3000 for HTTP-based MCP communication instead of STDIO.

    API Reference

    Resources

  • youtube://video/{videoId} - Get detailed information about a specific video
  • youtube://channel/{channelId} - Get information about a specific channel
  • youtube://transcript/{videoId} - Get transcript for a specific video
  • - Optional query parameter: ?language=LANGUAGE_CODE (e.g., en, ko, ja)

    Tools

    #### Basic Tools

  • search-videos - Search for YouTube videos with advanced filtering options
  • get-video-comments - Get comments for a specific video
  • get-video-transcript - Get transcript for a specific video with optional language
  • enhanced-transcript - Advanced transcript extraction with filtering, search, and multi-video capabilities
  • get-key-moments - Extract key moments with timestamps from a video transcript for easier navigation
  • get-segmented-transcript - Divide a video transcript into segments for easier analysis
  • #### Statistical Tools

  • get-video-stats - Get statistical information for a specific video
  • get-channel-stats - Get subscriber count, view count, and other channel statistics
  • compare-videos - Compare statistics across multiple videos
  • #### Discovery Tools

  • get-trending-videos - Retrieve trending videos by region and category
  • get-video-categories - Get available video categories for a specific region
  • #### Analysis Tools

  • analyze-channel-videos - Analyze performance trends of videos from a specific channel
  • Prompts

  • video-analysis - Generate an analysis of a YouTube video
  • transcript-summary - Generate a summary of a video based on its transcript with customizable length and keywords extraction
  • segment-by-segment-analysis - Provid
  • Related MCP Servers

    AI Research Assistant

    AI Research Assistant

    hamid-vakilzadeh

    AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar

    Web & Search
    12 8
    Linkup

    Linkup

    LinkupPlatform

    Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages

    Web & Search
    2 24
    Math-MCP

    Math-MCP

    EthanHenrickson

    Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support

    Developer Tools
    22 81