youtube-mcp-server

youtube-mcp-server

1

The YouTube MCP Server enables AI models to fetch and process transcripts from YouTube videos, facilitating detailed analyses and discussions based on video content. It serves as a bridge between AIs and YouTube to enhance video content interaction.

YouTube MCP(Model Context Protcol) Server


This MCP server provides a tool to fetch and extract transcripts from YouTube videos. It enables AI language models (LLMs) to:

  • Access complete text transcripts from YouTube video URLs
  • Process and analyze video content through transcripts
  • Reference and discuss video information in conversations

The server acts as a bridge between AI models and YouTube content by automatically extracting and formatting video transcripts.

Instead of saying can't access links

Setup

  1. Install uv (Python package manager):

    Mac:

    brew install uv
    

    Linux:

    curl -LsSf https://astral.sh/uv/install.sh | sh
    

    Windows:

    powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
    
  2. Clone this repository:

    git clone git@github.com:PrajwalPrashanth/youtube-mcp-server.git
    cd youtube-mcp-server
    
  3. Create a virtual environment and install dependencies:

    uv venv
    source .venv/bin/activate  
    # On Windows: .venv\Scripts\activate
    uv pip install -r pyproject.toml
    

Add this MCP server to Claude Desktop (download)

uv run mcp install -e . server.py -n "youtube-mcp"

Once this is done you should see the tool icon in the UI

and you can ask for it to do actions (like summarize) with the transcript by providing a YT video