PodLearn

v1.1.0
io.github.blutrich/podlearn Checked 4 days ago Published 1 month ago

Search 4M+ podcasts & YouTube, transcribe any episode, search transcripts, generate AI lessons.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_podcasts Search podcasts

Search PodLearn library AND PodcastIndex.org (4M+ podcasts) by keyword. Also resolves Spotify/Apple Podcasts URLs. Returns rows tagged with `source: local|podcastindex|spotify`. First move when the user names a podcast/host but you don't have its id.

ParameterTypeDescription
query *stringSearch keywords or a podcast URL

list_podcasts List podcasts

List podcasts already in the PodLearn library, optionally filtered by category. Returns most-recently-added first. For discovery beyond the library use search_podcasts.

ParameterTypeDescription
categorystringFilter by category (e.g. "Technology")
limitinteger
offsetinteger

get_podcast_details Podcast details

Fetch full metadata for one podcast in the PodLearn library, including its episode count. The podcast must already be in the local DB (source=local in search_podcasts results).

ParameterTypeDescription
podcast_id *integerLocal podcast id

search_episodes Search episodes

Cross-podcast episode search by title/description AND parent podcast name/author. Returns local episodes only — for podcasts discoverable on PodcastIndex that aren't yet ingested, use list_feed_episodes instead. `status: "transcribed"` filters to ready-to-read; `status: "untranscribed"` to available-to-transcribe.

ParameterTypeDescription
query *stringTopic, keyword, or host name
limitinteger
offsetinteger
statusstring

list_feed_episodes List feed episodes

Fetch the canonical episode list for a podcast directly from PodcastIndex (the upstream RSS index). NO COST — pure discovery. Each episode is enriched with `in_library`, `episode_id` (if already ingested), and `transcription_status`. For episodes you want to ingest: call transcribe_url(audio_url, title, feed_id, podcast_name) — passing feed_id/podcast_name lands the episode under its real show. For episodes already in_library, use start_transcription(episode_id) instead.

ParameterTypeDescription
feed_id *stringPodcastIndex feed_id (the `id` from a search_podcasts result)
beforeintegerUnix seconds — published BEFORE (pagination)
maxinteger
sinceintegerUnix seconds — published AFTER

list_episodes List episodes

List episodes already in the local DB for a specific podcast. Requires podcast_id (use search_podcasts first if you only have a name). For cross-podcast search use search_episodes; for canonical PodcastIndex listings use list_feed_episodes.

ParameterTypeDescription
podcast_id *integerLocal podcast_id from search_podcasts
limitinteger
offsetinteger
statusstring

get_episode_details Episode details

Fetch full metadata for one episode including transcription_status and lesson_generation_status. Tells you whether get_transcription is ready or you need to transcribe first: start_transcription(episode_id) for an in-library episode (inherits its existing show/artwork/feed linkage automatically) or transcribe_url(audio_url, title, feed_id, podcast_name) for a URL not yet in the library.

ParameterTypeDescription
episode_id *string

transcribe_url Transcribe URL

Ingest and transcribe an EXTERNAL / arbitrary audio URL — a URL the user pasted, or audio not reachable through the index. Creates a STANDALONE episode row. If the episode is already in the library (it has an episode_id), prefer start_transcription(episode_id) instead — it inherits the episode's existing show, artwork, and feed linkage automatically. Consumes 1 transcription credit, or one unit of subscription quota; the credit is refunded automatically if transcription fails. Pass feed_id / podcast_name when you already know the parent show (e.g. from search_podcasts or list_feed_episodes…

ParameterTypeDescription
audio_url *stringDirect audio URL (mp3, m4a, or platform URL)
title *stringEpisode title — shown in the user's library
feed_idstringOptional: local podcasts.id / PodcastIndex feed id of the parent show, if known. Looked up only — never creates a show.
languagestringBCP-47 hint (e.g. "en", "he"). Auto-detect if omitted.
podcast_idintegerExisting parent podcast_id, if any
podcast_namestringOptional: exact parent show title, if known and feed_id is unavailable. Matched only when it resolves to EXACTLY ONE existing show.

transcribe_feed Transcribe feed (bulk)

Bulk/season transcription — kick off transcription for up to `max` (cap 25) not-yet-transcribed episodes of a podcast feed in ONE call. Pass the `feed_id` from search_podcasts / list_feed_episodes. Already-transcribed episodes are skipped free. Costs 1 credit per newly enqueued episode (or one unit of subscription quota). Enqueue-and-poll: returns each enqueued episode_id; poll get_episode_details until transcription_status is "completed".

