YouTube MCP Server

$npx -y @anirudhyadavMS/youtube_mcp
README.md

Enables YouTube content browsing, video searching, and metadata retrieval.

Enables YouTube content browsing, video searching, and metadata retrieval via the YouTube Data API v3. It also facilitates fetching video transcripts for summarization and analysis within MCP-compatible AI clients.

Tools (3)

search_videosSearch for YouTube videos based on a query.
get_video_metadataRetrieve detailed metadata for a specific YouTube video.
get_video_transcriptFetch the transcript of a YouTube video for analysis or summarization.

Environment Variables

YOUTUBE_API_KEYrequiredAPI key from Google Cloud Console for YouTube Data API v3

Configuration

claude_desktop_config.json
{
  "mcpServers": {
    "youtube": {
      "command": "npx",
      "args": ["-y", "@anirudhyadavMS/youtube_mcp"],
      "env": {
        "YOUTUBE_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

Try it

Search for the latest tutorials on Model Context Protocol on YouTube.
Get the metadata for the video with ID 'dQw4w9WgXcQ'.
Fetch the transcript for this YouTube video and summarize the key points.
Find the top 5 most relevant videos about quantum computing basics.

Frequently Asked Questions

How do I install YouTube MCP Server?

Install YouTube MCP Server by running: npx -y @anirudhyadavMS/youtube_mcp

What MCP clients work with YouTube MCP Server?

YouTube MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Use YouTube MCP Server with Conare

Manage MCP servers visually, upload persistent context, and never start from zero with Claude Code & Codex.

Try Free