youtube-transcript-mcp
Allows extracting transcripts from YouTube videos, including metadata like video ID, title, channel, available languages, and timestamped text segments.
Click on "Deploy 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.
Available Tools
1 toolget_transcriptC
Extrai a transcrição de um vídeo do YouTube a partir da URL (ou ID do vídeo).
Inputs: url (required), language.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
TDQS
Scored across 1 tool
There is only one tool, so there is no possibility of confusion or overlap between tools. The single tool has a clearly distinct purpose.
With only one tool named 'get_transcript', naming is trivially consistent. It follows a verb_noun pattern (get_transcript), which is clear and predictable.
The server has only one tool, which is at the lower end of the appropriate range. While it serves a focused purpose, a single tool feels thin and may limit usefulness.
The tool fully covers its intended purpose of extracting transcripts from YouTube videos via URL or ID. No obvious gaps exist for the given domain.
Maintenance
Related MCP Connectors
An MCP server that gives any LLM or agent clean YouTube transcripts on demand: a single video, a whole channel, or a playlist, plus AI cleanup of auto-generated captions. API-key auth, credit-based, same backend as the public v1 API. Get a free API key with 25 free credits at youtubetranscriptdownload.com/account.
YouTube transcripts, search, channel browsing, and playlists for AI agents via MCP.
Real-time YouTube transcripts, comments, channels & video search MCP. Local npx or hosted OAuth.
MCP server for Clipkit — gives AI agents a video toolbox via the Clipkit schema.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP 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.650 PyPI6MIT
- AlicenseNot gradedqualityDmaintenanceA 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.35 npmMIT
- AlicenseNot gradedqualityDmaintenanceMCP server for fetching YouTube video transcripts without an API key.GPL 3.0
- FlicenseNot gradedqualityDmaintenanceMCP server providing tools to fetch YouTube video transcripts with metadata, supporting direct YouTube transcripts and audio transcription via multiple backends (whisper, AssemblyAI, OpenAI, Gemini).-