podcast-summarizer-mcp
Connect via OpenClaw to interact with the podcast summarizer agent from Discord.
Connect via OpenClaw to interact with the podcast summarizer agent from Telegram.
Connect via OpenClaw to interact with the podcast summarizer agent from WhatsApp.
Search and discover YouTube channels via natural language, track channels, and summarize videos without requiring transcripts or subtitles.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@podcast-summarizer-mcp Summarize the latest video from @lexfridman"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Podcast Summarizer MCP 📝
MCP that works with OpenClaw, Claude Desktop, Claude Code. Search & discover YouTube channels via natural language and summarize videos with no transcripts or subtitles required.
Quick start (5 minutes)
Python 3.10+ and a Gemini API key (free) from https://aistudio.google.com.
1. Install
pip install podcast-summarizer-mcpThis puts podcast-summarizer-mcp on your PATH. (Or use pipx install
/ uvx install if you prefer isolated tools.)
2. Configure ONE host
Pick whichever you use. Replace AIza... with your Gemini key.
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json
(macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"podcast-summarizer": {
"command": "podcast-summarizer-mcp",
"env": { "GEMINI_API_KEY": "AIza..." }
}
}
}Quit Claude Desktop fully (⌘Q) and reopen. Click the 🔌 icon —
podcast-summarizer should be listed.
Claude Code
claude mcp add podcast-summarizer \
--env GEMINI_API_KEY=AIza... \
-- podcast-summarizer-mcp
claude mcp list # should show podcast-summarizerOpenClaw
Add to ~/.openclaw/openclaw.json under mcp.servers:
"podcast-summarizer": {
"command": "podcast-summarizer-mcp",
"env": { "GEMINI_API_KEY": "AIza..." }
}Restart OpenClaw (pkill -f openclaw-gateway; openclaw).
Installing from source instead?
git clone,cd, thenpython3 -m venv .venv && .venv/bin/pip install -e ., and use the absolute path$(pwd)/.venv/bin/podcast-summarizer-mcpfor thecommandfield above.
Related MCP server: YouTube Tools MCP Server
Example prompts
Discover:
Does Andrej Karpathy have a YouTube channel?
Find me a few investing podcasts.
Track:
Add Forward Guidance to my channels
Add @ForwardGuidanceBW
What channels am I tracking?
Remove Forward Guidance
Summarize:
Summarize this video: https://www.youtube.com/watch?v=MO9ZTZPUwXY
Summarize today's new videos from all my channels in parallel
I have a 20-video backlog — no rush, do it overnight to save cost
The agent picks analyze_video_start (parallel, full price) by default
and analyze_videos_batch_start (50% off, async) only when you say
"no rush" / "overnight".
📱 Use via Telegram, WhatsApp & More (OpenClaw)
Connect this MCP to Telegram, WhatsApp, Discord and 20+ messaging platforms via OpenClaw — a self-hosted AI gateway. Talk to your podcast research agent from your phone, anywhere.
Telegram → OpenClaw agent (Claude / Gemini / GPT) → podcast-summarizer-mcp → Gemini + YouTubeOpenClaw routes messages from your chat platform of choice to an AI agent. The agent talks to this MCP over standard stdio — no Python wrapper or shim required.
Setup
# 1. Install OpenClaw (Node 22+)
npm install -g openclaw
# 2. Add a Telegram bot token (interactive — paste BotFather token)
openclaw configure --section channels
# 3. Add this MCP + agent + model to ~/.openclaw/openclaw.json:
# (already covered in Quick Start — use the OpenClaw snippet)
openclaw config set agents.defaults.model "anthropic/claude-sonnet-4-5"
# 4. Start the gateway
openclaw gatewayTools
13 tools. The agent picks; you don't call them directly.
Tool | Purpose |
| Fuzzy channel search |
|
|
| Subs, description, recent titles |
| Add to registry |
| Remove from registry |
| List tracked channels |
| New videos since last poll |
| Metadata only (no Gemini cost) |
| Launch Gemini analysis (returns |
| Poll for the result |
| 50%-cheaper batch path (24h SLA) |
| Poll batch result |
| Per-channel last-seen video |
Registry state lives at ~/.podcast-summarizer-mcp/channels.json.
Configuration
Set in the host's env block. Only GEMINI_API_KEY is required.
Variable | Default |
| required |
|
|
|
|
|
|
|
|
| unset → built-in investment-podcast prompt |
VIDEO_ANALYSIS_PROMPT_PATH is re-read on every analysis call (no restart). Bundled examples in prompts/: investment-podcast.md, technical-talk.md, interview.md, news-briefing.md.
MIT License.
Available Tools
13 toolsadd_tracked_channelA
Add a channel to the registry. You MUST call this tool to add a channel — claiming "I've added X" without invoking it leaves the user's registry empty and the user has no way to know until they next ask "what am I tracking" and discover the missing channels.
Idempotent: re-adding the same channel_id updates name/handle/tags but preserves the original added_at timestamp. Tags are arbitrary strings — use them to group channels (e.g. ["macro"], ["semis", "podcast"]).
Args: channel_id: YouTube channel ID, must start with "UC". name: Display name (the user-friendly label). handle: Optional "@handle" (cosmetic, helps users identify the channel). tags: Optional list of grouping strings (default empty).
Returns:
{ added: true,
channel: {channel_id, name, handle, tags, added_at},
registry_total: ,
registry_now_contains: [name, name, ...], # alphabetical
user_facing_message: "Added X. Registry now has N channels: ..." }
Use user_facing_message verbatim when telling the user the result —
it carries the freshly-verified state and prevents misreporting.
Inputs: channel_id (required), name (required), handle, tags.
analyze_video_resultA
Poll for an analyze_video_start result. Blocks up to wait_seconds for a state change.
Default wait_seconds=10 keeps the blocking window well under the typical 60s MCP request timeout enforced by hosts. Smaller blocking window = guaranteed return well under 60s at the cost of more poll round-trips (cheap, ~1KB per poll).
Recommended pattern: call with wait_seconds=10 each poll. Cap total
polling at ~90 iterations (~15 min) — most podcasts finish within 3-5 min.
If a poll returns an MCP-transport error (not a status: "error"
payload), the underlying job is likely still alive on the server —
re-poll with the SAME job_id rather than starting over.
Args: job_id: The id returned by analyze_video_start wait_seconds: How many seconds to block waiting for completion (default 10, clamped to [0, 55] to stay safely under the MCP 60s request timeout)
Returns: { job_id, status, video_url, created_at, started_at, finished_at, result?, error?, attempts }
status="pending" or "running": still processing — poll again.
status="done": result holds the AnalysisResult dict (analysis, timestamps_valid, video_duration, vaneck_excluded, attempts, error=null).
status="error": error holds the message; result may hold a partial AnalysisResult.
status="not_found": job_id unknown (job purged after 6h TTL or wrong id).
Inputs: job_id (required), wait_seconds.
analyze_videos_batch_resultA
Poll the Gemini Batch API once; if done, return per-video results.
Call repeatedly until status is SUCCEEDED / FAILED / CANCELLED / EXPIRED. Recommended cadence: every 30-60s.
Args: batch_job_name: Name returned by analyze_videos_batch_start
Returns: { status, batch_job_name, results? (on SUCCEEDED), error? (on terminal failure) }
results: { video_id: AnalysisResult }
Inputs: batch_job_name (required).
analyze_videos_batch_startA
Submit a batch of YouTube videos to Gemini Batch API for async analysis.
Use this ONLY when the user explicitly says "no rush", "overnight",
"do it later", or for scheduled cron digests. Batch is 50% cheaper
than analyze_video_start but the wall-clock SLA is up to 24 hours
(typically 15-60 min). For interactive requests — even multi-video
ones like "summarize today's new videos" — prefer analyze_video_start
fired N times in parallel (~5-10 min wall-clock for any N).
Args:
video_urls: List of full YouTube URLs (https://www.youtube.com/watch?v=...)
prompt: Optional override for the analysis prompt. If None, the
default ships with an investment-podcast persona — set
$VIDEO_ANALYSIS_PROMPT_PATH to change the host-wide default,
or pass prompt here for a per-batch override.
Returns: { batch_job_name, video_count, video_urls, status: "pending", skipped: [{video_url, reason}] }
Inputs: video_urls (required), prompt.
analyze_video_startA
Launch Gemini video analysis as a background job. Returns in <1s with a job_id.
This is the default for both single-video and multi-video requests.
For multiple videos, fire this tool N times back-to-back (each call
returns in <1s with its own job_id) — the analyses run concurrently
in background threads, so wall-clock time is bounded by the slowest
single video (~3-10 min), NOT N × per-video time. Then poll
analyze_video_result(job_id) for each job_id.
Use analyze_videos_batch_start ONLY when the user explicitly says
"no rush", "overnight", or for scheduled / cron digests where minutes-
to-hours latency is acceptable in exchange for 50% cost savings.
Podcast-length videos take Gemini 3-15 min to analyze, which exceeds typical
MCP host request timeouts (Claude Desktop, Claude Code, OpenClaw all cap
individual tool calls at ~60s). This tool spawns a background thread and
returns immediately; poll analyze_video_result(job_id) to get the
finished analysis.
Does NOT update discovery state. Caller is responsible for calling discover_new_videos (which manages state) beforehand.
Args:
video_url: Full YouTube URL (https://www.youtube.com/watch?v=...)
max_retries: How many Gemini retries on empty/short output (default 3)
prompt: Optional override for the analysis prompt. If None, the
default ships with an investment-podcast persona — set
$VIDEO_ANALYSIS_PROMPT_PATH to change the host-wide default,
or pass prompt here for a one-off override (e.g. "summarize
this technical talk in 5 bullets").
Returns: { job_id, video_url, status: "pending" }
Inputs: video_url (required), max_retries, prompt.
discover_new_videosA
Discover new videos from YouTube channels since the last time this MCP saw them.
Two modes for selecting channels:
Pass
channel_idsexplicitly (legacy behavior).Omit
channel_idsand the MCP reads from its tracked-channel registry (managed by add_tracked_channel / remove_tracked_channel). Usetagto filter the registry — e.g. tag="macro" returns only channels tagged macro.
State is tracked per channel in a server-managed JSON file. On the FIRST call for a channel, the most recent video is returned (and state is seeded) so the caller has something to analyze without ingesting the entire backlog.
Filters applied:
Livestreams (duration == 0) are skipped
Videos shorter than min_duration_seconds are skipped (default 10 minutes)
Videos older than or equal to the last-seen video are skipped
Args: channel_ids: Optional list of YouTube channel IDs. If omitted, the registry is used. tag: Optional tag filter for registry-based mode (ignored if channel_ids given). max_per_channel: How many recent uploads to inspect per channel (default 5) min_duration_seconds: Minimum video length to include (default 600 = 10min)
Returns: DiscoverResult with new_videos (newest first), skipped, channels_processed, and first_run_channels (channels that had no prior state).
Inputs: channel_ids, tag, max_per_channel, min_duration_seconds.
get_channel_metadataA
Fetch full metadata for a known channel_id.
Use after search_youtube_channels to enrich a candidate with subscriber count, description, and recent video titles before presenting to the user.
Args: channel_id: YouTube channel ID (must start with "UC").
Returns: { channel_id, name, handle, description, subscriber_count, channel_url, recent_video_titles }.
Inputs: channel_id (required).
get_stateA
Read-only view of the discovery state file.
Returns the last-seen video_id, published_at, and analyzed_at for each channel that has been processed. Useful for answering "what's the latest video I've seen from channel X?" without re-hitting YouTube.
Args: channel_ids: If provided, return only these channels. Otherwise return all.
Inputs: channel_ids.
get_video_infoA
Cheap metadata-only lookup for a single YouTube video (1 YouTube API unit).
Use this to inspect a video's title, duration, channel, and publish date without burning Gemini tokens.
Args: video_url: Full YouTube URL or just the video ID min_duration_seconds: Threshold for the excluded_from_analysis flag (default 600)
Inputs: video_url (required), min_duration_seconds.
list_tracked_channelsA
List all channels currently in the registry. Always call this tool when the user asks "what am I tracking" or similar — never answer from memory or prior conversation context, since the registry can be mutated by other clients between turns.
Args: tag: If provided, return only channels carrying this tag.
Returns:
{ channels: [{channel_id, name, handle, tags, added_at}, ...],
count, tag,
user_facing_message: "Tracking N channels: ..." or "No channels tracked." }
Use user_facing_message verbatim when reporting back.
Inputs: tag.
remove_tracked_channelA
Remove a channel from the registry. You MUST call this tool to remove — claiming "I've removed X" without invoking it leaves the channel still tracked and produces silently wrong state.
No-op (returns removed=false) if the channel_id wasn't tracked. Does NOT clear the per-channel last-seen state, so re-adding later won't re-ingest the backlog.
Args: channel_id: YouTube channel ID.
Returns:
{ removed: true|false,
channel_id,
registry_total: ,
registry_now_contains: [name, name, ...],
user_facing_message: "Removed X. Registry now has N channels: ..." }
Use user_facing_message verbatim when reporting back to the user.
Inputs: channel_id (required).
resolve_youtube_channelA
Resolve a YouTube handle (@name) or channel URL to channel metadata.
Use this when the user gives an exact handle or URL — skips the search step. Returns None / error for video URLs, free-text strings, or channels that can't be loaded.
Args: handle_or_url: e.g. "@ForwardGuidance" or "https://www.youtube.com/@ForwardGuidance" or "https://www.youtube.com/channel/UCxxxxx".
Returns: { channel_id, name, handle, description, subscriber_count, channel_url, recent_video_titles } on success. { "error": "..." } on failure.
Inputs: handle_or_url (required).
search_youtube_channelsA
Search YouTube for channels matching a free-text query.
Use this when the user names a channel ("Forward Guidance", "All-In podcast") or describes one ("a good macro investing channel") and you need to identify candidate channels before adding to the registry.
No YouTube API key required — uses yt-dlp scraping under the hood.
Args: query: Free-text search term, e.g. "Forward Guidance" or "macro investing". max_results: How many distinct channels to return, ranked by relevance (default 5).
Returns: { "candidates": [ { "channel_id", "name", "channel_url", "hit_count", "confidence_score" }, ... ] } Empty list if nothing matches. Subscriber count + recent videos are NOT populated here — call get_channel_metadata(channel_id) for that.
Inputs: query (required), max_results.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Each tool has a clearly distinct purpose. The start/result polling pairs for single and batch analysis are well-differentiated by descriptions and usage guidance. Channel management, discovery, metadata lookup, and analysis tools are separate and non-overlapping.
All tools follow a consistent verb_noun snake_case pattern (e.g., add_tracked_channel, analyze_video_start, get_channel_metadata). There are no deviations or mixed conventions, making the tool set predictable.
With 13 tools, the set covers channel management, video discovery, analysis initiation and polling, metadata retrieval, and state inspection. The count feels well-scoped for the server's purpose—not too few, not overly many.
The tool set covers the main workflow: channel search/add, video discovery, analysis (both interactive and batch), and polling results. Minor gaps exist, such as no direct tool for listing past analysis results or deleting jobs, but these are acceptable given the focused domain.
Maintenance
Related MCP Connectors
YouTube transcripts, video search, chapters and extractive summaries. No YouTube API key, no LLM.
Fetch YouTube transcripts, monitor channels and track keyword matches from your AI assistant.
Personal YouTube AI knowledge base powered by RAG. Query your subscribed YouTube channels.
YouTube research: channel search, viral videos, channel analytics, transcripts, thumbnails, TTS
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables extraction of transcripts, keyword-based video search with metadata retrieval, and channel information discovery from YouTube videos through natural language interaction.34MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to search YouTube videos using the official YouTube Data API v3, extract full video transcripts in multiple languages, and store/retrieve video summaries using a local database.4MIT
- AlicenseBqualityDmaintenanceEnables AI-powered YouTube video analysis including transcript management, video summaries, chapter generation, keyword extraction, and playback control. Supports searching videos, retrieving channel/playlist information, and translating transcripts using Google Gemini AI.14MIT
- AlicenseAqualityDmaintenanceAnalyzes YouTube videos using Google's Gemini API, allowing users to get summaries or ask questions about video content via direct URL input.52MIT