An MCP (Model Context Protocol) server that enables Claude to fetch and summarize YouTube videos by extracting titles, descriptions, and transcripts.
- 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
- Node.js (v18 or higher)
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"]
}
}
}
When integrated with Claude, the following commands become available:
get-video-info-for-summary-from-url
: Get basic information about a YouTube video
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"
# 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.js
- Click connect
- Select the tool to run
- Put video url in the field
- Click run
This project uses:
youtube-caption-extractor
to extract video captions/transcripts- The Model Context Protocol (MCP) to communicate with Claude
MIT