Skip to content
MCP server

YouTube Comments Scraper

Exports YouTube video and Shorts comments with replies, likes and dates, no API key needed

YouTube Comments Scraper is a freemium MCP server for web search and scraping. It runs as a hosted remote server, so there is nothing to install locally.

Pricing
Freemium
Platforms
API, CLI, Web
Runs
Remotely
What it can do
Read-only
Version
1.0.1
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

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.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

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.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.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.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

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.

ChatGPT setup guide

Add with the CLI

Run in a terminal

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

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

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.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "youtube-comments-scraper": {
      "type": "http",
      "url": "https://mcp.apify.com?tools=pomlabs/youtube-comments-scraper"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.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'

    Antigravity

    Add to ~/.gemini/config/mcp_config.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.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.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.

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

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

    Junie

    Add to ~/.junie/mcp/mcp.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.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.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.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About YouTube Comments Scraper

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.

Tools this server provides (1)

Taken from the project documentation; the running server may differ.

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_commentsName suggests: reads
Returns comments and replies for YouTube videos and Shorts.

What it does

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

Pricing

Freemium

$0.001 per comment on the free Apify plan; lower on paid plans

Prices change. Check apify.com before you buy.

More servers for the same service

YouTube Comments Scraper 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.

How AIPoweredBot checks servers