youtube-transcript-mcp
An MCP server that gives Claude access to YouTube video transcripts. Extract full transcripts, search for keywords with timestamps, and get direct YouTube links to matching moments.
README
YouTube Transcript MCP Server
An MCP server that gives Claude access to YouTube video transcripts. Extract full transcripts, search for keywords with timestamps, and get direct YouTube links to matching moments.
Tools
get_transcript
Extract the full timestamped transcript from any YouTube video.
Title: Rick Astley - Never Gonna Give You Up (Official Video)
Channel: Rick Astley
Duration: 3:33
Source: captions | Language: en | Segments: 60
---
[0:01] [♪♪♪]
[0:18] ♪ We're no strangers to love ♪
[0:22] ♪ You know the rules and so do I ♪
...
search_transcript
Keyword search across a video's transcript. Matches are grouped, marked with >>>, and include a YouTube link to jump to that moment.
Search: "give you up" in Rick Astley - Never Gonna Give You Up
Matches: 9 hits in 2 group(s)
--- Group 1 (1 hit(s)) — https://www.youtube.com/watch?v=dQw4w9WgXcQ&t=43 ---
[0:40] ♪ Gotta make you understand ♪
>>> [0:43] ♪ Never gonna give you up ♪
[0:45] ♪ Never gonna let you down ♪
Install
git clone https://github.com/yunlinwu/youtube-transcript-mcp.git
cd youtube-transcript-mcp
pip install -e .
For Whisper fallback (transcribes videos without captions):
pip install -e ".[whisper]"
Setup
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"youtube-transcript": {
"command": "/path/to/youtube-transcript-mcp/.venv/bin/youtube-transcript-mcp"
}
}
}
Claude Code
Add to .claude/settings.json:
{
"mcpServers": {
"youtube-transcript": {
"command": "/path/to/youtube-transcript-mcp/.venv/bin/youtube-transcript-mcp"
}
}
}
Then restart Claude Desktop or Claude Code to pick up the server.
How it works
- You ask Claude about a YouTube video
- Claude calls
get_transcriptorsearch_transcriptvia MCP - The server uses yt-dlp to fetch captions (or Whisper to transcribe audio as a fallback)
- Claude gets back a compact, readable transcript and can summarize, search, or analyze it
Requirements
Development
python3 -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
pytest
License
MIT
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.