Skip to main content
Glama
YouTube Video Summarizer MCP Server

YouTube Video Summarizer MCP Server

by nabid-pf

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

Related MCP server: YouTube DLP MCP Server

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.

  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.

Available Tools

1 tool
get-video-info-for-summary-from-urlC

Get details or explanation about a YouTube video, get captions or subtitles of Youtube video from a URL

Inputs: videoUrl (required), languageCode.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of confusion or overlap between tools. The tool's purpose is clearly defined as retrieving video details and captions for summarization from a YouTube URL.

    Naming Consistency5/5

    Since there is only one tool, naming consistency is inherently perfect. The tool name uses a clear verb-noun pattern (get-video-info-for-summary-from-url) that is descriptive and follows a logical structure.

    Tool Count2/5

    A single tool is too few for a server named 'YouTube Video Summarizer MCP Server', as it suggests a broader summarization functionality. The tool only fetches video info and captions, lacking operations like generating summaries, processing text, or managing multiple videos, making the scope feel incomplete and thin.

    Completeness2/5

    The tool set is severely incomplete for the server's purpose. It only provides video details and captions, but does not include any summarization tools (e.g., generate-summary, analyze-captions) or related operations (e.g., list-videos, save-summary), leaving obvious gaps that will hinder agent workflows.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers