Price Per TokenPrice Per Token
youtube-mcp

youtube-mcp

by sfiorini

GitHub 4 4,174 uses Remote
0

About

YouTube MCP Server provides AI assistants with comprehensive access to YouTube content through the YouTube Data API. It enables searching, browsing, and retrieving detailed metadata for videos, channels, and playlists. Key features: - Search videos across YouTube with direct URLs to results - Retrieve video details including titles, descriptions, durations, view counts, likes, and comments - Access multilingual, timestamped video transcripts and search within captions for specific content - Browse channel content, list channel videos and playlists, and retrieve channel statistics - List playlist items with video details and fetch transcripts for playlist videos - Built-in prompts for automated video summarization and channel content strategy analysis

Tools 7

videos_getVideo

Get detailed information about a YouTube video including URL

videos_searchVideos

Search for videos on YouTube and return results with URLs

transcripts_getTranscript

Get the transcript of a YouTube video

channels_getChannel

Get information about a YouTube channel

channels_listVideos

Get videos from a specific channel

playlists_getPlaylist

Get information about a YouTube playlist

playlists_getPlaylistItems

Get videos in a YouTube playlist

README

YouTube MCP Server

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

A Model Context Protocol (MCP) server implementation for YouTube, enabling AI language models to interact with YouTube content through a standardized interface. Optimized for 90% Smithery quality score with comprehensive resources, prompts, and flexible configuration.

Features

Video Information

  • Get video details (title, description, duration, etc.) with direct URLs
  • List channel videos with direct URLs
  • Get video statistics (views, likes, comments)
  • Search videos across YouTube with direct URLs
  • NEW: Enhanced video responses include url and videoId fields for easy integration
  • Transcript Management

  • Retrieve video transcripts
  • Support for multiple languages
  • Get timestamped captions
  • Search within transcripts
  • Direct Resources & Prompts

  • Resources:
  • * youtube://transcript/{videoId}: Access transcripts directly via resource URIs * youtube://info: Server information and usage documentation (Smithery discoverable)
  • Prompts:
  • * summarize-video: Automated workflow to get and summarize video content * analyze-channel: Comprehensive analysis of a channel's content strategy
  • Annotations: All tools include capability hints (read-only, idempotent) for better LLM performance
  • Channel Management

  • Get channel details
  • List channel playlists
  • Get channel statistics
  • Search within channel content
  • Playlist Management

  • List playlist items
  • Get playlist details
  • Search within playlists
  • Get playlist video transcripts
  • Installation

    Quick Setup for Claude Desktop

    1. Install the package:

    npm install -g @sfiorini/youtube-mcp
    

    1. Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows):

    {
      "mcpServers": {
        "youtube-mcp": {
          "command": "youtube-mcp",
          "env": {
            "YOUTUBE_API_KEY": "your_youtube_api_key_here"
          }
        }
      }
    }
    

    Alternative: Using NPX (No Installation Required)

    Add this to your Claude Desktop configuration:

    {
      "mcpServers": {
        "youtube": {
          "command": "npx",
          "args": ["-y", "@sfiorini/youtube-mcp"],
          "env": {
            "YOUTUBE_API_KEY": "your_youtube_api_key_here"
          }
        }
      }
    }
    

    Installing via Smithery

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

    npx -y @smithery/cli@latest install @sfiorini/youtube-mcp --client claude
    

    Configuration

    Set the following environment variables:

  • YOUTUBE_API_KEY: Your YouTube Data API key (required)
  • YOUTUBE_TRANSCRIPT_LANG: Default language for transcripts (optional, defaults to 'en')
  • Using with VS Code

    For one-click installation, click one of the install buttons below:

    [](https://insiders.vscode.dev/redirect/mcp/install?name=youtube&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40sfiorini%2Fyoutube-mcp%22%5D%2C%22env%22%3A%7B%22YOUTUBE_API_KEY%22%3A%22%24%7Binput%3AapiKey%7D%22%7D%7D&inputs=%5B%7B%22type%22%3A%22promptString%22%2C%22id%22%3A%22apiKey%22%2C%22description%22%3A%22YouTube+API+Key%22%2C%22password%22%3Atrue%7D%5D) [](https://insiders.vscode.dev/redirect/mcp/install?name=youtube&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40sfiorini%2Fyoutube-mcp%22%5D%2C%22env%22%3A%7B%22YOUTUBE_API_KEY%22%3A%22%24%7Binput%3AapiKey%7D%22%7D%7D&inputs=%5B%7B%22type%22%3A%22promptString%22%2C%22id%22%3A%22apiKey%22%2C%22description%22%3A%22YouTube+API+Key%22%2C%22password%22%3Atrue%7D%5D&quality=insiders)

    Manual Installation

    If you prefer manual installation, first check the install buttons at the top of this section. Otherwise, follow these steps:

    Add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing Ctrl + Shift + P and typing Preferences: Open User Settings (JSON).

    {
      "mcp": {
        "inputs": [
          {
            "type": "promptString",
            "id": "apiKey",
            "description": "YouTube API Key",
            "password": true
          }
        ],
        "servers": {
          "youtube": {
            "command": "npx",
            "args": ["-y", "@sfiorini/youtube-mcp"],
            "env": {
              "YOUTUBE_API_KEY": "${input:apiKey}"
            }
          }
        }
      }
    }
    

    Optionally, you can add it to a file called .vscode/mcp.json in your workspace:

    ```json { "inputs": [ { "type": "promptString", "id": "apiKey", "descrip

    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