YouTube Channel Stats Extractor
YouTube Channel Stats Extractor: a company domain to its YouTube channel, subscribers, metadata.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
@mambalabsdev/mcp-youtube-channel-transcript-extractorclaude mcp add youtube-channel-stats-extractor -e 'APIFY_TOKEN=<your apify_token>' -- npx -y @mambalabsdev/mcp-youtube-channel-transcript-extractor@1.2.1
{
"mcpServers": {
"youtube-channel-stats-extractor": {
"command": "npx",
"args": [
"-y",
"@mambalabsdev/mcp-youtube-channel-transcript-extractor@1.2.1"
],
"env": {
"APIFY_TOKEN": "<your apify_token>"
}
}
}
}
Variables d'environnement
APIFY_TOKENobligatoire secret Apify API token from https://console.apify.com/account/integrations
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
Sommaire
YouTube Channel Stats Extractor MCP Server
MCP server for the Mamba Labs YouTube Channel Stats Extractor actor on Apify.
The npm package and the registry entry keep the name mcp-youtube-channel-transcript-extractor, so existing installs keep working; the product is YouTube Channel Stats Extractor.
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.
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 |
|---|---|---|
company_domain | 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 |
company_name | string | Optional. Improves search accuracy and is what the identity gate checks a discovered profile against, so supplying it reduces wrong matches. |
handle | string | Optional. A YouTube handle such as @shopify, or a full channel URL. Supplying it skips discovery and goes straight to the channel. |
includeFollowerCounts | 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 |
skipCache | 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 |
includeTranscripts | 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 |
transcriptVideoCount | 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 |
max_charge_usd | number | Optional spending cap for this call, in USD. The actor stops before any charge that would take the run past this amount and keeps every row already charged. |
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 |
|---|---|
ok | fetched and parsed, the value is there |
not_found | we looked and there is no such profile |
not_extractable | the profile exists and the value is not on the wire to us |
blocked | the platform refused us, worth retrying later |
identity_mismatch | we found a real profile and it belongs to someone else |
skipped | 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.
Pricing
You pay per event on Apify, billed to your own Apify account. Prices from the live pricing record, read 2026-10-16:
| Event | Price per event (USD) | Fires when |
|---|---|---|
apify-actor-start | $0.00005 | Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event). |
company-checked | $0.0035 on the Free plan, down to $0.00245 on higher Apify plans | Once per company for which the discovery cascade completed and a non degraded channel row was produced, whether or not a channel was found. Does not fire on a degraded row. |
profile-resolved | $0.0025 on the Free plan, down to $0.00175 on higher Apify plans | Once per company whose candidate channel URL passed the identity gate. Fires on the validation work, not on a populated subscriber cell. |
follower-count-extracted | $0.0025 on the Free plan, down to $0.00175 on higher Apify plans | Once per channel where a numeric subscriber count was read off the public page. Does not fire when the owner has hidden the count, which reports not_extractable. |
transcript-extracted | $0.015 on the Free plan, down to $0.0105 on higher Apify plans | Once per video for which transcript TEXT was actually returned. A video with no caption track does not charge, and neither does a video whose caption track exists but whose content YouTube refused to serve. Never fires when transcripts are turned off. This is deliberately strict: the fetch costs us roughly a cent whether or not it yields text, and the buyer should not carry that. |
The actor's Apify page carries the current prices. Running this server consumes Apify credits.
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
Questions fréquentes
Qu'est-ce que YouTube Channel Stats Extractor ?
YouTube Channel Stats Extractor: a company domain to its YouTube channel, subscribers, metadata.
Comment installer YouTube Channel Stats Extractor ?
Il s'exécute sur votre machine. Dans Claude Code : claude mcp add youtube-channel-stats-extractor -e 'APIFY_TOKEN=<your apify_token>' -- npx -y @mambalabsdev/mcp-youtube-channel-transcript-extractor@1.2.1. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour YouTube Channel Stats Extractor ?
Oui. Il attend APIFY_TOKEN, à renseigner dans sa configuration.
YouTube Channel Stats Extractor est-il open source ?
Oui. Son code est sur GitHub sous licence MIT.
Qui maintient YouTube Channel Stats Extractor ?
Il est publié par mambalabsdev. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.