YouTube Transcript MCP Server

YouTube Transcript MCP Server

Enables users to extract, search, and analyze YouTube video transcripts directly within MCP-compatible clients. It supports advanced features like time-chunked summaries, keyword searching with surrounding context, and batch processing for multiple videos.

Category
Visit Server

README

YouTube Transcript MCP Server

PyPI version Python 3.11+ License: MIT Smithery

An MCP (Model Context Protocol) server that extracts, searches, and analyzes YouTube video transcripts. Works with Claude Desktop, Cursor, and any MCP-compatible client.

Features

  • Get Transcript - Extract full transcript from any YouTube video
  • Search Transcript - Find specific keywords with surrounding context
  • Transcript Summary - Get time-chunked transcript for easier analysis
  • Batch Processing - Process up to 10 videos at once

Installation

pip (recommended)

pip install yt-transcript-mcp

From source

git clone https://github.com/alex2zimmermann-ux/yt-transcript-mcp
cd yt-transcript-mcp
pip install .

Configuration

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "youtube-transcript": {
      "command": "yt-transcript-mcp",
      "env": {
        "YT_MCP_MODE": "standalone"
      }
    }
  }
}

Environment Variables

Variable Default Description
YT_MCP_MODE standalone standalone or backend
YT_MCP_BACKEND_URL http://localhost:8300 Backend service URL
YT_MCP_BACKEND_API_KEY - API key for backend
YT_MCP_CACHE_MAX_SIZE 100 Max cache entries
YT_MCP_CACHE_TTL_SECONDS 3600 Cache TTL in seconds
YT_MCP_RATE_LIMIT_PER_MINUTE 30 Rate limit
YT_MCP_TRANSPORT stdio stdio or streamable-http

Modes

Standalone (default)

Uses youtube-transcript-api directly. Lightweight, no external dependencies. Best for marketplace deployment.

Backend

Connects to a running transcript service (FastAPI) that supports cookies, yt-dlp, and Whisper fallback. Best for premium/self-hosted usage.

Tools

get_transcript

Get the transcript of a YouTube video.

Parameters:

  • url (required) - YouTube URL or video ID
  • language (optional, default: "en") - Language code
  • format (optional, default: "text") - "text", "segments", or "both"

search_transcript

Search for keywords in a video transcript.

Parameters:

  • url (required) - YouTube URL or video ID
  • query (required) - Search term
  • language (optional, default: "en")
  • context_segments (optional, default: 1) - Surrounding segments to include

get_transcript_summary

Get transcript in time chunks for analysis.

Parameters:

  • url (required) - YouTube URL or video ID
  • language (optional, default: "en")
  • chunk_minutes (optional, default: 5)

batch_transcripts

Process multiple videos at once.

Parameters:

  • urls (required) - List of YouTube URLs or IDs (max 10)
  • language (optional, default: "en")

Docker

# Standalone
docker compose --profile standalone up

# Backend
YT_MCP_BACKEND_API_KEY=your-key docker compose --profile backend up

Development

python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
pytest tests/ -v --cov

License

MIT

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