MCP Podcast Scraper
An MCP server that scrapes and transcribes podcast episodes from YouTube or RSS feeds using Deepgram's Nova-2 model. It allows users to track podcasts for new episodes, manage transcripts, and generate personalized summaries through Claude.
README
MCP Podcast Scraper
An MCP (Model Context Protocol) server that scrapes and transcribes podcast episodes. Designed to work with Claude Code or Claude Desktop - you provide the podcast, the MCP transcribes it, and Claude summarizes it.
What It Does
- šļø Scrapes podcasts from YouTube videos or RSS feeds
- šÆ Transcribes audio using Deepgram's fast Nova-2 model
- š Organizes files by podcast name and episode date
- š Tracks podcasts for new episodes
- āļø Skips duplicates - won't re-scrape already processed episodes
- š Finds incomplete work - lists episodes that need summarization
- āļø Custom summary prompts - customize how Claude summarizes for your needs
How It Works
You: "Check for new episodes and summarize them"
ā
Claude: Calls check_new_episodes() ā Finds new episodes
ā
Claude: Calls scrape_podcast() ā Downloads & transcribes
ā
Claude: Calls get_summary_prompt() ā Reads your custom instructions
ā
Claude: Calls get_transcript() ā Reads the transcript
ā
Claude: Summarizes following your prompt
ā
Claude: Calls save_summary() ā Saves the .md file
ā
Done! transcript.md + summary.md saved
Installation Guide
Step 1: Prerequisites
Install required system tools (macOS):
# Install Homebrew if you don't have it
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install yt-dlp (for YouTube) and ffmpeg (for audio)
brew install yt-dlp ffmpeg
Step 2: Clone & Build
# Clone the repository
git clone https://github.com/wkoleilat-happytitan/mcp-podcast-scraper.git
cd mcp-podcast-scraper
# Install dependencies
npm install
# Build
npm run build
Step 3: Get a Deepgram API Key
- Go to https://console.deepgram.com/
- Sign up (free tier includes $200 credit - enough for ~300 hours of audio)
- Create an API key
- Copy the key
Step 4: Configure
Copy the example config file and add your API key:
# Copy the example config
cp config.example.json config.json
# Edit config.json and add your Deepgram API key
Your config.json should look like:
{
"outputDirectory": "./podcasts",
"deepgramApiKey": "YOUR_ACTUAL_DEEPGRAM_API_KEY",
"tempDirectory": "./temp"
}
ā ļø Important: Never commit
config.jsonto git - it contains your API key! The.gitignorealready excludes it.
Step 5: Add to Claude Code
Add this to your Claude Code MCP settings (~/.cursor/mcp.json or via Settings ā MCP):
{
"mcpServers": {
"podcast-scraper": {
"command": "node",
"args": ["/FULL/PATH/TO/mcp-podcast-scraper/dist/index.js"]
}
}
}
Important: Replace /FULL/PATH/TO/ with the actual path to your installation.
Step 5 (Alternative): Add to Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"podcast-scraper": {
"command": "node",
"args": ["/FULL/PATH/TO/mcp-podcast-scraper/dist/index.js"]
}
}
}
Then restart Claude Desktop.
File Structure
mcp-podcast-scraper/
āāā config.example.json # Template - copy to config.json
āāā config.json # Your config (git-ignored, contains API key)
āāā tracking.example.json # Example tracking file
āāā tracking.json # Your tracked podcasts (git-ignored)
āāā prompts/
ā āāā summary-prompt.md # Customize how Claude summarizes (editable)
āāā podcasts/ # Your transcripts & summaries (git-ignored)
āāā src/ # Source code
āāā dist/ # Compiled code (git-ignored)
āāā node_modules/ # Dependencies (git-ignored)
Usage Examples
Scrape a Specific Episode
"Scrape this YouTube podcast: https://youtube.com/watch?v=..."
"Find and scrape the latest Lex Fridman episode"
Track Podcasts for New Episodes
"Track the Huberman Lab podcast: https://feeds.megaphone.fm/hubermanlab"
"Check my tracked podcasts for new episodes"
"List all podcasts I'm tracking"
Find Incomplete Work
"Show me episodes that need summaries"
"List incomplete episodes"
MCP Tools Reference
| Tool | Description |
|---|---|
scrape_podcast |
Scrape & transcribe an episode. Returns file path and preview. |
get_transcript |
Read the full transcript of a scraped episode. |
get_summary_prompt |
Get your custom summarization instructions. |
save_summary |
Save your generated summary to a markdown file. |
check_new_episodes |
Check tracked podcasts for new (unscraped) episodes. |
list_incomplete |
Find episodes with transcripts but no summaries. |
search_podcast |
Search YouTube or parse RSS feeds to find episodes. |
add_tracking |
Add a podcast RSS feed to your tracking list. |
list_tracking |
List all podcasts you're tracking. |
remove_tracking |
Remove a podcast from your tracking list. |
Workflow
Typical Session
-
Check for new episodes:
"Check my tracked podcasts for new episodes" -
Scrape each new episode:
"Scrape the first one" -
Get transcript and summarize:
"Get the transcript and summarize it" -
Repeat for remaining episodes
Resume Incomplete Work
If you stopped mid-session:
"Show me episodes that need summaries"
Then for each incomplete episode:
"Get the transcript for [episode] and summarize it"
Output Structure
Files are organized by podcast and episode:
podcasts/
āāā Huberman Lab/
ā āāā 2024-12-10 - Episode Title/
ā ā āāā transcript.md
ā ā āāā summary.md
ā āāā 2024-12-05 - Another Episode/
ā āāā transcript.md
ā āāā summary.md
āāā Lex Fridman Podcast/
āāā 2024-12-08 - Guest Name/
āāā transcript.md
āāā summary.md
Configuration Options
| Option | Description | Default |
|---|---|---|
outputDirectory |
Where to save transcripts and summaries. Can be relative or absolute path. | ./podcasts |
deepgramApiKey |
Your Deepgram API key for transcription | Required |
tempDirectory |
Temporary directory for audio files (auto-cleaned on startup) | ./temp |
Environment variables (optional alternative to config.json):
DEEPGRAM_API_KEYOUTPUT_DIRECTORYTEMP_DIRECTORY
Customizing Summary Prompts
Control how Claude summarizes your podcasts by editing prompts/summary-prompt.md.
The default prompt is tailored for Product Managers and includes:
- šÆ Episode Overview
- š” Key Insights for Product Managers
- š§ Mental Models & Frameworks
- š Personal Development Takeaways
- ā Action Items
- š¬ Notable Quotes
- š Related Topics
Customize for Your Needs
Edit prompts/summary-prompt.md to:
- Change the target audience (engineer, designer, founder, etc.)
- Add/remove sections
- Adjust the summary length
- Focus on specific topics
- Change the formatting style
Example customizations:
For Engineers:
Focus on:
- Technical concepts and architecture decisions
- Implementation details worth noting
- Tools and technologies mentioned
- Code patterns and best practices
For Founders:
Focus on:
- Business strategy insights
- Fundraising advice
- Growth tactics
- Leadership lessons
- Mistakes to avoid
Claude will read this prompt before generating each summary, ensuring consistent, personalized output.
Development
# Watch mode (auto-rebuild on changes)
npm run dev
# Build once
npm run build
# Run MCP server directly
npm start
# Clean build artifacts and temp files
npm run clean
# Test with MCP Inspector (interactive UI)
npx @modelcontextprotocol/inspector node dist/index.js
Troubleshooting
"ffprobe and ffmpeg not found"
brew install ffmpeg
"Deepgram API key not configured"
Make sure you've copied config.example.json to config.json and added your API key.
MCP server not connecting
- Run
npm run build - Verify path in MCP config is correct
- Restart Claude Code/Desktop
"YouTube URLs not supported for tracking"
Use RSS feeds instead. Find podcast RSS feeds at https://getrssfeed.com/
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.