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-toolsFind 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: YouTube MCP Server
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.
This server cannot be deployed
Maintenance
Related MCP Connectors
YouTube transcripts, search, channel browsing, and playlists for AI agents via MCP.
An MCP server that gives any LLM or agent clean YouTube transcripts on demand: a single video, a whole channel, or a playlist, plus AI cleanup of auto-generated captions. API-key auth, credit-based, same backend as the public v1 API. Get a free API key with 25 free credits at youtubetranscriptdownload.com/account.
Any social-video URL → transcript, metadata, frames, OCR, summary, search, Q&A. MCP server + x402.
💯 The fastest YouTube transcript + YouTube search MCP for AI agents. Try for free.
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-
- FlicenseNot gradedqualityDmaintenanceThis MCP server fetches and extracts transcripts from YouTube videos, enabling AI language models to access and analyze video content.1-
- AlicenseNot gradedqualityDmaintenanceMCP server that extracts YouTube video transcripts (including metadata) as Markdown, enabling AI to summarize and discuss video content without watching it.MIT
- AlicenseAqualityAmaintenanceMCP server for extracting structured intelligence from YouTube channels and videos — transcripts, topics, and competitive signals for AI-powered research workflows.1433MIT