Skip to main content
Glama

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.

Built by Walid Koleilat to learn MCP end-to-end and solve a real workflow: turning hours of podcast audio into useful PM-focused summaries without leaving Claude.

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

Related MCP server: ytt-mcp

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/walid-koleilat/mcp-podcast-scraper.git
cd mcp-podcast-scraper

# Install dependencies
npm install

# Build
npm run build

Step 3: Get a Deepgram API Key

  1. Go to https://console.deepgram.com/

  2. Sign up (free tier includes $200 credit - enough for ~300 hours of audio)

  3. Create an API key

  4. 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.json to git - it contains your API key! The .gitignore already 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

  1. Check for new episodes:

    "Check my tracked podcasts for new episodes"
  2. Scrape each new episode:

    "Scrape the first one"
  3. Get transcript and summarize:

    "Get the transcript and summarize it"
  4. 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_KEY

  • OUTPUT_DIRECTORY

  • TEMP_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

  1. Run npm run build

  2. Verify path in MCP config is correct

  3. Restart Claude Code/Desktop

"YouTube URLs not supported for tracking"

Use RSS feeds instead. Find podcast RSS feeds at https://getrssfeed.com/


License

MIT

Available Tools

10 tools
add_trackingA

Add a podcast RSS feed to the tracking list. Use check_new_episodes to find new episodes.

Inputs: podcastName (required), feedUrl (required).

check_new_episodesB

Check all tracked podcasts for new episodes that haven't been scraped yet

Inputs: no named parameters.

get_summary_promptA

Get the custom prompt/instructions for how to summarize podcasts. Read this before summarizing to follow the user's preferences.

Inputs: no named parameters.

get_transcriptB

Read the transcript of a previously scraped episode. After reading, use get_summary_prompt for summarization instructions.

Inputs: podcastName (required), episodeTitle (required), episodeDate (required).

list_incompleteA

List all episodes that have transcripts but are missing summaries. Use this to find episodes that need summarization.

Inputs: no named parameters.

list_trackingB

List all podcasts currently being tracked

Inputs: no named parameters.

remove_trackingC

Remove a podcast from the tracking list

Inputs: podcastName (required).

save_summaryC

Save your generated summary to a markdown file.

Inputs: podcastName (required), episodeTitle (required), episodeDate (required), summaryText (required).

scrape_podcastA

Scrape a podcast episode and transcribe it. Returns transcript file path. Use get_transcript to read it, then save_summary after summarizing.

Inputs: query (required), podcastName, episodeTitle, force.

search_podcastB

Search for podcasts or episodes on YouTube, or parse an RSS feed URL to see available episodes

Inputs: query (required), source.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 10 tools

    Disambiguation4/5

    Most tools have distinct purposes, but there is some overlap between 'scrape_podcast' and 'check_new_episodes' as both involve scraping episodes, which could cause confusion. However, descriptions clarify that 'scrape_podcast' is for manual scraping of specific episodes, while 'check_new_episodes' automatically checks tracked feeds, so the ambiguity is limited.

    Naming Consistency4/5

    Tool names follow a consistent verb_noun pattern throughout, such as 'add_tracking', 'check_new_episodes', and 'save_summary'. The only minor deviation is 'list_incomplete', which uses an adjective instead of a noun, but this does not significantly impact readability or consistency.

    Tool Count5/5

    With 10 tools, the server is well-scoped for podcast scraping and summarization. Each tool serves a clear purpose in the workflow, from tracking and scraping to transcription and summarization, without being overly sparse or bloated.

    Completeness5/5

    The tool set provides complete coverage for the podcast domain, including tracking management (add, list, remove), scraping and transcription, transcript retrieval, summarization with custom prompts, and saving summaries. There are no obvious gaps; it supports a full lifecycle from discovery to final output.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that enables users to retrieve YouTube transcripts and perform video or channel searches without requiring Google API keys. It supports transcript chunking and provides tools for detailed video content analysis and channel metadata extraction.
      5
      5
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server that extracts YouTube video transcripts (including metadata) as Markdown, enabling AI to summarize and discuss video content without watching it.
      MIT