youtube-mcp-tools
Provides YouTube research tools for searching videos, retrieving video metadata and transcripts, searching and analyzing captions, generating flashcards, researching topics into curated video collections, and producing transcript-grounded collateral with timestamp citations.
Click on "Deploy 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., "@youtube-mcp-tools Find videos with transcripts about AI ethics"
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.
YouTube MCP Tools
Evidence-first YouTube research for modern MCP hosts and VS Code.
The project consolidates the supported YouTube MCP and extension workflows:
search YouTube and inspect videos, channels, and playlists;
retrieve, search, and cite caption transcripts;
find timestamped transcript segments relevant to a research objective;
analyze video content and create flashcards;
research a topic into a transparent, curated video collection;
turn selected, transcript-backed videos into host-grounded or direct-provider collateral;
render accessible static HTML resource pages.
MCP tools
Tool | What it does | YouTube API key? | Key dependency |
| Search YouTube for public videos | Yes | YouTube Data API v3 |
| Retrieve video metadata, duration, tags, captions, and engagement metadata | Yes | YouTube Data API v3 |
| Retrieve a video's caption transcript with timestamps | No |
|
| Search a transcript for terms or regex and return timestamped matches | No |
|
| Find transcript sections relevant to a research objective, with evidence and timestamp links | No |
|
| Analyze a video and its transcript for summary, concepts, and observable signals | Yes | YouTube Data API v3 + transcript |
| Generate study flashcards from video concepts and key points | Yes | YouTube Data API v3 + transcript |
| Report process/API quota state | No | Local quota tracking |
| Discover, inspect, score, diversify, and curate videos for a research objective | Yes | YouTube Data API v3 + transcript + research selector |
| Build an evidence- and citation-constrained prompt for a host model | No | Local research/collateral logic |
| Generate transcript-grounded collateral through a configured provider | Provider-dependent | Configured direct provider adapter |
| Render reviewed research and collateral as an accessible standalone HTML page | No | Local HTML renderer |
The server also exposes the youtube_research_to_collateral MCP prompt for hosts that support MCP prompts.
Capability layers
The server has a deliberate API-key boundary:
No API key required — transcript retrieval, transcript search, timestamped segment intelligence, research/collateral prompt construction, resource rendering, and local quota state.
YouTube API key required — YouTube discovery, authoritative video metadata, video analysis, flashcards, and live topic research.
This allows transcript-backed intelligence to work in constrained environments while keeping YouTube Data API operations explicit.
Related MCP server: tldw-mcp
Evidence-first collateral
The research workflow does not treat popularity or a hidden score as proof of quality. Each selected video carries explicit evidence for topic relevance, requested coverage, transcript availability, source identity, practical duration, and optional recency. The output includes selections, exclusions, and a verification date.
Collateral supports two intentional modes:
Host-managed generation returns a source-constrained prompt for Copilot, Claude, or another MCP host to write original articles, summaries, or study guides.
Direct-provider generation calls an explicitly configured provider through a small adapter interface. No provider credential or network integration is embedded in the core.
Both modes require timestamp citations to selected source videos and instruct the writer to paraphrase rather than reproduce transcript language.
Reference integration
defensibleDecisionDashboardBrief defines the first editorial profile: a
decision-ready Power BI dashboard guide for The Defensible Decision. It will produce
a curated video page and a companion study guide for the book's /resources/ section.
The reader-facing guide is published at Power BI Video Guide: From First Report to Defensible Decision. It pairs selected Power BI tutorials with the book's question-first sequence for building and reviewing a report.
VS Code extension
The maintained Marketplace extension source is in
apps/vscode-extension. It retains the published
fabioc-aloha.youtube-mcp-tools extension identifier and its existing search,
analysis, transcript, flashcard, quota, and Activity Bar workflows. Its bundled
MCP executable is built from this canonical server, so extension updates carry
the same modern host integration as the npm distribution.
Development
npm ci
npm testInstall in MCP hosts
Local source installation
Build and run the server directly from a local checkout:
npm ci
Copy-Item .env.example .env
# Set YOUTUBE_API_KEY in .env when you need YouTube Data API features.
npm testnpm test builds the MCP executable at dist/mcp-server/index.js. Then add
this server entry to an MCP host:
{
"servers": {
"youtube": {
"type": "stdio",
"command": "node",
"args": ["C:\\absolute\\path\\to\\youtube-mcp-tools\\dist\\mcp-server\\index.js"]
}
}
}The checkout includes the equivalent workspace configuration in
.vscode/mcp.json; open the repository folder in VS Code to use it. Transcript
tools work with no configuration. To use search, metadata, analysis,
flashcards, or live topic research, add YOUTUBE_API_KEY through your host's
secret or environment-variable facility. .env is ignored by Git; never
commit a key.
npm package
Use the published youtube-mcp-tools@2.1.0 package without maintaining a
checkout:
{
"type": "stdio",
"command": "npx",
"args": ["-y", "youtube-mcp-tools@2.1.0"]
}Get a YouTube Data API key
Transcript retrieval and transcript search do not require a Google API key. You need a key for YouTube search, video metadata, analysis, flashcards, and live topic research.
In Google Cloud Console, create or select a project.
Open APIs & Services → Library, search for YouTube Data API v3, and enable it for that project.
Open APIs & Services → Credentials → Create credentials → API key.
Restrict the key's API restrictions to YouTube Data API v3. If the server runs from a stable egress address, also use an IP-address application restriction. Do not use a browser-referrer restriction for this local stdio server.
Store the key only in your MCP host's secret or environment-variable facility. For local development, copy
.env.exampleto.env;.envis ignored by Git. The server loads it only whenYOUTUBE_API_KEYis not already defined in the environment.
Never paste a key into an issue, source file, committed configuration, or a prompt. If a key is exposed, delete or rotate it in Google Cloud Console.
For Claude Code, add the local build with:
claude mcp add youtube --scope project --env YOUTUBE_API_KEY=your_key -- node dist/mcp-server/index.jsThe server also exposes the youtube_research_to_collateral MCP prompt for
hosts that support prompts.
GitHub Copilot CLI through Alex ACT Plugin Mall
GitHub Copilot CLI users can install the optional Mall plugin:
copilot plugin marketplace add fabioc-aloha/Alex_Skill_Mall
copilot plugin install youtube-research@alex-mallThe plugin declares the same youtube stdio server and uses the exact npm
release. This is a Copilot-specific convenience route; Claude, Cursor, VS
Code, and other MCP hosts should use the standard installation above.
Marketplace readiness
server.json is the official MCP Registry manifest. The package contains the
matching mcpName ownership marker required by the registry.
The manual GitHub Actions workflow at
.github/workflows/publish-release.yml publishes a pushed v<version> tag in
order: npm package, then MCP Registry manifest. It uses npm trusted publishing
and GitHub OIDC for the Registry; no repository secrets are required. Publish
the VS Code companion VSIX separately through the Visual Studio Marketplace
publisher portal.
Available Tools
12 toolsyoutube_analyze_videoYouTube Video AnalysisC
Create a transparent metadata and transcript analysis with summary, concepts, and observable quality signals. Requires YOUTUBE_API_KEY.
Inputs: video (required).
youtube_build_collateral_promptBuild Grounded Collateral PromptB
Build a host-model prompt for an article, summary, or study guide based only on a prior youtube_research_topic result and timestamp-cited claims.
Inputs: kind (required), title (required), claims (required), audience (required), +2 more.
youtube_find_relevant_segmentsFind Relevant Video SegmentsC
Find timestamped transcript sections relevant to a research objective. Does not require a YouTube API key.
Inputs: video (required), objective (required), topics, maxSegments, +2 more.
youtube_generate_collateralGenerate Grounded CollateralC
Use an explicitly configured direct provider to create transcript-grounded collateral. Set YOUTUBE_MCP_DIRECT_PROVIDER=openai-compatible and its API configuration first.
Inputs: kind (required), title (required), claims (required), audience (required), +2 more.
youtube_generate_flashcardsYouTube FlashcardsC
Generate study flashcards from video concepts and key points. Requires YOUTUBE_API_KEY.
Inputs: video (required).
youtube_get_transcriptYouTube TranscriptB
Get a public caption transcript with timestamp deep links. Does not require a YouTube API key.
Inputs: video (required), format.
youtube_get_video_detailsYouTube Video DetailsB
Get public metadata, duration, tags, caption availability, and engagement counts. Requires YOUTUBE_API_KEY.
Inputs: video (required).
youtube_quota_statusYouTube API Quota StatusB
Report the current server process YouTube Data API quota usage.
Inputs: no named parameters.
youtube_render_resource_pageRender YouTube Resource PageC
Render reviewed collateral and a research collection as a standalone, accessible HTML resource page.
Inputs: collateralDocument (required), researchCollection (required).
youtube_research_topicCurate YouTube ResearchC
Search YouTube with objective- and coverage-driven queries, inspect candidates, caption-check, and transparently curate a diverse research collection. Requires YOUTUBE_API_KEY.
Inputs: topic (required), audience (required), requiredCoverage (required), maxSelections, +2 more.
youtube_searchYouTube SearchC
Search YouTube for public videos. Requires YOUTUBE_API_KEY.
Inputs: query (required), maxResults.
youtube_search_transcriptYouTube Transcript SearchC
Find timestamped mentions inside a public caption transcript. Does not require a YouTube API key.
Inputs: query (required), video (required), regex, maxMatches, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Most tools have distinct roles across search, transcript retrieval, analysis, research curation, and collateral generation. There is some potential overlap between youtube_search and youtube_research_topic, and between youtube_find_relevant_segments and youtube_search_transcript, but the descriptions clarify the intended boundaries.
All tool names use the same youtube_ prefix followed by clear snake_case verb_noun phrasing. The convention is predictable and easy to scan.
Twelve tools is a well-scoped count for a YouTube research and content-generation workflow. Each tool appears to serve a concrete stage rather than padding the surface.
The surface covers search, metadata, transcripts, transcript search, segment finding, analysis, flashcards, research curation, quota reporting, prompt building, collateral generation, and HTML rendering. Minor gaps exist around broader YouTube entities such as channels and playlists, but the core research-to-collateral lifecycle is well covered.
Maintenance
Related MCP Connectors
Hosted Remote MCP server for YouTube video, Shorts, and playlist transcripts with AI fallback.
Remote YouTube production MCP server for DevRel teams: research, packaging, retention, and scripts.
Real-time YouTube transcripts, comments, channels & video search MCP. Local npx or hosted OAuth.
Your YouTube library, in the AI tools you already use: Claude, ChatGPT, Cursor, any MCP client.
Related MCP Servers
- FlicenseBqualityDmaintenanceAn MCP server that extracts transcripts, metadata, and summaries from YouTube videos across various URL formats including Shorts and standard links. It provides comprehensive video data and insights for analysis within MCP-compatible environments.3-
- AlicenseNot gradedqualityDmaintenanceMCP server that extracts YouTube video transcripts (including metadata) as Markdown, enabling AI to summarize and discuss video content without watching it.MIT
- AlicenseAqualityBmaintenanceMCP server for extracting structured intelligence from YouTube channels and videos — transcripts, topics, and competitive signals for AI-powered research workflows.1400 npmMIT
- FlicenseNot gradedqualityBmaintenanceThis MCP server enables users to ingest YouTube videos and turn transcripts plus scene-change visual analysis into a persistent, searchable wiki knowledge base, then ask questions and get source-cited answers through agentic search. It supports use with clients like Claude and Copilot.-