# mcp-youtube-channel-transcript-extractor [Health: Active]

**Category:** 🌐 Social Media  
**Repository:** https://github.com/mambalabsdev/mcp-youtube-channel-transcript-extractor  
**GitHub Stars:** 0  
**npm Downloads (last month):** 630  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-youtube-channel-transcript-extractor

## Description
Resolve a company domain to its YouTube channel with subscriber count and metadata.

## Tools
Capabilities this server exposes over MCP:

- **get_youtube_channel_stats** — Resolve a company domain, or a YouTube handle, to that company's YouTube channel. Returns the subscriber count, the stable UC channel id, channel name, creation date and description, as one flat Clay ready row. Subscriber counts are rounded by YouTube above roughly a thousand subscribers, on the page and in its official API alike, and the row flags that. Optional transcript pulling is available and is CURRENTLY GATED by YouTube: the caption track list is readable and the caption content endpoint returns an empty body without a proof of origin token, which the row reports as not_extractable rather than as a video having no captions. A company with no channel reports youtube_status not_found. Read youtube_status before any count. Use it to look up one known company channel per call; it does not search YouTube, list a channel's videos, or return video detail, and the package name mentions transcripts only because transcript pulling is an option. No API key needed. Read only; requires an APIFY_TOKEN and consumes Apify credits per call.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mcp-youtube-channel-transcript-extractor": {
    "command": "npx",
    "args": ["-y","@mambalabsdev/mcp-youtube-channel-transcript-extractor"],
    "env": {
      "APIFY_TOKEN": ""
    }
  }
}
```

**Requires environment variables:** `APIFY_TOKEN` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What mcp-youtube-channel-transcript-extractor does

mcp-youtube-channel-transcript-extractor connects MCP clients to the Mamba Labs YouTube Channel from Company Domain actor on Apify. It accepts a bare company domain, a YouTube handle, or a full channel URL, then resolves the corresponding company channel and returns structured channel information.

The result is designed as a flat, Clay-compatible row. It can include the stable `UC` channel ID, channel name, creation date, description, subscriber count, and platform status. Subscriber figures are subject to YouTube's rounding behavior for channels above roughly one thousand subscribers, and the output identifies when that applies.

## How it works

A domain input triggers channel discovery and identity validation. Supplying a handle or channel URL skips discovery and goes directly to the channel. An optional company name can improve matching and helps the identity check reject a profile belonging to another organization.

Successful lookups are cached for seven days by default. Set `skipCache` to true when a fresh fetch is needed. The `includeFollowerCounts` option controls whether the public profile page is fetched for subscriber data; disabling it resolves the profile URL without that additional count extraction.

Transcript retrieval is opt-in. When enabled, the tool requests timestamped transcripts from a selected number of recent videos and returns one row per video. YouTube currently allows the caption track list to be read but may return an empty body for the caption content request. In that case, the output uses `not_extractable` rather than incorrectly treating the video as having no captions.

## Setup and configuration

Use Node.js 18 or newer and create an Apify API token. Configure the server as a standard stdio MCP process, for example:

```json
{
  "mcpServers": {
    "mamba-youtube-channel-stats": {
      "command": "npx",
      "args": ["-y", "@mambalabsdev/mcp-youtube-channel-transcript-extractor"],
      "env": { "APIFY_TOKEN": "your-apify-token" }
    }
  }
}
```

`APIFY_TOKEN` is required. The actor charges the Apify account associated with that token on a pay-per-event basis. A `max_charge_usd` input can cap spending for an individual call; work already charged is retained if the cap is reached.

## Tools and capabilities

The server exposes `get_youtube_channel_stats`. Its main inputs are:

- `company_domain`: a bare company domain used for discovery.
- `company_name`: an optional name used to improve matching.
- `handle`: a YouTube handle or full channel URL.
- `includeFollowerCounts`: fetches subscriber data when true, which is the default.
- `skipCache`: bypasses the seven-day successful-lookup cache when true.
- `includeTranscripts`: requests transcripts for recent videos when true.
- `transcriptVideoCount`: selects how many recent videos to process; the default is five.
- `max_charge_usd`: sets a per-call spending limit.

Each row includes a platform status. `ok`, `not_found`, `not_extractable`, `blocked`, `identity_mismatch`, and `skipped` distinguish successful results, absent profiles, unavailable values, access blocks, mismatched identities, and unrequested work.

## Limitations and notes

Use one known company channel lookup per call. The tool does not search YouTube, enumerate a channel's videos, or return general video details. Transcript extraction is currently constrained by YouTube's caption-content access behavior, so enabling it does not guarantee transcript text.

The server is read-only and does not require a YouTube API key. A company without a matching channel reports `youtube_status` as `not_found`. Read the status before interpreting subscriber counts or other values; `false` indicates a checked negative result, while `null` represents an unknown value. Apify usage is billed to the token owner's account, and current event pricing is maintained on the actor's Apify page.

_Full upstream README: https://allmcps.com/mcp/mcp-youtube-channel-transcript-extractor/readme_

