About mcp-youtube-video-channel-scraper
mcp-youtube-video-channel-scraper is an MCP server for collecting public YouTube channel, playlist, and search-list data. It runs the Mamba Labs scraper actor on Apify and returns flat video and channel rows with a per-source completion report.
Key features
- 01Scrapes channels, playlists, and search results
- 02Returns video titles, views, dates, and lengths
- 03Includes channel statistics and links
- 04Reports whether each source list was fully read
- 05Supports video, Shorts, and stream tabs
Use cases
- 01Collect recent videos from a YouTube channel
- 02Find videos matching a YouTube search term
- 03Retrieve channel subscriber and view counts
MCP support
Exposes the scrape_youtube_videos_channels tool to MCP clients. The server starts an Apify actor run, waits for completion, and returns dataset rows.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y @mambalabsdev/mcp-youtube-video-channel-scraperAPIFY_TOKENSecretApify API token from https://console.apify.com/account/integrationsLocal servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
1Saved tool list · updated 1d ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| urls | array | No | Channel, @handle, playlist, or search result addresses, or a bare channel ID or @handle. Up to 200 sources a run, counted with search terms. A single video address returns one free row: this actor does not open video pages. Clay users: wrap a column in a one item list. |
| channel_tab | enum | No | Which channel list to read: videos (default), shorts, or streams.videos | shorts | streams |
| search_terms | array | No | Terms to search on YouTube. Each term returns videos in YouTube's order, for a logged out US visitor. Clay users: wrap a column in a one item list. |
| max_charge_usd | string | No | Optional. The run stops before a charge that would pass this amount. Reports are always delivered. |
| include_channel_row | boolean | No | yes (default) adds one row per channel source with subscribers, total views, video count, joined date, country, and links. no skips it. |
| max_videos_per_source | number | No | Per channel, playlist, or search term. Default 30, maximum 5000. Set 0 on a channel to get only its channel row. |
Details
From the project READMEYouTube Channel and Video List Scraper MCP Server
An MCP server for the Mamba Labs YouTube Channel and Video List Scraper actor on Apify. Scrape public YouTube channels, playlists, and search lists as flat rows.
What's Inside
- What it does
- Quick start
- Prerequisites
- Example prompts
- Tool
- Inputs
- Pricing
- Full actor documentation
- License
What it does
Give YouTube channels, playlists, or search terms. You get a row per video, with title, rounded views, relative date, and length, a row per channel with subscribers, total views, and links, and a free report per source that says whether its list was read to the end.
All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.
Quick start
You need Node.js 18 or newer and an Apify account with an API token.
Add this to your Claude Desktop config (claude_desktop_config.json), Cursor, or any MCP client:
{
"mcpServers": {
"mamba-youtube-video-channel-scraper": {
"command": "npx",
"args": [
"-y",
"@mambalabsdev/mcp-youtube-video-channel-scraper"
],
"env": {
"APIFY_TOKEN": "your-apify-token"
}
}
}
}
Restart the client. The scrape_youtube_videos_channels tool appears.
Prerequisites
- Node.js 18 or newer.
- An Apify API token from console.apify.com/account/integrations, set as
APIFY_TOKEN. The server lists its tool without a token; a call needs one.
Example prompts
- "List the last 20 videos from the NASA channel with their views."
- "Search YouTube for home espresso and give me the top 10 videos."
- "How many subscribers does Veritasium have, and what links does the channel publish?"
Tool
scrape_youtube_videos_channels. One tool. Example arguments:
{
"urls": [
"https://www.youtube.com/@NASA"
],
"max_videos_per_source": 5
}
Inputs
Every buyer facing input of the actor. Omitted inputs take the actor's own defaults.
| Input | Type | Required | Description |
|---|---|---|---|
urls | array | no | Channel, @handle, playlist, or search result addresses, or a bare channel ID or @handle. Up to 200 sources a run, counted with search terms. A single video address returns one free row: this actor does not open video pages. Clay users: wrap a column in a one item list. |
search_terms | array | no | Terms to search on YouTube. Each term returns videos in YouTube's order, for a logged out US visitor. Clay users: wrap a column in a one item list. |
max_videos_per_source | number | no | Per channel, playlist, or search term. Default 30, maximum 5000. Set 0 on a channel to get only its channel row. |
include_channel_row | boolean | no | yes (default) adds one row per channel source with subscribers, total views, video count, joined date, country, and links. no skips it. |
channel_tab | string | no | Which channel list to read: videos (default), shorts, or streams. |
max_charge_usd | string | no | Optional. The run stops before a charge that would pass this amount. Reports are always delivered. |
Pricing
Pay per event on Apify, billed to your Apify account. Prices in USD.
| Event | Free plan | Bronze | Silver | Gold |
|---|---|---|---|---|
video-row, one video from a list: title, rounded views, relative date, and length | $0.0012 | $0.00114 | $0.00108 | $0.00102 |
channel-row, one channel | $0.001 | $0.00095 | $0.0009 | $0.00085 |
apify-actor-start, per run start | $0.0025 | $0.0025 | $0.0025 | $0.0025 |
Source reports, refused pages, and refused input are free. Mamba Labs pays the platform costs of the run, Apify proxy traffic included.
Full actor documentation
apify.com/mambalabs/youtube-video-channel-scraper
License
MIT. See LICENSE.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.