YouTube Transcript

Obtém transcrições para vídeos do YouTube.

Documentação

ytt-mcp: Servidor MCP de Transcrições do YouTube

Servidor MCP para buscar transcrições de vídeos do YouTube.

Instalação e Execução

A maneira mais conveniente de instalar e executar é usar uv e então invocar o pacote usando uvx

Usando o MCP Inspector (apenas para desenvolvimento/depuração/testes)

uv run fastmcp dev ytt_mcp.py

Isso gerará uma URL de localhost que pode ser usada para examinar e testar o servidor.

image

Claude Desktop

Vá para Configurações → Desenvolvedor e clique em Editar Configuração. Isso abrirá o arquivo claude-desktop-config.json no seu editor padrão. Faça a seguinte adição

{
  "mcpServers": {
    …<rest of the config>…
    "ytt-mcp": {
      "command": "uvx",
      "args": ["ytt-mcp"]
    }
  }
}

Reinicie a configuração do Claude e experimente o servidor conforme mostrado na captura de tela abaixo

image

Raycast

Se você estiver usando o Raycast, pode instalar o servidor MCP invocando o comando Instalar Servidor na extensão MCP.

image

Depois disso, você pode se referir ao servidor MCP como @youtube-transcript e interagir com ele. Você também pode usá-lo em um Comando de IA do Raycast com um prompt. Por exemplo, aqui está um prompt que uso para extrair e resumir uma URL do YouTube na área de transferência

@youtube-transcript fetch the Youtube transcript of the video: {clipboard | raw}

Comprehensively summarize the transcript with the following format:
"""
### Key Takeaways

- <EXACTLY three bullet points with the key takeaways, keep the bullet points as short as possible>
"""

### Theme Wise Breakdown
<divide the transcript into thematic sections and summarize each section comprehensively. reuse any existing section delimiters the article already has. If not add your own. keep the content of the breakdown in the same order as it appears in the webpage text.>

Some rules to follow precisely:
- ALWAYS capture the perspective and POV of the author
- NEVER come up with additional information

Veja a demonstração em vídeo abaixo

https://github.com/user-attachments/assets/e6530768-3483-4cb9-988a-7ec7a999d505