# YouTube Comments Scraper

> YouTube Comments Scraper is a freemium MCP server for web search and scraping. Exports YouTube video and Shorts comments with replies, likes and dates, no API key needed. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, CLI, Web, Slack, Self-hosted
- **Website:** https://apify.com/pomlabs/youtube-comments-scraper
- **Repository:** https://github.com/pomexplica/youtube-comments-scraper
- **MCP Registry name:** dev.workers.pomlabs.pom-data-api/youtube-comments-scraper
- **Categories:** [web search and scraping](https://ai-powered.com/categories/web-search-and-scraping), [design and media](https://ai-powered.com/categories/design-and-media), [social media analytics](https://ai-powered.com/categories/social-media-analytics)
- **Listing updated:** 2026-11-27

## About

Pulls the comment section of any YouTube video or Short into structured records, including replies linked to their parent comment. Each record carries text, author and channel ID, like counts, reply counts, and flags for pinned comments, creator replies and hearts from the channel.

The scraper runs on the Apify platform and is billed per comment delivered, so videos with comments turned off cost nothing. Sorting follows the YouTube comment section, either top or newest first, and a date filter stops the run at the first older comment, which keeps monitoring runs cheap.

It suits researchers, creators and analysts who need audience language as data. Results can be reshaped with a custom map function or sent to Notion, Todoist or Slack through MCP connectors. It can also be called over REST or added to an MCP client as a remote server.

## Features

- **Replies linked to parents:** Each reply carries the ID of the comment it belongs to, with a per-comment cap to control volume.
- **Creator signals:** Flags show pinned comments, channel-owner comments, creator replies and comments hearted by the creator.
- **Date-filtered runs:** Restrict results to comments after a fixed date or a relative age such as two weeks.
- **Custom output format:** A sandboxed JavaScript map function reshapes each record before it is saved.
- **Direct REST and MCP access:** Short requests can be sent over HTTP without starting a run, or through a Streamable HTTP MCP endpoint.

## Good for

- Reviewing what viewers ask and complain about on a video
- Comparing the most liked comments across competitor videos
- Building sentiment datasets from real audience language
- Monitoring new comments on your own channel each day

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http youtube-comments-scraper 'https://mcp.apify.com?tools=pomlabs/youtube-comments-scraper'
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "youtube-comments-scraper": {
      "type": "http",
      "url": "https://mcp.apify.com?tools=pomlabs/youtube-comments-scraper"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://mcp.apify.com?tools=pomlabs/youtube-comments-scraper
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "youtube-comments-scraper": {
      "url": "https://mcp.apify.com?tools=pomlabs/youtube-comments-scraper"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "youtube-comments-scraper": {
      "type": "http",
      "url": "https://mcp.apify.com?tools=pomlabs/youtube-comments-scraper"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://mcp.apify.com?tools=pomlabs/youtube-comments-scraper
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add youtube-comments-scraper --url 'https://mcp.apify.com?tools=pomlabs/youtube-comments-scraper'
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.youtube-comments-scraper]
url = "https://mcp.apify.com?tools=pomlabs/youtube-comments-scraper"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "youtube-comments-scraper": {
      "httpUrl": "https://mcp.apify.com?tools=pomlabs/youtube-comments-scraper"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http youtube-comments-scraper 'https://mcp.apify.com?tools=pomlabs/youtube-comments-scraper'

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "youtube-comments-scraper": {
      "serverUrl": "https://mcp.apify.com?tools=pomlabs/youtube-comments-scraper"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "youtube-comments-scraper": {
      "url": "https://mcp.apify.com?tools=pomlabs/youtube-comments-scraper",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "youtube-comments-scraper": {
      "type": "streamableHttp",
      "url": "https://mcp.apify.com?tools=pomlabs/youtube-comments-scraper"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "youtube-comments-scraper": {
      "url": "https://mcp.apify.com?tools=pomlabs/youtube-comments-scraper"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "youtube-comments-scraper": {
      "url": "https://mcp.apify.com?tools=pomlabs/youtube-comments-scraper"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "youtube-comments-scraper": {
      "url": "https://mcp.apify.com?tools=pomlabs/youtube-comments-scraper"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "youtube-comments-scraper": {
      "url": "https://mcp.apify.com?tools=pomlabs/youtube-comments-scraper"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.apify.com?tools=pomlabs/youtube-comments-scraper
```

Enter a Name (for example "YouTube Comments Scraper"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "youtube-comments-scraper": {
      "type": "http",
      "url": "https://mcp.apify.com?tools=pomlabs/youtube-comments-scraper"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, all 1 tool only read data. From the server's own tool labels and tool names; not verified by us.

- `get_youtube_comments` (name suggests: reads): Returns comments and replies for YouTube videos and Shorts.

## FAQ

### Does YouTube Comments Scraper get replies and Shorts comments?

Yes. Replies come linked to their parent comment, and Shorts are handled like regular videos.

### Do I need a YouTube API key?

No. There is no API key, quota or login requirement.

### Can I get only recent comments?

Yes. Set oldestCommentDate to a date or an age and sort by newest, so the run stops at the first older comment.

### Can I change the output format?

Yes, with a customMapFunction that reshapes each item. It runs sandboxed without network access.

### Is YouTube Comments Scraper free?

YouTube Comments Scraper has a free plan, with paid plans for more usage or features.

### How do I add YouTube Comments Scraper to Claude Code?

Run this command in your terminal: claude mcp add --transport http youtube-comments-scraper 'https://mcp.apify.com?tools=pomlabs/youtube-comments-scraper'

### What are the best alternatives to YouTube Comments Scraper?

The closest alternatives to YouTube Comments Scraper are YouTube Scraper, YouTube Scraper, YouTube Scraper: Comments, Dislike Estimates, No API Key, YouTube transcripts, comments & videos and YouTube Channel Scraper & Tracker.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [YouTube Scraper](https://ai-powered.com/mcp/youtube-scraper): YouTube Scraper is a freemium MCP server for design and media.
- [YouTube Scraper](https://ai-powered.com/mcp/youtube-scraper-3): YouTube Scraper is a paid MCP server for web search and scraping.
- [YouTube Scraper: Comments, Dislike Estimates, No API Key](https://ai-powered.com/mcp/youtube-scraper-comments-dislike-estimates-no-api-key): YouTube Scraper: Comments, Dislike Estimates, No API Key is a paid MCP server for design and media.
- [YouTube transcripts, comments & videos](https://ai-powered.com/mcp/youtube-transcripts-comments-and-videos): YouTube transcripts, comments & videos is a paid MCP server for design and media.
- [YouTube Channel Scraper & Tracker](https://ai-powered.com/mcp/youtube-channel-scraper-and-tracker): YouTube Channel Scraper & Tracker is a freemium MCP server for design and media.
- [YouTube Scraper](https://ai-powered.com/mcp/youtube-scraper-2): YouTube Scraper is a paid MCP server for design and media.
- [Pom Labs Social Data (YouTube, Instagram, TikTok, LinkedIn)](https://ai-powered.com/mcp/pom-labs-social-data-youtube-instagram-tiktok-linkedin): Pom Labs Social Data (YouTube, Instagram, TikTok, LinkedIn) is a freemium MCP server for design and media.
- [YouTube Channel Scraper](https://ai-powered.com/mcp/youtube-channel-scraper): YouTube Channel Scraper is a paid MCP server for web search and scraping.

---
Source: https://ai-powered.com/mcp/youtube-comments-scraper-2
