vunm-youtube-mcp
Provides tools for interacting with a YouTube channel, including retrieving channel statistics and analytics, managing video metadata and privacy settings, extracting transcripts, and fetching video comments.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@vunm-youtube-mcpWhat are my channel stats and last week's analytics?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
vunm-youtube-mcp
A custom, quota-efficient Model Context Protocol (MCP) server that empowers AI assistants (Antigravity, Claude Desktop, Cursor, Cline) to interact directly with your YouTube channel.
Built with Python and FastMCP, it supports channel analytics, video metadata updates (SEO), high-speed subtitle/transcript extraction, and comment management via official Google APIs with OAuth 2.0.
Key Capabilities
Channel Analytics: Query private metrics directly via YouTube Analytics API v2 (watch time, viewer retention, subscriber gain/loss, demographics).
Video Management: Update titles, descriptions, keyword tags, category, and privacy status (
public,unlisted,private) on YouTube Studio.Quota Efficiency: Uses channel upload playlist indexing (1 API unit) instead of expensive global searches (100 API units).
Zero-Quota Transcripts: Extracts timestamped captions across multiple languages without consuming YouTube Data API quota.
Audience Feedback: Fetches and evaluates recent video comments for sentiment analysis and drafting responses.
Related MCP server: YouTube MCP Server
Tools Catalog
Tool | Category | Description |
| Channel Overview | Retrieve subscriber count, view count, total videos, and channel metadata. |
| Analytics | Query detailed performance metrics by date range (watch time, retention, views, subs). |
| Video Analytics | Fetch deep performance metrics for a specific video ID. |
| Video Management | List uploaded videos (including unlisted/private) with 1-unit quota usage. |
| Video Management | Read full video snippet (title, description, tags, category, privacy, stats). |
| Video Studio | Update title, description, tags, category, and/or privacy status. |
| Content / SEO | Extract formatted subtitles with timestamps |
| Community | Retrieve recent comments on a video for evaluation or reply drafting. |
Quick Start
1. Prerequisites
Python 3.10 or higher.
A Google Cloud Project with:
YouTube Data API v3 enabled.
YouTube Analytics API enabled.
2. Google OAuth 2.0 Credentials Setup
Open Google Cloud Console.
Create or select a project.
Enable YouTube Data API v3 and YouTube Analytics API under APIs & Services $\rightarrow$ Library.
Configure OAuth consent screen (User type: External, add your channel email under Test users).
Go to Credentials $\rightarrow$ Create Credentials $\rightarrow$ OAuth client ID (Application type: Desktop app).
Download the client secret JSON, rename it to
client_secret.json, and place it in:vunm-youtube-mcp/credentials/client_secret.json(Note: The
credentials/folder is strictly ignored by.gitignoreand will never be committed).
3. Installation & First-Time Authentication
# Clone the repository
git clone https://github.com/vunm-io/vunm-youtube-mcp.git
cd vunm-youtube-mcp
# Create virtual environment and install dependencies
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
# Run initial authorization (opens browser to grant permissions)
python authenticate.pyUpon successful login, credentials/token.json is generated and automatically refreshed on subsequent runs.
Integration with AI Clients
Antigravity (Gemini CLI / Antigravity IDE)
Add the server to ~/.gemini/config/mcp_config.json:
{
"mcpServers": {
"vunm-youtube-mcp": {
"command": "/absolute/path/to/vunm-youtube-mcp/.venv/bin/python",
"args": ["-m", "src.server"],
"cwd": "/absolute/path/to/vunm-youtube-mcp"
}
}
}Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"vunm-youtube-mcp": {
"command": "/absolute/path/to/vunm-youtube-mcp/.venv/bin/python",
"args": ["-m", "src.server"],
"cwd": "/absolute/path/to/vunm-youtube-mcp"
}
}
}Security & Privacy
All credentials (
client_secret.json,token.json) remain 100% local on your machine.Scopes requested are strictly limited to YouTube management and read-only analytics.
For security questions or vulnerability reports, please see SECURITY.md.
Contributing & License
Contributions are welcome! Please review CONTRIBUTING.md before submitting a pull request.
Released under the MIT License.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
YouTube transcripts, search, channels, playlists and bulk transcript jobs for AI agents. 14 tools.
YouTube transcripts, search, channel/playlist listings and upload tracking for AI agents. No signup.
YouTube public video, comment, reply, channel, search, and speech-to-text transcript tools.
Provide token-optimized, structured YouTube data to enhance your LLM applications. Access efficien…
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to search videos, read channels, browse playlists, fetch comments, and get transcripts from YouTube using the YouTube Data API v3 and InnerTube API for captions.2GPL 3.0
- AlicenseBqualityCmaintenanceProvides comprehensive access to YouTube Data, Analytics, and Reporting APIs, enabling AI assistants to manage videos, analyze performance, handle comments, and extract transcripts.40MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to manage YouTube channels directly, including video publishing, SEO optimization, playlist curation, community interaction, and traffic analytics, all through local OAuth.1MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI assistants to search videos, retrieve transcripts and metadata, analyze channels, and access trending and engagement analytics for YouTube content.47-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vunm-io/vunm-youtube-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server