tubeagentkit/youtube-mcp
YouTube MCP server: get YouTube video transcripts, search YouTube, browse channels and playlists from Claude, ChatGPT, Cursor and VS Code. Remote, free tier.
fc1c70d57faayoutube-mcp-local1.3.0 in server/package.jsoncom.getyoutubetranscript/youtube-transcript-and-youtube-searchPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
Top risks in plain words
- HIGH7 production dependencies have known vulnerabilities (worst: high).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Update its vulnerable packages
Use
@hono/node-server2.1.6 or later,body-parser2.4.0 or later,fast-uri3.1.9 or later,hono4.13.16 or later and 3 more. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 13 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
get_channel_banner, get_channel_latest_videos, get_credits, get_related_videos, get_transcript_languages, get_video_dislikes and 7 moreNo tool was seen to: start other programs on the machine; read or write files; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
13 request addresses could not be settled from the code (built at run time).
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- web or API responses13 tools · get_channel_banner, get_channel_latest_videos, get_credits +10
Not all three are present in the tools the scanner traced.
Tool annotations
1 of 13 tools declares annotations. .
Each declaration matches what the traced code does.
Tools, prompts and resources (13: 13 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
get_channel_bannertool Use this when the user wants a YouTube channel's banner or profile picture, for example to download the artwork or check how a channel presents itself. Accepts Networkoutside text
Use this when the user wants a YouTube channel's banner or profile picture, for example to download the artwork or check how a channel presents itself. Accepts an @handle, channel URL, or UC... ID. Returns the uncropped banner URL, every crop size YouTube serves, and the avatar; has_banner is false when the channel has none.
get_channel_latest_videostool Use this when the user asks what a YouTube channel has posted recently, or wants a channel's details (name, handle, description, subscribers) with its 15 newestNetworkoutside text
Use this when the user asks what a YouTube channel has posted recently, or wants a channel's details (name, handle, description, subscribers) with its 15 newest uploads. Accepts an @handle, channel URL, or UC... ID. For a channel's full upload history use list_channel_videos; to find a topic inside one channel use search_channel_videos.
get_creditstool Use this when the user asks how many credits their getyoutubetranscript.com API key has left, or after another tool reports the account has no credits remainingNetworkoutside text
Use this when the user asks how many credits their getyoutubetranscript.com API key has left, or after another tool reports the account has no credits remaining. Returns plan and top-up credit balances. Calling it does not use credits.
get_related_videostool Use this when the user wants videos similar to one they shared, or asks 'what else should I watch' after a video. Returns the videos YouTube suggests next to itNetworkoutside text
Use this when the user wants videos similar to one they shared, or asks 'what else should I watch' after a video. Returns the videos YouTube suggests next to it, each with title, video ID, link, channel, views, age and length. Pass a result's video ID to get_youtube_transcript for what it says.
get_transcript_languagestool Use this when the user asks which caption or subtitle languages a YouTube video has, or before requesting a transcript in a non-English language when you don't Networkoutside text
Use this when the user asks which caption or subtitle languages a YouTube video has, or before requesting a transcript in a non-English language when you don't know whether the video offers it. Returns each language with its code (pass it as `language` to get_youtube_transcript), whether it is creator-uploaded or auto-generated, and the default language. An empty list means the video has captions turned off. Costs 1 credit. Not needed for an ordinary transcript request: get_youtube_transcript already reports which language it returned.
get_video_dislikestool Use this when the user asks how many dislikes a YouTube video has, or how well liked it is. YouTube no longer publishes dislikes, so this returns estimates fromNetworkoutside text
Use this when the user asks how many dislikes a YouTube video has, or how well liked it is. YouTube no longer publishes dislikes, so this returns estimates from Return YouTube Dislike: likes, dislikes, a star rating and the view count. Say that the numbers are estimates.
get_youtube_transcripttool Use this when the user shares a YouTube video link or ID, or asks to summarize, explain, quote, translate, take notes on, or chat about a specific YouTube videoNetworkoutside text
Use this when the user shares a YouTube video link or ID, or asks to summarize, explain, quote, translate, take notes on, or chat about a specific YouTube video, lecture, podcast, or talk. Returns the full spoken text (captions) as one block, plus the title and channel. Set timestamps to true when the user wants timestamps, wants to find or quote where something is said, or wants a timeline or chapter breakdown: each caption line then starts with its [m:ss] time. Accepts watch, youtu.be, Shorts, and live URLs. Do not use for non-YouTube videos or for files the user uploads. If a video has no captions, this returns an error: tell the user instead of guessing what the video says.
list_channel_playliststool Use this when the user wants to see the playlists a YouTube channel has published, for example a creator's course series or show seasons. Returns each playlist'Networkoutside text
Use this when the user wants to see the playlists a YouTube channel has published, for example a creator's course series or show seasons. Returns each playlist's id, title, link and video count, one page at a time. Pass a playlist's id to list_playlist_videos to see its videos. Pass `continuation` from a previous response for the next page.
list_channel_poststool Use this when the user wants a YouTube channel's community posts: announcements, polls and updates a creator posts outside of videos. Returns each post's text, Networkoutside text
Use this when the user wants a YouTube channel's community posts: announcements, polls and updates a creator posts outside of videos. Returns each post's text, links, likes, comments and attached image, one page at a time. Pass `continuation` from a previous response for the next page.
list_channel_videostool Use this when the user wants to browse a YouTube channel's uploads beyond its latest videos, for example to see a creator's older episodes, its most popular vidNetworkoutside text
Use this when the user wants to browse a YouTube channel's uploads beyond its latest videos, for example to see a creator's older episodes, its most popular videos, its Shorts, or its past live streams. Returns the channel's uploads one page at a time. `tab` picks Videos (default), Shorts or Live; `sort` picks latest (default), popular or oldest. Both apply to the first page only. Pass `continuation` from a previous response for the next page.
list_playlist_videostool Use this when the user shares a YouTube playlist, or wants to work through a course, lecture series, or podcast playlist video by video (for example to build stNetworkoutside text
Use this when the user shares a YouTube playlist, or wants to work through a course, lecture series, or podcast playlist video by video (for example to build study notes for each lecture). Returns the videos in playlist order, one page at a time. Pass `continuation` from a previous response for the next page.
search_channel_videostool Use this when the user wants videos from one specific YouTube channel about a topic, for example 'what has @hubermanlab said about sleep' or 'find the MIT OpenCNetworkoutside text
Use this when the user wants videos from one specific YouTube channel about a topic, for example 'what has @hubermanlab said about sleep' or 'find the MIT OpenCourseWare videos on recursion'. Searches only inside that channel. Pass `continuation` from a previous response for the next page.
search_youtubetool Use this when the user wants to find YouTube videos or channels on a topic, for example 'find lectures on linear algebra' or 'popular videos about the Apollo miNetworkoutside text
Use this when the user wants to find YouTube videos or channels on a topic, for example 'find lectures on linear algebra' or 'popular videos about the Apollo missions', before reading or comparing them. Returns each result's title, video ID, link, channel, views, length, and upload date. Pass `continuation` from a previous response for the next page. Does not return what a video says: call get_youtube_transcript with a result's video ID for that.
Text the model reads (13)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
get_youtube_transcript tool
Use this when the user shares a YouTube video link or ID, or asks to summarize, explain, quote, translate, take notes on, or chat about a specific YouTube video, lecture, podcast, or talk. Returns the full spoken text (captions) as one block, plus the title and channel. Set timestamps to true when the user wants timestamps, wants to find or quote where something is said, or wants a timeline or chapter breakdown: each caption line then starts with its [m:ss] time. Accepts watch, youtu.be, Shorts, and live URLs. Do not use for non-YouTube videos or for files the user uploads. If a video has no captions, this returns an error: tell the user instead of guessing what the video says.
get_transcript_languages tool
Use this when the user asks which caption or subtitle languages a YouTube video has, or before requesting a transcript in a non-English language when you don't know whether the video offers it. Returns each language with its code (pass it as `language` to get_youtube_transcript), whether it is creator-uploaded or auto-generated, and the default language. An empty list means the video has captions turned off. Costs 1 credit. Not needed for an ordinary transcript request: get_youtube_transcript already reports which language it returned.
search_youtube tool
Use this when the user wants to find YouTube videos or channels on a topic, for example 'find lectures on linear algebra' or 'popular videos about the Apollo missions', before reading or comparing them. Returns each result's title, video ID, link, channel, views, length, and upload date. Pass `continuation` from a previous response for the next page. Does not return what a video says: call get_youtube_transcript with a result's video ID for that.
get_channel_latest_videos tool
Use this when the user asks what a YouTube channel has posted recently, or wants a channel's details (name, handle, description, subscribers) with its 15 newest uploads. Accepts an @handle, channel URL, or UC... ID. For a channel's full upload history use list_channel_videos; to find a topic inside one channel use search_channel_videos.
search_channel_videos tool
Use this when the user wants videos from one specific YouTube channel about a topic, for example 'what has @hubermanlab said about sleep' or 'find the MIT OpenCourseWare videos on recursion'. Searches only inside that channel. Pass `continuation` from a previous response for the next page.
list_channel_videos tool
Use this when the user wants to browse a YouTube channel's uploads beyond its latest videos, for example to see a creator's older episodes, its most popular videos, its Shorts, or its past live streams. Returns the channel's uploads one page at a time. `tab` picks Videos (default), Shorts or Live; `sort` picks latest (default), popular or oldest. Both apply to the first page only. Pass `continuation` from a previous response for the next page.
list_channel_playlists tool
Use this when the user wants to see the playlists a YouTube channel has published, for example a creator's course series or show seasons. Returns each playlist's id, title, link and video count, one page at a time. Pass a playlist's id to list_playlist_videos to see its videos. Pass `continuation` from a previous response for the next page.
list_channel_posts tool
Use this when the user wants a YouTube channel's community posts: announcements, polls and updates a creator posts outside of videos. Returns each post's text, links, likes, comments and attached image, one page at a time. Pass `continuation` from a previous response for the next page.
get_channel_banner tool
Use this when the user wants a YouTube channel's banner or profile picture, for example to download the artwork or check how a channel presents itself. Accepts an @handle, channel URL, or UC... ID. Returns the uncropped banner URL, every crop size YouTube serves, and the avatar; has_banner is false when the channel has none.
get_related_videos tool
Use this when the user wants videos similar to one they shared, or asks 'what else should I watch' after a video. Returns the videos YouTube suggests next to it, each with title, video ID, link, channel, views, age and length. Pass a result's video ID to get_youtube_transcript for what it says.
get_video_dislikes tool
Use this when the user asks how many dislikes a YouTube video has, or how well liked it is. YouTube no longer publishes dislikes, so this returns estimates from Return YouTube Dislike: likes, dislikes, a star rating and the view count. Say that the numbers are estimates.
list_playlist_videos tool
Use this when the user shares a YouTube playlist, or wants to work through a course, lecture series, or podcast playlist video by video (for example to build study notes for each lecture). Returns the videos in playlist order, one page at a time. Pass `continuation` from a previous response for the next page.
get_credits tool
Use this when the user asks how many credits their getyoutubetranscript.com API key has left, or after another tool reports the account has no credits remaining. Returns plan and top-up credit balances. Calling it does not use credits.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 13 tool handlers traced
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 13 tool handlers traced
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 13 tool handlers traced
- Requests any addressNo tool sends a request to an address the caller supplies — 13 tool handlers traced
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 13 tool handlers traced
- Tools that start processesNot seen in the traced code of 13 capabilities; 13 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 13 capabilities; 13 more call code the scanner could not follow, where it may happen
- Tools that call the network13 of 13 capabilities call the network
Where the code is: 13 handlers in 1 file at commit fc1c70d57faa
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests2 manifests: integrations/huggingface-space/requirements.txt, server/package.json
- Lockfiles checked against OSV2 files resolved and checked against the OSV database; 1 not resolved: integrations/huggingface-space/requirements.txt: 1 dependency line carries no exact version, so the installed version was not checked; pin them or add a lockfile
- Known vulnerabilities in production dependencies HIGH7 production packages with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK version@modelcontextprotocol/sdk ^1.30.1
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 13 capabilities; 13 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (7 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
body-parsernpm 2.3.0 HIGH 1 advisory 1.20.92.4.0
- HIGHGHSA-27r3-jxmh-p828 CVE-2026-111181body-parser vulnerable to Denial of Service via trailing bytes after a compressed request body
zodnpm 4.6.5 HIGH 1 advisory 4.6.6
- HIGHGHSA-mrhx-c7xc-m3w5 CVE-2023-54404Zod can exhaust memory while validating oversized constrained collections
hononpm 4.13.13 MEDIUM 5 advisories 4.13.16
- MEDIUMGHSA-4h7h-rv7c-7m2v CVE-2026-126356Hono: `validator('form')` skips validation for `multipart/form-data` requests with extra parameters
- MEDIUMGHSA-h7mg-cq63-vhpq CVE-2026-126358Hono: RegExpRouter skips wildcard middleware for some route sets and for paths with an encoded line terminator
- MEDIUMGHSA-4m76-xfj5-7975 CVE-2026-126357Hono: `mount()` and `app.mount()` can forward a path that bypasses middleware scoped inside the mount prefix
- MEDIUMGHSA-46wx-v44x-9hh2 CVE-2026-126355Hono: `csrf()` does not check requests sent by hyperlink auditing (`text/ping`)
- LOWGHSA-3gg2-335m-rxc6 CVE-2026-126359Hono: `css` helper does not escape a closing tag split between the template and an interpolated value, allowing HTML injection
fast-urinpm 3.1.8 MEDIUM 4 advisories 2.4.83.1.94.2.3
- MEDIUMGHSA-wjr9-j795-jxcr CVE-2026-110180fast-uri vulnerable to host confusion via unchecked WHATWG host canonicalization
- MEDIUMGHSA-w74x-v6f9-j3xg CVE-2026-110306fast-uri vulnerable to URI scheme spoofing via percent-encoded scheme decoding
- LOWGHSA-333x-w4r6-6crp CVE-2026-110725fast-uri vulnerable to scheme injection via an unescaped first-segment colon in suffix references
- LOWGHSA-xhq7-xmqj-769h CVE-2026-110095fast-uri vulnerable to improper path equivalence in relative reference normalization
@hono/node-servernpm 2.1.3 MEDIUM 2 advisories 1.19.182.1.6
- MEDIUMGHSA-jpvv-r467-5p4w CVE-2026-126210@hono/node-server: Backslash in the request path is parsed as a path separator, bypassing path-based access control at a reverse proxy
- MEDIUMGHSA-qv5m-9pm6-hqp3 CVE-2026-126343@hono/node-server: Unhandled `ECONNRESET` on the socket during an asynchronous WebSocket upgrade crashes the process
ip-addressnpm 10.7.3 MEDIUM 1 advisory 10.7.4
- MEDIUMGHSA-rxp7-6hxx-x8q5 CVE-2026-111997ip-address: Address6 matches a zone identifier in quadratic time ahead of its length limit, allowing a single long string to stall the process
qsnpm 6.16.0 MEDIUM 1 advisory 6.16.1
- MEDIUMGHSA-6pq8-jhm2-2vcw CVE-2026-110816qs : qs.stringify with arrayFormat 'comma' throws an uncaught TypeError on array elements carrying a non-callable own toString (DoS)
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package. A hosted version is also offered: https://getyoutubetranscript.com/api/mcp not assessed a code scan covers the repository, not what runs on the vendor's servers |
|---|---|
| Transport | stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/sdk ^1.30.1 |
| Servers in the code | 1 (youtube-mcp) |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | the policy does not name a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-15 |
| Signed releases | not checked yet |
Where it is published
| MCP Registry | com.getyoutubetranscript/youtube-transcript-and-youtube-search |
|---|---|
| Hosted endpoint | https://getyoutubetranscript.com/api/mcp |
| Listed in | 5 catalogs (awesome_mobinx, awesome_tensorblock, github_search, glama, mcp_registry) |
| License | MIT |
| Created | 2026-09-12 |
| Topics | ai-agent ai-tools chatgpt claude claude-desktop cursor gemini-cli-extension llm mcp mcp-server |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.