tube-bridge

v1.1.7
io.github.TheWhiteWater/tube-bridge Checked 4 days ago Published 1 month ago

YouTube MCP server for search, transcripts, frames, comments, channels, and local semantic corpora.

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

youtube_search_channels

Search YouTube channels by name/topic. Returns subscriber counts, video counts, country. Requires YOUTUBE_API_KEY.

ParameterTypeDescription
query *stringChannel name or topic
limitintegerMax results (default 10)
max_subscribersintegerMaximum subscriber filter
min_subscribersintegerMinimum subscriber filter
orderstringrelevance, date

youtube_get_channel_info

Detailed channel metadata: subscribers, views, videos, country, keywords. Requires YOUTUBE_API_KEY.

ParameterTypeDescription
channel_id *stringYouTube channel ID (starts with UC...)

youtube_get_video_info

Detailed metadata for a YouTube video: title, duration, views, channel, description, tags.

ParameterTypeDescription
url *stringYouTube video URL or ID

youtube_get_channel_videos

List up to `limit` recent uploads from a known YouTube channel URL or @handle. Use this for channel browsing, not keyword search or channel metadata. Read-only and keyless; returns normalized channel metadata plus video records. Empty results include a warning when the channel is missing or has no uploads.

ParameterTypeDescription
channel_url *stringChannel URL or @handle
limitintegerMax videos (default 10)

youtube_get_playlist

List up to `limit` videos from a known YouTube playlist URL in upstream order. Use this for playlist contents, not channel uploads or keyword search. Read-only and keyless; returns playlist metadata plus ordered video records. Results are bounded and may fail when the playlist is private, unavailable, or blocked upstream.

ParameterTypeDescription
playlist_url *stringPlaylist URL
limitintegerMax videos (default 20)

youtube_get_transcript

Transcript/subtitles of a YouTube video. Uses the original/default language; manual > ASR within that language.

ParameterTypeDescription
url *stringYouTube video URL or ID
langstringLanguage code (e.g. en, ru). Auto-detect if not specified.
with_timestampsbooleanInclude [MM:SS] timestamps (default: false)

youtube_get_frame

Extract one ephemeral JPEG near an integer-millisecond timestamp. Returns metadata plus MCP ImageContent; accuracy is best-effort at a decoded frame boundary.

ParameterTypeDescription
timestamp_ms *integerFrame timestamp in integer milliseconds
url *stringYouTube video URL or ID
max_widthintegerMaximum JPEG width in pixels (default 640)

youtube_get_available_languages

Available subtitle languages for a video. Shows manual vs auto-generated.

ParameterTypeDescription
url *stringYouTube video URL or ID

youtube_get_comments

Retrieve up to `max_results` top-level comments for a known YouTube video. Use this for audience reactions, not video metadata or transcripts. Read-only and requires `YOUTUBE_API_KEY`; returns structured comment records. Calls may fail when comments are disabled, the video is unavailable, or Data API quota is exhausted.

ParameterTypeDescription
url *stringYouTube video URL or ID
max_resultsintegerMax comments (default 20)

corpus_create

Create a named corpus for semantic search over transcripts. Each corpus uses a fixed embedding model.

ParameterTypeDescription
corpus_id *stringUnique corpus ID (e.g. 'iran-hormuz-2026')
labelstringHuman-readable label (optional)

corpus_add

Fetch a video's transcript, chunk it, and store local embeddings in an existing corpus. Use this after `corpus_create`; it skips an already-indexed video by default. `force_reembed=true` deletes and replaces that video's existing local chunks and vectors. This modifies local corpus data and may contact YouTube; returns indexing status and chunk count.

ParameterTypeDescription
corpus_id *stringCorpus ID to add to
url *stringYouTube video URL or ID
force_reembedbooleanRe-embed even if already indexed

corpus_list

List all available corpora with chunk and video counts.

corpus_delete

Delete a corpus and all its chunks/vectors permanently.

ParameterTypeDescription
corpus_id *stringCorpus ID to delete

tube_bridge_help

Get tube-bridge documentation: available tools, architecture, known limitations, API key setup.