YouTube Video Summarizer MCP
Fetch and summarize YouTube videos by extracting titles, descriptions, and transcripts.
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)
-
Install the package globally:
npm install -g youtube-video-summarizer-mcp -
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
- URL Parsing: Extracts video IDs from various YouTube URL formats
- Caption Extraction: Uses youtube-caption-extractor to get subtitles
- Metadata Retrieval: Fetches video title, description, and other details
- 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.
相關伺服器
Bright Data
贊助Discover, extract, and interact with the web - one interface powering automated access across the public internet.
Context Scraper MCP Server
A server for web crawling and content extraction using the Crawl4AI library.
Kakuyomu MCP Server
An MCP server for the Kakuyomu novel posting site, enabling users to search for works, retrieve episode lists, and read content.
Fetch as Markdown MCP Server
Fetches web pages and converts them to clean markdown, focusing on main content extraction.
TradingView Chart Image Scraper
Fetches TradingView chart images for a given ticker and interval.
Tech Collector MCP
Collects and summarizes technical articles from sources like Qiita, Dev.to, NewsAPI, and Hacker News using the Gemini API.
Playwright MCP
Browser automation using Playwright, enabling LLMs to interact with web pages through structured accessibility snapshots.
Web Fetch
Fetches and transforms web content, including JavaScript-rendered pages and media files, into various formats.
Puppeteer
Provides browser automation using Puppeteer, enabling interaction with web pages, taking screenshots, and executing JavaScript.
Horse Racing News
Fetches horse racing news from the thoroughbreddailynews.com RSS feed.
Cloudflare Playwright
Control a browser for web automation tasks like navigation, typing, clicking, and taking screenshots using Playwright on Cloudflare Workers.
