youtube-transcript-mcp
Allows extracting transcripts from YouTube videos, including metadata like video ID, title, channel, available languages, and timestamped text segments.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@youtube-transcript-mcptranscript of https://youtu.be/dQw4w9WgXcQ"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
youtube-transcript-mcp
Servidor MCP local, em stdio, que expõe uma tool get_transcript(url, language?) para extrair a
transcrição de um vídeo do YouTube — sem API key, sem depender de infraestrutura de terceiros.
Por que existe
Substitui o servidor remoto de terceiros listado em mcpmarket.com (ergut/youtube-transcript-mcp),
cuja conexão via SSE falhava — o endpoint nunca envia o evento endpoint exigido pelo transporte
SSE legado do MCP, só uma notificação solta (notifications/initialized), travando o cliente
esperando. Este servidor roda inteiramente na sua máquina, sem cache de dados fora dela.
Related MCP server: youtube-mcp
Contrato da tool
get_transcript(url: string, language?: string)
→ {
videoId, title, channel, url,
language, availableLanguages,
transcript: { start: number, text: string }[]
// start em segundos, precisão original do YouTube (não arredondado)
// array, não dicionário por timestamp — evita reordenação de chave
// inteira e colisão quando duas legendas caem no mesmo segundo
}Se language for pedido e não existir para aquele vídeo, retorna erro listando
availableLanguages em vez de falhar silenciosamente. Aceita tanto o nome de exibição usado
pelo YouTube (ex. "Portuguese", "English (auto-generated)") quanto o código ISO (ex.
"pt", "en").
A tool só extrai e devolve texto/metadados — não grava nada em disco e não integra com nenhum sistema de memória. O que fazer com o resultado (salvar, processar, indexar) é responsabilidade de quem consome a tool.
Stack
Node + TypeScript, @modelcontextprotocol/sdk
(transporte stdio) e youtubei.js para extração sem API
key. Sem etapa de build — roda via npx tsx src/index.ts.
Risco conhecido: o endpoint interno de transcrição do YouTube já teve falhas HTTP 400
intermitentes reportadas na lib youtubei.js (LuanRT/YouTube.js#1102),
e há discussão em aberto sobre exigência de PoToken para reduzir bloqueio por bot. Sem mitigação
implementada por enquanto — se aparecer na prática, trate então (retry, PoToken, etc.).
Setup
git clone <url-deste-repo>
cd youtube-transcript-mcp
npm installRegistro no Claude Code (escopo local, só no projeto onde for usado):
claude mcp add --scope local youtube-transcript -- npx tsx /caminho/para/youtube-transcript-mcp/src/index.tsAjuste o caminho para onde você clonou o repositório.
Origem
Extraído de harness-engineering-scaffold — nasceu como parte de um projeto de harness engineering mais amplo, mas é uma ferramenta independente e genérica: qualquer projeto que precise extrair transcrições do YouTube pode usá-la sem depender do resto do scaffold.
Licença
MIT — ver LICENSE. Use, copie, modifique e redistribua livremente.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseAqualityAmaintenanceMCP server that fetches YouTube video transcripts and optionally summarizes them. Supports multiple transcript formats (text, JSON, SRT, WebVTT), multi-language retrieval, and flexible YouTube URL parsing.Last updated64MIT
- Alicense-qualityDmaintenanceA local MCP server for extracting YouTube video transcripts, metadata, and performing visual analysis using Gemini Vision or local Whisper models. It enables users to process video content through various tools for subtitle retrieval and frame analysis.Last updated29MIT
- AlicenseAqualityDmaintenanceMCP server to fetch transcripts for YouTube videos, enabling users to retrieve and summarize video content via natural language.Last updated172MIT
- AlicenseAqualityBmaintenanceMCP server for Scribefy — extract YouTube transcripts from Claude Desktop, Cursor, Windsurf, ChatGPT custom GPTs, or any other MCP-compatible client.Last updated46751MIT
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
💯 The fastest YouTube transcript + YouTube search MCP for AI agents. Try for free.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gomesmr/youtube-transcript-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server