varuniJ/Podcast-Summarizer-MCP
3.1
If you are the rightful owner of Podcast-Summarizer-MCP 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.
Podcast-Summarizer-MCP is a server that processes YouTube videos to provide transcriptions and summaries using advanced AI technologies.
Podcast Summarizer MCP
A Model Context Protocol (MCP) server that downloads YouTube videos, transcribes them using Whisper, and summarizes them using Groq's LLM.
Setup
- Install dependencies:
pip install -r requirements.txt
- Set up your environment variables:
# Create a .env file with your Groq API key
echo "GROQ_API_KEY=your_groq_api_key_here" > .env
Usage
Option 1: Run Server and Client Separately
- Start the MCP server:
python podcast_mcp_server.py
- In another terminal, run the client:
python mcp_client.py
Option 2: Use with Claude Desktop
- Start the MCP server:
python podcast_mcp_server.py
- In Claude Desktop, add the MCP server:
- Go to Settings ā Model Context Protocol
- Add a new server
- Command:
python podcast_mcp_server.py
- Working directory: Your project folder
How it Works
- Download: Uses
yt-dlp
to download audio from YouTube URLs - Transcribe: Uses
faster-whisper
to convert audio to text - Summarize: Uses Groq's
llama3-70b-8192
model to create a 5-point summary
Available Tools
summarize_podcast(url: str)
: Downloads, transcribes, and summarizes a YouTube video
Example
š§ Enter YouTube URL to summarize (or 'quit' to exit): https://www.youtube.com/watch?v=example
ā³ Summarizing: https://www.youtube.com/watch?v=example
This may take a few minutes...
==================================================
š SUMMARY RESULT:
==================================================
ā
**Summary of the Podcast**
Language: `en`
**Summary:**
1. Point one about the content
2. Point two about the content
3. Point three about the content
4. Point four about the content
5. Point five about the content
==================================================
Requirements
- Python 3.8+
- FFmpeg (for audio processing)
- Groq API key
- Internet connection for downloading videos