mcp-youtube-channel-transcript-extractor
Resolves company domains or YouTube handles to YouTube channels and retrieves channel metadata such as subscriber count, channel ID, name, creation date, and description, with optional transcript extraction from recent videos.
Click on "Install 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., "@mcp-youtube-channel-transcript-extractorHow many YouTube subscribers does stripe.com have?"
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 Channel Stats Extractor MCP Server
MCP server for the Mamba Labs YouTube Channel Stats Extractor actor on Apify.
Resolve a company domain or YouTube handle to the channel with subscriber count and channel metadata.
What it does
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. No API key needed. Read only; requires an APIFY_TOKEN and consumes Apify credits per call.
Related MCP server: YouTube MCP
Quick start
Add this to your MCP client configuration:
{
"mcpServers": {
"mamba-youtube-channel-stats": {
"command": "npx",
"args": ["-y", "@mambalabsdev/mcp-youtube-channel-transcript-extractor"],
"env": { "APIFY_TOKEN": "your-apify-token" }
}
}
}Prerequisites
Node.js 18 or newer
An Apify API token from console.apify.com/account/integrations
The actor is pay per event and consumes Apify credits per call. Pricing is on the actor page.
Example prompts
"How many YouTube subscribers does stripe.com have?"
"Find the YouTube channel id for hubspot.com."
"Does gitlab.com run a YouTube channel, and when was it created?"
Tool and inputs
Tool: get_youtube_channel_stats
Input | Type | Meaning |
| string | Bare company domain, for example shopify.com. Supply this or a handle. With a domain the actor runs full discovery; with a handle it skips straight to |
| string | Optional. Improves search accuracy and is what the identity gate checks a discovered profile against, so supplying it reduces wrong matches. |
| string | Optional. A YouTube handle such as @shopify, or a full channel URL. Supplying it skips discovery and goes straight to the channel. |
| boolean | When "true" (default) the profile page is fetched and the counts are extracted. Set "false" to resolve the profile URL only, which is cheaper and need |
| boolean | When "false" (default) a successful lookup is cached for seven days and reused. Set "true" to force a fresh fetch. Sent as a string for Clay compatibi |
| boolean | When "true", full timestamped transcripts are pulled for the most recent videos on the channel and returned as one row per video. Default is "false" b |
| string | How many of the channel's most recent videos to pull transcripts for, when transcripts are on. Default 5. Each video is one extra fetch and one extra |
Reading the output
Every row carries a per platform _status field, and it is the field to read
first. The vocabulary is the same across the whole Mamba Labs social family:
Status | Meaning |
| fetched and parsed, the value is there |
| we looked and there is no such profile |
| the profile exists and the value is not on the wire to us |
| the platform refused us, worth retrying later |
| we found a real profile and it belongs to someone else |
| you did not ask for this platform |
false and null are never interchangeable. false means we looked and the
answer is no. null means we could not look. If you filter for companies with no
presence, filter on false, because null rows are unknown rather than absent.
Full actor documentation
apify.com/mambalabs/youtube-channel-transcript-extractor
Mamba Labs GTM Suite
Mamba Labs builds a fleet of GTM enrichment actors that share one flat, Clay
ready output convention, so their rows join on company_domain with no cleaning
step. Full fleet: apify.com/mambalabs
License
MIT
Available Tools
1 toolget_youtube_channel_statsGet YouTube Channel StatsARead-onlyIdempotent
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. No API key needed. Read only; requires an APIFY_TOKEN and consumes Apify credits per call.
| Name | Required | Description | Default |
|---|---|---|---|
| handle | No | Optional. A YouTube handle such as @shopify, or a full channel URL. Supplying it skips discovery and goes straight to the channel. | |
| skipCache | No | When "false" (default) a successful lookup is cached for seven days and reused. Set "true" to force a fresh fetch. Sent as a string for Clay compatibility. | |
| company_name | No | Optional. Improves search accuracy and is what the identity gate checks a discovered profile against, so supplying it reduces wrong matches. | |
| company_domain | No | Bare company domain, for example shopify.com. Supply this or a handle. With a domain the actor runs full discovery; with a handle it skips straight to the fetch. | |
| includeTranscripts | No | When "true", full timestamped transcripts are pulled for the most recent videos on the channel and returned as one row per video. Default is "false" because transcripts are the expensive half of this actor and most buyers want channel stats only. Sent as a string for Clay compatibility. | |
| transcriptVideoCount | No | How many of the channel's most recent videos to pull transcripts for, when transcripts are on. Default 5. Each video is one extra fetch and one extra billable transcript event, so this is the dial that sets the cost of a transcript run. | |
| includeFollowerCounts | No | When "true" (default) the profile page is fetched and the counts are extracted. Set "false" to resolve the profile URL only, which is cheaper and needs no proxy. Sent as a string for Clay compatibility. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Far beyond the annotations (readOnlyHint, idempotentHint, destructiveHint=false), the description discloses non-obvious behaviors: YouTube rounds subscriber counts above ~1k and the row flags this; the caption content endpoint returns an empty body without a proof-of-origin token and is reported as not_extractable rather than no captions; and calls require an APIFY_TOKEN while no YouTube API key is needed. Nothing contradicts the annotations — 'Read only' actually reinforces readOnlyHint.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The core purpose and return values are front-loaded in the first sentence, and every subsequent sentence carries a unique, essential caveat (rounding, transcript gating, auth/credits). At roughly 170 words it is longer than average, but there is no padding — each sentence earns its place by preventing a wrong interpretation.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema to lean on, the description spells out the return payload and its quirks, the two resolution modes, the optional transcript behavior and its failure mode, and the auth/cost profile — everything an agent needs to invoke the tool correctly. The 7 optional parameters are fully handled by the schema, so no gap remains.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
All 7 parameters are documented at 100% coverage in the input schema with rich descriptions (handle 'skips discovery,' skipCache's 7-day caching, transcriptVideoCount as the 'billable transcript event' dial). The description itself adds little parameter-level detail beyond framing the domain-vs-handle choice, which the schema already states, so it sits at the high-coverage baseline of 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb phrase — 'Resolve a company domain, or a YouTube handle, to that company's YouTube channel' — and enumerates the exact return fields (subscriber count, UC channel id, channel name, creation date, description). With no sibling tools to differentiate from, the specificity alone removes any ambiguity about what the tool does.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description frames the two supported lookup paths (domain vs handle) and clarifies which skips discovery, plus gives cost-aware guidance: transcripts are 'the expensive half' and each call 'consumes Apify credits.' It does not name exclusions or alternatives, but since no sibling tools exist there is nothing to exclude against.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
1 tool update
v1.0.0- First observed
get_youtube_channel_stats
TDQS
With only one tool, there is no possibility of ambiguity or overlap.
The single tool name 'get_youtube_channel_stats' is clear and follows a verb_noun pattern, though there are no other tools to compare for consistency.
A single tool is on the low end, but it is focused on a narrow task (retrieving channel stats and optionally transcripts). Still, it may feel limited for a server dedicated to YouTube channels.
The tool covers channel stats and transcript extraction, but lacks other typical operations like searching for channels, listing videos, or fetching video details, leaving significant gaps for a comprehensive YouTube channel assistant.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Find the contact email of YouTube channels from the link, the @handle or the channel_id. Resolves th
YouTube video metadata and channel data by URL or @handle. No API key or quota. Pay per result.
YouTube transcripts, search, channel/playlist listings and upload tracking for AI agents. No signup.
YouTube video search with transcript extraction as first-class output.
Related MCP Servers
- AlicenseAqualityDmaintenanceChecks username availability and retrieves account information across major social media platforms including YouTube, TikTok, Threads, X (Twitter), and Instagram, perfect for brand name qualification and competitive research.619MIT
- AlicenseAqualityCmaintenanceProvides production-grade tools for YouTube channel resolution, video metadata extraction, transcripts, and playlist management. It features a quota-aware, AI-friendly design that supports structured searching and listing of public YouTube data.72MIT
- FlicenseNot gradedqualityDmaintenanceEnables YouTube data crawling and AI-powered summarization of videos, including channel metadata retrieval, time-range queries, and automatic transcription with multi-language support.-
- FlicenseAqualityCmaintenanceEnables AI assistants to analyze YouTube channels, videos, transcripts, and content strategy through structured tool calls.1757-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mambalabsdev/mcp-youtube-channel-transcript-extractor'
If you have feedback or need assistance with the MCP directory API, please join our Discord server