Cover image
Try Now
2025-03-26

El servidor de YouTube MCP es una solución con AI diseñada para revolucionar su experiencia en YouTube. Empodera a los usuarios buscar videos de YouTube, recuperar transcripciones detalladas y realizar búsquedas semánticas sobre contenido de video, todo sin depender de la API oficial. Al integrarse con una base de datos vectorial, este servidor optimiza el descubrimiento de contenido.

3 years

Works with Finder

1

Github Watches

0

Github Forks

1

Github Stars

YouTube MCP Server

A Model Context Protocol (MCP) server that provides tools for searching YouTube videos, retrieving transcripts, and performing semantic search over video content.

Support Us

If you find this project helpful and would like to support future projects, consider buying us a coffee! Your support helps us continue building innovative AI solutions.

Your contributions go a long way in fueling our passion for creating intelligent and user-friendly applications.

Table of Contents

Features

  • Search YouTube videos without using the official API
  • Retrieve video transcripts
  • Store video information and transcripts in a vector database
  • Perform semantic search over stored video transcripts

Prerequisites

  • Python 3.8+
  • Google API key for embeddings
  • uv package manager

Installation

  1. Clone this repository

  2. Create and activate a virtual environment using uv:

uv venv
# On Windows:
.venv\Scripts\activate
# On Unix/MacOS:
source .venv/bin/activate
  1. Install dependencies using uv:
uv pip install -r requirements.txt
  1. Create a .env file with your Google API key:
GOOGLE_API_KEY=your_api_key_here

Running the Server

There are two ways to run the MCP server:

1. Direct Method

To start the MCP server directly:

uv run python server.py

2. Configure for Claude.app

Add to your Claude settings without using any package manager this works for windows:

"mcpServers": {
  "youtube": {
    "command": "C:\\Path\\To\\Your\\Project\\.venv\\Scripts\\python.exe",
    "args": ["C:\\Path\\To\\Your\\Project\\server.py"],
    "env": {
      "GOOGLE_API_KEY": "your_api_key_here"
    }
  }
}

Using Uv package manager this works for windows:

"mcpServers": {
  "youtube": {
    "command": "uv",
    "args": ["--directory", "C:\\Path\\To\\Your\\Project", "run", "server.py"],
    "env": {
      "GOOGLE_API_KEY": "your_api_key_here"
    }
  }
}

Available Tools

The server provides the following tools:

  1. search-youtube: Search for YouTube videos based on a query

    • Parameters:
      • query: Search query string
      • max_results: Maximum number of results to return (default: 5)
  2. get-transcript: Get the transcript of a YouTube video

    • Parameters:
      • video_url: URL of the YouTube video
  3. store-video-info: Store video information and transcript in the vector database

    • Parameters:
      • video_url: URL of the YouTube video
      • metadata: Optional metadata about the video
  4. search-transcripts: Search stored video transcripts using semantic search

    • Parameters:
      • query: Search query
      • limit: Maximum number of results to return (default: 3)

Using with MCP Clients

This server can be used with any MCP-compatible client, such as Claude Desktop App. The tools will be automatically discovered and made available to the client.

Example Usage

  1. Start the server using one of the methods described above
  2. Open Claude Desktop App
  3. Look for the hammer icon to verify that the YouTube tools are available
  4. You can now use commands like:
    • "Search for Python tutorial videos"
    • "Get the transcript of this video: [video_url]"
    • "Search through stored video transcripts about machine learning"

Debugging

If you encounter any issues:

  1. Make sure your Google API key is correctly set in the .env file
  2. Check that all dependencies are installed correctly
  3. Verify that the server is running and listening for connections
  4. Look for any error messages in the server output

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • Daren White
  • A supportive coach for mastering all Spanish tenses.

  • J. DE HARO OLLE
  • Especialista en juegos de palabras en varios idiomas.

  • albert tan
  • Japanese education, creating tailored learning experiences.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • huahuayu
  • Una puerta de enlace de API unificada para integrar múltiples API de explorador de blockchain similar a Esterscan con soporte de protocolo de contexto modelo (MCP) para asistentes de IA.

  • deemkeen
  • Controle su MBOT2 con un combo de potencia: MQTT+MCP+LLM

  • zhaoyunxing92
  • 本项目是一个钉钉 MCP (Protocolo del conector de mensajes )服务 , 提供了与钉钉企业应用交互的 API 接口。项目基于 Go 语言开发 支持员工信息查询和消息发送等功能。 支持员工信息查询和消息发送等功能。

  • pontusab
  • La comunidad de cursor y windsurf, encontrar reglas y MCP

    Reviews

    5 (1)
    Avatar
    user_y6VNkK1d
    2025-04-16

    Youtube-MCP by IA-Programming is an exceptional tool for managing your YouTube channels more effectively. The integration is seamless and the user-friendly interface makes it easy to navigate through various functionalities. I appreciate how it streamlines video management and keeps everything organized. Check it out at https://github.com/IA-Programming/Youtube-MCP – it's a game-changer for any serious content creator!