ParameterTypeDescription
feed_id *stringPodcastIndex feed id (from a search_podcasts / list_feed_episodes result)
beforeintegerOptional unix-seconds; only episodes published BEFORE (page back)
maxintegerMax episodes to enqueue (default 10, cap 25)
sinceintegerOptional unix-seconds; only episodes published AFTER

start_transcription Start transcription

Kick off transcription on an episode ALREADY in the library. Use only when the episode row exists and transcription_status is not "completed". Inherits the episode's existing show, artwork, and feed linkage automatically — no need to pass podcast context. For audio not yet in the library, use transcribe_url. COSTS 1 CREDIT (or subscription quota).

ParameterTypeDescription
episode_id *string

get_transcription Get transcription

Fetch transcript text for a completed episode. PAGINATED — returns up to 120,000 characters per call (Claude.ai/Desktop caps a tool result at ~150k chars). Most transcripts fit in one call; only very long episodes page. If the response has `has_more: true`, call again with `offset: <next_offset>`. For focused look-up (a topic, quote, timestamp) prefer search_transcription.

ParameterTypeDescription
episode_id *string
max_charsintegerMax characters to return this call (default & max 120000).
offsetintegerCharacter offset to start from (default 0). Use next_offset from a prior page.

search_transcription Search transcript

Keyword search WITHIN a single episode's transcript. Returns matching chunks with surrounding context. Use instead of get_transcription when the user asked about a specific topic — server does this faster + cheaper on context.

ParameterTypeDescription
episode_id *string
query *stringTopic, phrase, or speaker name

get_transcription_segments Transcript segments

Fetch timestamped transcript segments. Use when the user wants timestamps — "jump to where they discuss X", chapter boundaries, durations of specific parts.

ParameterTypeDescription
episode_id *string
end_timenumberEnd time in seconds (optional)
start_timenumberStart time in seconds (optional)

list_lessons List lessons

List the calling user's saved AI-generated lessons.

ParameterTypeDescription
episode_idstringOptional: only lessons for this episode UUID
limitinteger
offsetinteger

get_lesson_content Lesson content

Fetch the full body of one AI-generated lesson (title, summary, key takeaways, structured sections). Use to retrieve prior synthesis — for creating a NEW one call generate_lesson.

ParameterTypeDescription
lesson_id *string

generate_lesson Generate lesson

Generate a structured AI lesson (summary, key takeaways, sections) from a completed transcription. Requires the episode to have transcription_status "completed". Requires an active subscription or available credits; no credit is deducted. Subsequent calls for the same episode return the cached lesson.

ParameterTypeDescription
episode_id *string

get_subscription_status Subscription status

Get the caller's subscription plan + active/expired status + period end.

get_user_credits User credits

Get the caller's remaining transcription credits.

get_episode_usage Episode usage

Get the caller's episode-access usage stats — how many episodes they've transcribed/read this billing period.

ParameterTypeDescription
limitinteger
offsetinteger

get_saved_items Saved items

List the caller's saved/bookmarked episodes and lessons.

ParameterTypeDescription
limitinteger
offsetinteger

save_item Save item

Bookmark an episode or lesson for the caller.

ParameterTypeDescription
item_id *stringUUID of the episode or lesson to save
item_type *string

remove_saved_item Remove saved item

Permanently remove a saved/bookmarked episode or lesson from the caller's collection. The saved_item_id comes from get_saved_items.

ParameterTypeDescription
saved_item_id *string

generate_linkedin_post Generate LinkedIn post

Turn an already-generated lesson into a LinkedIn-ready share post. Pass lesson_id directly OR episode_id (uses the most recent lesson generated by the caller for that episode). Lesson must exist — chain after generate_lesson if needed.

ParameterTypeDescription
episode_idstring
lesson_idstring

search_youtube Search YouTube

Discover YouTube videos by topic/keyword across all of YouTube. Use when the user wants to learn from a talk/interview/lecture and has no URL — especially when search_podcasts / search_episodes find nothing (much long-form content is YouTube-first). NO COST: pure discovery. Returns rows with a ready-to-transcribe `url`; ingesting one with transcribe_url(url, title) costs 1 credit.

ParameterTypeDescription
query *string
maxinteger

browse_episodes Browse episodes

Open an interactive episode picker (cards with show, title, and status) for the user to pick an episode to read. On hosts that render MCP Apps the grid is clickable; everywhere else a markdown table is returned. Optional query filters by title/host.

ParameterTypeDescription
limitinteger
querystringOptional title/host filter