npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@renzo.johnson/youtube-mcp

v26.11.15

Published

YouTube MCP server for Claude Code, Cursor, Copilot and five more AI agents. mcprush.com-a6fb3e5ae8910debf0fd1d15

Readme

YouTube MCP

npm License: MIT

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


By Renzo Johnson