mcpField
Y
Youtube

Youtube

Local
github.com/nabid-pfMedia & Design62Updated 39w ago

About Youtube

An MCP server that lets AI assistants summarize YouTube videos by extracting captions, descriptions, and metadata. It returns structured data that an assistant can use for summarization.

Key features

  1. 01Extract captions in multiple languages
  2. 02Retrieve title, description, and duration metadata
  3. 03Support for multiple YouTube URL formats
  4. 04Language-specific caption extraction

Use cases

  1. 01Asking an AI assistant to summarize a YouTube video
  2. 02Pulling main points from a video's captions
  3. 03Collecting key information from a YouTube link

MCP support

This project is an MCP server that exposes tools for retrieving video information, captions, and metadata to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"youtube-video-summarizer": {
"command": "npx",
"args": [
"-y",
"youtube-video-summarizer-mcp"
]
}
}
}
Run commandnpx -y youtube-video-summarizer-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmyoutube-video-summarizer-mcp

Tools

1

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
videoUrlstringYesThe URL or ID of the YouTube video
languageCodestringNoThe language code of the video

Details

From the project README

MseeP.ai Security Assessment Badge

YouTube Video Summarizer MCP Server

An MCP (Model Context Protocol) server that enables AI assistants to analyze and summarize YouTube videos by extracting captions, descriptions, and metadata.

Features

  • Extract video captions/subtitles in multiple languages
  • Retrieve comprehensive video metadata (title, description, duration)
  • Provide structured data to AI assistants for comprehensive video summarization
  • Works with any MCP-compatible client through MCP integration
  • Support for multiple YouTube URL formats
  • Language-specific caption extraction

Integrating with MCP Clients

To add the MCP server to your MCP client, you can use either method:

Option 1: Using npx (No Installation Required)

Add the following to your MCP client configuration file:

{
  "mcpServers": {
    "youtube-video-summarizer": {
      "command": "npx",
      "args": ["-y", "youtube-video-summarizer-mcp"]
    }
  }
}

The server automatically filters out any npm/npx output to ensure MCP protocol compliance.

Option 2: Global Installation (Recommended for Production)
  1. Install the package globally:

    npm install -g youtube-video-summarizer-mcp
    
  2. Add the following to your MCP client configuration file:

{
  "mcpServers": {
    "youtube-video-summarizer": {
      "command": "youtube-video-summarizer",
      "args": []
    }
  }
}

Available Tools

When integrated with an MCP client, the following commands become available:

  • get-video-info-for-summary-from-url: Extract video information and captions from a YouTube URL
  • get-video-captions: Get captions/subtitles for a specific video
  • get-video-metadata: Retrieve comprehensive video metadata

Usage Examples

Once integrated with your MCP client, you can use natural language to request video summaries:

"Can you summarize this YouTube video: https://youtube.com/watch?v=VIDEO_ID"
"What are the main points from this video's captions?"
"Extract the key information from this YouTube link"

Installation

npm install -g youtube-video-summarizer-mcp

Development

git clone https://github.com/nabid-pf/youtube-video-summarizer-mcp.git
cd youtube-video-summarizer-mcp
npm install
npm run build

How It Works

  1. URL Parsing: Extracts video IDs from various YouTube URL formats
  2. Caption Extraction: Uses youtube-caption-extractor to get subtitles
  3. Metadata Retrieval: Fetches video title, description, and other details
  4. MCP Integration: The Model Context Protocol (MCP) to communicate with AI assistants

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.