YouTube MCP Server & CLI (navid.me) logo

YouTube MCP Server & CLI (navid.me)

Read YouTube transcripts, research channels, inspect analytics, manage comments, and edit connected-channel videos through MCP or a CLI.

Install YouTube MCP Server & CLI (navid.me)

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "thenavidm-youtube-mcp-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@thenavidm/youtube-mcp-cli@latest"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

YouTube MCP Server & CLI (navid.me) connects AI agents and terminal workflows to public YouTube data and authenticated channel operations. Its MCP tools cover transcripts, caption languages, transcript search, video and channel research, comments, analytics, and multi-channel management, while the matching CLI exposes the same tool names as commands. Public transcript and research features work without an account, but channel analytics and write operations require an authenticated connected channel. Reach for it when an agent needs to investigate YouTube content or operate a channel from an MCP-compatible client.

Use cases

  • Summarize public YouTube videos from their captions
  • Find timestamped mentions of a topic in a video
  • Compare recent channel performance against its normal views
  • Review connected-channel analytics and private uploads
  • Update video metadata or respond to comment threads

Key features

  • Public transcripts without an API key
  • Timestamped transcript phrase search
  • Video and channel research with engagement data
  • Connected-channel analytics and video management
  • Multi-account channel selection
  • CLI and MCP interfaces with matching tools

Tools16

What YouTube MCP Server & CLI (navid.me) lets your agent do. Expand a tool for its parameters.

Verified live~2.6k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

11/11 checks healthy over the last 40d

What it can do

From the 16 tools this server returned when we ran it; 16 declare their own safety hints.

Can delete or modify data · 2Handles credentials · 1Makes network requests · 16Read-only tools · 14
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age26 days
Maintainers1

Observed 2026-10-23 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 7d ago via OSV.dev · @thenavidm/youtube-mcp-cli@latest (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads343Package downloads in the last 30 days.
Last commit25d agoMost recent push to the default branch.
Tools exposed16Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How YouTube MCP Server & CLI (navid.me) works

What YouTube MCP Server & CLI (navid.me) does

YouTube MCP Server & CLI (navid.me) provides two interfaces to YouTube: an MCP server for AI applications and a command-line client for terminals, scripts, cron jobs, and pipelines. Both surfaces use the same underlying tool definitions and names, with underscores in MCP tool names and dashes in CLI commands.

The public-data side can read captions from any public YouTube video, search videos with engagement fields, inspect channels, retrieve video metadata, and read comment threads. Connected-channel operations add exact channel details, private or unlisted video listings, analytics, metadata edits, comment replies, and video deletion.

How it works

Transcript retrieval uses public caption tracks rather than an authenticated YouTube Captions API path. This allows transcripts from videos the connected user does not own and requires no API key or YouTube account. Caption-disabled videos cannot produce a transcript. The language listing tool can identify available human-written and auto-generated caption tracks before retrieval.

Channel-specific data is selected through connected accounts. When multiple channels are linked, list_accounts returns the available account names for use with other tools. OAuth is required for analytics belonging to an owned channel; analytics data typically trails real time by about two days.

The CLI returns compact JSON when used with --agent, and errors are written to stderr. MCP clients launch the server rather than requiring it to be run manually.

Setup and configuration

Node.js 22 or newer is required. The MCP client setup can run the package on demand with:

Terminal
npx -y @thenavidm/youtube-mcp-cli@latest

Claude Code can register it with:

Terminal
claude mcp add youtube -- npx -y @thenavidm/youtube-mcp-cli@latest

For terminal use, install the package globally and invoke youtube-cli:

Terminal
npm install -g @thenavidm/youtube-mcp-cli
youtube-cli

Transcript commands also require yt-dlp. Connect a YouTube channel through youtube-cli login; channels authenticated on the same machine are detected automatically by the MCP process. Use youtube-cli doctor to check the command-line setup.

Tools and capabilities

  • Retrieve one transcript, or batch transcripts for up to 20 videos.
  • List caption languages and distinguish human captions from auto-generated captions.
  • Locate every occurrence of a phrase in a transcript with timestamped links.
  • Search videos with view counts, likes, and duration included in results.
  • Look up channels by handle, channel ID, or URL, and calculate recent performance against a channel’s own median views.
  • Retrieve video metadata such as title, description, views, likes, comments, duration, and tags. Tags are available only for videos owned by the connected channel.
  • Inspect connected accounts, owned-channel details, analytics, and owned videos, including private and unlisted items.
  • Read comments, update owned-video metadata or privacy, reply to comments, and permanently delete owned videos.

Search has a separate allowance of 100 calls per day, while other API-backed endpoints share a 10,000-unit pool. Shorts are flagged during channel analysis because their view counts are not directly comparable with long-form videos.

Limitations and notes

Public transcript access depends on captions being available; no tool can recover captions disabled by the video owner. YouTube may round public subscriber counts above 1,000 or expose them as hidden when the owner conceals them. The connected-channel tool can read an exact subscriber count for the authenticated channel instead.

Replies and deletions are consequential actions. Replies are immediately visible and notify the recipient, while deleting a video is permanent and removes its URL, views, and comments. These actions require confirmation. Updating a video changes only the fields supplied and preserves the remaining metadata.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about YouTube MCP Server & CLI (navid.me)

YouTube MCP Server & CLI (navid.me) is an MCP server that connects AI agents to YouTube for transcript retrieval, video and channel research, comments, analytics, and connected-channel management. Its main tools cover public captions, transcript search, video metadata, channel analysis, owned-channel data, video updates, replies, and deletion.

Install it for an MCP client with `npx -y @thenavidm/youtube-mcp-cli@latest`. Claude Code can register it using `claude mcp add youtube -- npx -y @thenavidm/youtube-mcp-cli@latest`. Node.js 22 or newer is required, and transcript commands also need `yt-dlp`.

Yes, Cursor is named as a supported MCP client. Configure Cursor to launch the package as an MCP server; channels previously connected with `youtube-cli login` on the same machine can be detected automatically.

Yes, any public video with available captions can be read without an API key or connected account. Use `get_transcript` for the text, `list_transcript_languages` to inspect caption options, or `search_transcript` to find timestamped mentions. Videos with captions disabled cannot produce a transcript.

Log in each channel with `youtube-cli login`, then call `list_accounts` to see the connected account names. Pass the selected name as the `account` value on tools that operate on a connected channel.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewYouTube MCP Server & CLI (navid.me) AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/thenavidm-youtube-mcp-cli?style=directory)](https://allmcps.com/mcp/thenavidm-youtube-mcp-cli)
HTML Embed
<a href="https://allmcps.com/mcp/thenavidm-youtube-mcp-cli"><img src="https://allmcps.com/api/badge/thenavidm-youtube-mcp-cli?style=directory" alt="YouTube MCP Server & CLI (navid.me) on AllMCPs" /></a>