YouTube Insights MCP Server

YouTube Insights MCP Server

An MCP server that extracts transcripts, metadata, and summaries from YouTube videos across various URL formats including Shorts and standard links. It provides comprehensive video data and insights for analysis within MCP-compatible environments.

Category
Visit Server

README

YouTube Insights MCP Server

An MCP (Model Context Protocol) server that extracts valuable insights from YouTube videos including transcripts, metadata, and summaries.

Features

  • Extract Transcripts: Get full video transcripts in multiple languages
  • Video Metadata: Retrieve title, author, thumbnail, and other metadata
  • Comprehensive Insights: Combined transcript, metadata, and auto-generated summaries
  • Multiple URL Formats: Supports youtube.com, youtu.be, shorts, and direct video IDs

Installation

# Install dependencies
uv sync

Usage

Running the Server

python main.py

Available Tools

1. get_youtube_transcript

Extracts the full transcript from a YouTube video.

Parameters:

  • url (required): YouTube video URL or video ID
  • languages (optional): Array of preferred language codes (default: ["en"])

Example:

{
  "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
  "languages": ["en", "es"]
}

2. get_youtube_metadata

Gets metadata for a YouTube video.

Parameters:

  • url (required): YouTube video URL or video ID

Example:

{
  "url": "https://youtu.be/dQw4w9WgXcQ"
}

3. get_youtube_insights

Gets comprehensive insights including transcript, metadata, and summary.

Parameters:

  • url (required): YouTube video URL or video ID
  • languages (optional): Array of preferred language codes (default: ["en"])
  • summary_sentences (optional): Number of sentences for summary (default: 5)

Example:

{
  "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
  "languages": ["en"],
  "summary_sentences": 5
}

Supported URL Formats

  • https://www.youtube.com/watch?v=VIDEO_ID
  • https://youtu.be/VIDEO_ID
  • https://www.youtube.com/embed/VIDEO_ID
  • https://www.youtube.com/shorts/VIDEO_ID
  • Direct video ID: VIDEO_ID

Configuration for Claude Desktop

Add to your Claude Desktop config file:

MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "youtube-insights": {
      "command": "uv",
      "args": [
        "--directory",
        "C:\\Users\\TejasBorate\\Desktop\\Youtube-Video-Insights\\youtube_insights_mcp",
        "run",
        "python",
        "main.py"
      ]
    }
  }
}

Requirements

  • Python 3.10+
  • mcp
  • youtube-transcript-api
  • requests

Error Handling

The server handles various error cases:

  • Transcripts disabled for video
  • No transcript available
  • Video unavailable
  • Invalid URL format
  • Network errors

All errors are returned in a structured JSON format with descriptive messages.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured