YouTube MCP Server
YouTube MCP server: search videos, read stats and comments, run analytics, manage playlists.
YouTube MCP scores 55 (Fair), with no SPDX license recorded. It installs as a local process. It declares 8 tools. Filed under Media. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
55 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Quality: Grade B
80/100 for listing completeness. Lost points: 2 of 8 tools barely described, no repository link, short summary.
How quality is graded
Where the 55 comes from
22 + 20 + 0 + 0 + 10 + 3 = 55. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "renzojohnson-youtube-mcp": { "command": "npx", "args": [ "-y", "@renzo.johnson/youtube-mcp@26.11.14" ], "env": { "GOOGLE_APPLICATION_CREDENTIALS": "", "GOOGLE_OAUTH_CLIENT_ID": "", "GOOGLE_OAUTH_CLIENT_SECRET": "YOUR_GOOGLE_OAUTH_CLIENT_SECRET", "GOOGLE_OAUTH_REFRESH_TOKEN": "YOUR_GOOGLE_OAUTH_REFRESH_TOKEN" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
GOOGLE_APPLICATION_CREDENTIALS | Optional | Path to a service account key or authorized_user JSON file. Optional if you use gcloud Application Default Credentials or the OAuth variables. |
GOOGLE_OAUTH_CLIENT_ID | Optional | OAuth client ID. Set together with the client secret and refresh token. |
GOOGLE_OAUTH_CLIENT_SECRETSecret | Optional | OAuth client secret. |
GOOGLE_OAUTH_REFRESH_TOKENSecret | Optional | OAuth refresh token with the YouTube scopes. |
Tools8Tool docs quality grade D
All capabilitiesyoutube_admintoolYoutube Admin ( )
YouTube Analytics for your channel
Channel details and statistics (yours by default)
Video details and view, like and comment counts
Read comment threads on a video
List the videos in a playlist
List a channel's playlists
youtube_searchtoolSearch videos, channels or playlists
About
YouTube MCP
YouTube MCP server for Claude Code, Cursor, Copilot and five more AI agents. This is the MCP server from the YouTube MCP VS Code extension, packaged to run with npx in any MCP client.
Requires Node.js 22 or newer.
npx -y @renzo.johnson/youtube-mcp
The server speaks MCP over stdio, so you normally let your AI agent start it, as below.
Claude Code
claude mcp add youtube-mcp -- npx -y @renzo.johnson/youtube-mcp
Or add it to .mcp.json in your project (or ~/.claude.json for every project):
{
"mcpServers": {
"youtube-mcp": {
"command": "npx",
"args": ["-y", "@renzo.johnson/youtube-mcp"],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "/path/to/service-account.json"
}
}
}
}
Cursor
Add the same block to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):
{
"mcpServers": {
"youtube-mcp": {
"command": "npx",
"args": ["-y", "@renzo.johnson/youtube-mcp"],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "/path/to/service-account.json"
}
}
}
}
Credentials
The server signs in to Google in this order:
| Option | Environment | Best for |
|---|---|---|
| OAuth user | GOOGLE_OAUTH_CLIENT_ID, GOOGLE_OAUTH_CLIENT_SECRET, GOOGLE_OAUTH_REFRESH_TOKEN (all three) | Personal Google accounts |
| Service account or saved credentials | GOOGLE_APPLICATION_CREDENTIALS = path to a JSON key | Servers, Workspace admins |
| gcloud | none: run gcloud auth application-default login once | Developers with the Google Cloud CLI |
Setting only some of the three OAuth variables stops the server with an error that names the missing ones. Enable the YouTube Data API v3 and the YouTube Analytics API in your Google Cloud project.
YouTube Analytics reports cover the channel of the Google account you sign in with. Search and public video data work for any channel. Every call counts against your project's YouTube Data API quota (10,000 units a day by default; a search costs 100).
Available Tools (9)
| Tool | What It Does | Example Prompt |
|---|---|---|
youtube_search | Search videos, channels or playlists | "Find recent videos about MCP servers" |
youtube_get_videos | Video details and view, like and comment counts | "How many views does this video have?" |
youtube_get_channel | Channel details and statistics (yours by default) | "How many subscribers do I have?" |
youtube_list_playlists | List a channel's playlists | "List my playlists" |
youtube_list_playlist_items | List the videos in a playlist | "List the videos in my uploads" |
youtube_list_comments | Read comment threads on a video | "What are people saying on my newest video?" |
youtube_analytics_report | YouTube Analytics for your channel | "Watch time per day for the last 28 days" |
Youtube Admin (youtube_admin)
One tool, called with an action and its params.
| Action | Needs confirm: true |
|---|---|
update_video(video_id, title?, description?, tags?, privacy?, category_id?) | No |
create_playlist(title, description?, privacy?) | No |
add_to_playlist(playlist_id, video_id, position?) | No |
remove_from_playlist(playlist_item_id) | Yes |
reply_to_comment(comment_id, text) | No |
delete_comment(comment_id) | Yes |
Safety
Actions that delete, remove, replace or publish need confirm: true in their params. Without it the server changes nothing and returns a warning, so your AI agent has to ask you and then call again with confirm: true.
VS Code
Prefer a setup wizard that registers the server with eight agents for you? Install the YouTube MCP extension instead (also on the VS Code Marketplace). Use one or the other, not both.
Links
Frequently asked questions
What is YouTube MCP Server?
YouTube MCP server: search videos, read stats and comments, run analytics, manage playlists.
How do I install YouTube MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. YouTube MCP Server runs locally from the npm package @renzo.johnson/youtube-mcp with the command npx -y @renzo.johnson/youtube-mcp@26.11.14.
Does YouTube MCP Server support remote (HTTP) connections?
No remote endpoint is listed for YouTube MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does YouTube MCP Server provide?
YouTube MCP Server provides 8 tools, including youtube_admin, youtube_analytics_report, youtube_get_channel, and youtube_get_videos. See the full tool list for descriptions and parameters.
How is YouTube MCP Server's trust score calculated?
YouTube MCP Server scores 55 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.