youtube-video-summarizer-mcp-pydanticai
v1.2.0
Published
Enhanced YouTube video summarizer MCP server with YouTube Data API v3, multiple fallbacks, and comprehensive error handling
Maintainers
Readme
YouTube Video Summarizer MCP
An MCP (Model Context Protocol) server that enables Claude to fetch and summarize YouTube videos by extracting titles, descriptions, and transcripts.
Features
- Extract YouTube video metadata (title, description, duration)
- Retrieve and process video captions using youtube-caption-extractor
- Provide structured data to Claude for comprehensive video summarization
- Works with Claude Desktop through MCP integration
Prerequisites
- Node.js (v18 or higher)
Integrating with Claude Desktop
To add the MCP server to Claude Desktop:
- Go to Settings > Developer > Edit config
- Add the following to your claude_desktop_config.json file:
{
"mcpServers": {
"youtube-video-summarizer": {
"command": "npx",
"args": ["-y", "youtube-video-summarizer-mcp"]
}
}
}Available MCP Commands
When integrated with Claude, the following commands become available:
get-video-info-for-summary-from-url: Get basic information about a YouTube video
Example Usage
Once integrated with Claude Desktop, you can use natural language to request video summaries:
- "Can you summarize this YouTube video for me? https://www.youtube.com/watch?v=dQw4w9WgXcQ"
- "What are the key points from this video: https://www.youtube.com/watch?v=dQw4w9WgXcQ"
- "Create a comprehensive summary of this tutorial: https://www.youtube.com/watch?v=dQw4w9WgXcQ"
For Developers
Building from Source
# Clone the repository
git clone https://github.com/yourusername/youtube-video-summarizer-mcp.git
cd youtube-video-summarizer-mcp
# Install dependencies
npm install
# Build the project
npm run build
# Start the inspector
npx @modelcontextprotocol/inspector node dist/index.jsRun tool
- Click connect
- Select the tool to run
- Put video url in the field
- Click run
How It Works
This project uses:
youtube-caption-extractorto extract video captions/transcripts- The Model Context Protocol (MCP) to communicate with Claude
License
MIT

