Skip to main content
Glama

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

youtube_search

Search YouTube for public videos

Yes

YouTube Data API v3

youtube_get_video_details

Retrieve video metadata, duration, tags, captions, and engagement metadata

Yes

YouTube Data API v3

youtube_get_transcript

Retrieve a video's caption transcript with timestamps

No

youtube-transcript

youtube_search_transcript

Search a transcript for terms or regex and return timestamped matches

No

youtube-transcript + Node worker threads

youtube_find_relevant_segments

Find transcript sections relevant to a research objective, with evidence and timestamp links

No

youtube-transcript + local research ranking

youtube_analyze_video

Analyze a video and its transcript for summary, concepts, and observable signals

Yes

YouTube Data API v3 + transcript

youtube_generate_flashcards

Generate study flashcards from video concepts and key points

Yes

YouTube Data API v3 + transcript

youtube_quota_status

Report process/API quota state

No

Local quota tracking

youtube_research_topic

Discover, inspect, score, diversify, and curate videos for a research objective

Yes

YouTube Data API v3 + transcript + research selector

youtube_build_collateral_prompt

Build an evidence- and citation-constrained prompt for a host model

No

Local research/collateral logic

youtube_generate_collateral

Generate transcript-grounded collateral through a configured provider

Provider-dependent

Configured direct provider adapter

youtube_render_resource_page

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:

  1. Host-managed generation returns a source-constrained prompt for Copilot, Claude, or another MCP host to write original articles, summaries, or study guides.

  2. 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 test

Install 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 test

npm 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.

  1. In Google Cloud Console, create or select a project.

  2. Open APIs & Services → Library, search for YouTube Data API v3, and enable it for that project.

  3. Open APIs & Services → Credentials → Create credentials → API key.

  4. 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.

  5. Store the key only in your MCP host's secret or environment-variable facility. For local development, copy .env.example to .env; .env is ignored by Git. The server loads it only when YOUTUBE_API_KEY is 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.js

The 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-mall

The 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 tools
youtube_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_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

    B3.2/5.0

    Scored across 12 tools

    Disambiguation4/5

    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.

    Naming Consistency5/5

    All tool names use the same youtube_ prefix followed by clear snake_case verb_noun phrasing. The convention is predictable and easy to scan.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server that extracts YouTube video transcripts (including metadata) as Markdown, enabling AI to summarize and discuss video content without watching it.
      MIT
    • F
      license
      Not graded
      quality
      B
      maintenance
      This 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.
      -