puchAI-youtube-summarizer

pranavmittal07/puchAI-youtube-summarizer

3.1

If you are the rightful owner of puchAI-youtube-summarizer and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A lightweight MCP server that processes YouTube audio for transcription and AI tasks.

šŸŽ™ļø YouTube Transcript MCP Server

A lightweight MCP (Model Context Protocol) server that downloads audio from YouTube videos, transcribes it using AssemblyAI, and makes the transcript accessible for summarization, Q&A, or other AI-powered tasks.


šŸš€ Features

  • šŸ”‘ Bearer Token Authentication for secure access
  • šŸŽ§ Download YouTube Audio with yt-dlp
  • šŸ“ Transcribe audio via AssemblyAI
  • ⚔ Async support for efficient background processing
  • šŸ› ļø MCP Tool Integration for AI agent workflows

šŸ“‚ Project Structure

ā”œā”€ā”€ media/ # Stores downloaded audio files ā”œā”€ā”€ server.py # Main MCP server script ā”œā”€ā”€ requirements.txt # Python dependencies ā”œā”€ā”€ .env # Environment variables └── README.md # Project documentation


šŸ”§ Installation

  1. Clone this repository

    git clone [https://github.com/your-username/youtube-transcript-mcp.git](https://github.com/your-username/youtube-transcript-mcp.git)
    cd youtube-transcript-mcp
    
  2. Create a virtual environment

    python -m venv venv
    source venv/bin/activate  # On Windows use: venv\Scripts\activate
    
  3. Install dependencies

    pip install -r requirements.txt
    

āš™ļø Environment Setup

Create a .env file in the root directory and add the following:

```env
AUTH_TOKEN=your_auth_token
MY_NUMBER=your_identifier
ASSEMBLY_AI_API_KEY=your_assemblyai_key