youtube-mcp

youtube-mcp

9

YouTube MCP is an MCP server offering tools for analyzing YouTube video content. It provides capabilities like extracting transcripts, summarizing videos, and searching via natural language queries.

YouTube MCP

A Model Context Protocol (MCP) server designed for YouTube video analysis, offering tools such as transcript extraction, video summarization using Gemini AI, natural language querying, YouTube search, and comment analysis.

Features

  • Transcript Extraction: Get detailed transcripts from YouTube videos
  • Video Summarization: Generate concise summaries using Gemini AI
  • Natural Language Queries: Ask questions about video content
  • YouTube Search: Find videos matching specific queries
  • Comment Analysis: Retrieve and analyze video comments

Requirements

  • Python 3.9+
  • Google Gemini API key
  • YouTube Data API key

Installing via Smithery

To install youtube-mcp for Claude Desktop automatically via Smithery:

  1. Clone the repository.
  2. Create a virtual environment and install dependencies.
  3. Set up API keys in a .env file.
  4. Run the MCP Server locally.

Available Tools

  • youtube/get-transcript: Get video transcript
  • youtube/summarize: Generate a video summary
  • youtube/query: Answer questions about a video
  • youtube/search: Search for YouTube videos
  • youtube/get-comments: Retrieve video comments
  • youtube/get-likes: Get video like count

Contributing

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