Independent, unofficial project for YouTube metadata, transcripts, comments, and search.
MCPpedia last refreshed this data
io.github.granitebps/youtube-mcp is an MCP server that independent, unofficial project for YouTube metadata, transcripts, comments, and search. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 78/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"youtube": {
"args": [
"-y",
"@granitebps/youtube-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Independent, unofficial project for YouTube metadata, transcripts, comments, and search.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
npx -y '@granitebps/youtube-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked @granitebps/youtube-mcp against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in search
Unified real-time search engine skill for AI agents.
The official MCP server implementation for the Perplexity API Platform
MCP server for enterprise local codebase indexing, semantic search, and code dependency graphs.
Multi-engine web and platform search, news, Google Maps places, page reading, sitemaps, and trends.
MCP Security Weekly
Get CVE alerts and security updates for io.github.granitebps/youtube-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
YouTube MCP lets an MCP client read YouTube video metadata, caption transcripts, comments, and search results. By default it needs no YouTube API key or account; an optional official YouTube Data API provider serves metadata, comments, and search with an API key.
Supports both stdio (local) and Streamable HTTP (VPS/remote) transports.
This is an independent, unofficial open-source project. It is not affiliated with, endorsed by, or sponsored by YouTube or Google.
innertube provider serves metadata, comments, and search through
youtubei.js, using an unofficial/internal YouTube interface without a YouTube
Data API key. Unofficial access may change, break, be restricted, or be blocked.YT_PROVIDER=api and supply your own YOUTUBE_API_KEY to use the
official YouTube Data API v3 for those three tools.youtube-transcript-plus, regardless of
YT_PROVIDER. Transcript retrieval remains unofficial and does not use the
official Data API path or your API key.Users are responsible for deciding whether an access method suits their use and for complying with applicable service terms and law. See access methods and service terms for the tool/backend mapping, BYOK setup, limitations, and software licenses.
| Tool | Description |
|---|---|
search_youtube | Search videos with filters for upload date and popularity |
get_video_info | Video metadata: title, channel, description, duration, views, likes, upload date, tags |
get_video_comments | Comment threads with author info, likes, and the replies YouTube includes |
get_video_transcript | Transcripts (manual + auto-generated captions) with timestamps |
get_transcript_languages | Lists available manual and auto-generated caption languages |
get_server_info | Server version, active provider, and the backend serving each tool |
No YouTube API key required by default. The default
innertubeprovider usesyoutubei.js(an unofficial/internal YouTube interface) for video info, comments, and search. Transcripts always useyoutube-transcript-plus. Neither needs an API key or authentication. See Providers for the optional official API.
Your MCP client can run the published package without a clone:
npx -y @granitebps/youtube-mcp
The server uses stdio. Keep stdout reserved for MCP traffic.
To develop the server or use a clone directly:
git clone https://github.com/granitebps/youtube-mcp.git
cd youtube-mcp
npm ci
npm run build
Point your MCP client at the compiled entry point:
node /absolute/path/to/youtube-mcp/dist/index.js
Run npm run build after each source change. Do not use src or npm run dev as the client's stdio command; build output on stdout can corrupt MCP messages.
Each example starts with the npm package, followed by the local equivalent. Replace /absolute/path/to/youtube-mcp with your clone's path. Settings from Configuration ca