tube-bridge
v1.1.7YouTube 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
Search YouTube videos. Uses Data API v3 when YOUTUBE_API_KEY is set, falls back to yt-dlp. Filters: date range, channel, duration, order.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query |
channel_id | string | Restrict to channel ID (API only) |
limit | integer | Max results (default 10, max 50) |
order | string | Sort: date, rating, relevance, viewCount, title (API only) |
published_after | string | ISO 8601 date filter (API only) |
published_before | string | ISO 8601 date filter (API only) |
video_duration | string | short, medium, long (API only) |
youtube_search_channels
Search YouTube channels by name/topic. Returns subscriber counts, video counts, country. Requires YOUTUBE_API_KEY.
| Parameter | Type | Description |
|---|---|---|
query * | string | Channel name or topic |
limit | integer | Max results (default 10) |
max_subscribers | integer | Maximum subscriber filter |
min_subscribers | integer | Minimum subscriber filter |
order | string | relevance, date |
youtube_get_channel_info
Detailed channel metadata: subscribers, views, videos, country, keywords. Requires YOUTUBE_API_KEY.
| Parameter | Type | Description |
|---|---|---|
channel_id * | string | YouTube channel ID (starts with UC...) |
youtube_get_video_info
Detailed metadata for a YouTube video: title, duration, views, channel, description, tags.
| Parameter | Type | Description |
|---|---|---|
url * | string | YouTube video URL or ID |
youtube_get_trending
List up to `limit` currently trending YouTube videos. Use this for broad discovery, not keyword search. Read-only; uses Data API v3 when `YOUTUBE_API_KEY` is set and otherwise a keyless yt-dlp fallback. Returns source metadata and video records; results can change over time and depend on upstream availability.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max results (default 10) |
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.
| Parameter | Type | Description |
|---|---|---|
channel_url * | string | Channel URL or @handle |
limit | integer | Max 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.
| Parameter | Type | Description |
|---|---|---|
playlist_url * | string | Playlist URL |
limit | integer | Max videos (default 20) |
youtube_get_transcript
Transcript/subtitles of a YouTube video. Uses the original/default language; manual > ASR within that language.
| Parameter | Type | Description |
|---|---|---|
url * | string | YouTube video URL or ID |
lang | string | Language code (e.g. en, ru). Auto-detect if not specified. |
with_timestamps | boolean | Include [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.
| Parameter | Type | Description |
|---|---|---|
timestamp_ms * | integer | Frame timestamp in integer milliseconds |
url * | string | YouTube video URL or ID |
max_width | integer | Maximum JPEG width in pixels (default 640) |
youtube_get_available_languages
Available subtitle languages for a video. Shows manual vs auto-generated.
| Parameter | Type | Description |
|---|---|---|
url * | string | YouTube 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.
| Parameter | Type | Description |
|---|---|---|
url * | string | YouTube video URL or ID |
max_results | integer | Max comments (default 20) |
corpus_create
Create a named corpus for semantic search over transcripts. Each corpus uses a fixed embedding model.
| Parameter | Type | Description |
|---|---|---|
corpus_id * | string | Unique corpus ID (e.g. 'iran-hormuz-2026') |
label | string | Human-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.
| Parameter | Type | Description |
|---|---|---|
corpus_id * | string | Corpus ID to add to |
url * | string | YouTube video URL or ID |
force_reembed | boolean | Re-embed even if already indexed |
corpus_search
Semantic search within a corpus. Deduplicates overlapping windows, limits source domination, and returns titles plus timestamp URLs.
| Parameter | Type | Description |
|---|---|---|
corpus_id * | string | Corpus ID to search in |
query * | string | Natural language search query |
top_k | integer | Max results (default 10, max 50) |
corpus_list
List all available corpora with chunk and video counts.
corpus_delete
Delete a corpus and all its chunks/vectors permanently.
| Parameter | Type | Description |
|---|---|---|
corpus_id * | string | Corpus ID to delete |
tube_bridge_help
Get tube-bridge documentation: available tools, architecture, known limitations, API key setup.