Back to Directory/Social Media

Reddit Scraper Pro (Apify) – posts, comments, search, users, subreddits

Reddit posts, comments, search, users & subreddits as JSON via Apify. No Reddit API key. $1.50/1k

Social MediaJavaScriptv1.0.2

Reddit Scraper MCP server

MCP server for the Reddit Scraper Pro Apify Actor (also works with Reddit Scraper). Gives Claude, Cursor, Codex, Windsurf, ChatGPT and any other MCP client three tools for Reddit as structured JSON: keyword search, URL scraping with full comment threads, and bulk subreddit pulls. No Reddit API key, no login. Billed per result on Apify ($1.50 per 1,000 + $0.01 per run; the free plan covers small runs).

Two ways to connect. Both need an Apify token from https://console.apify.com/account/integrations.

Option A — remote (nothing to install)

Apify hosts the Actor as an MCP tool:

{
  "mcpServers": {
    "reddit-scraper-pro": {
      "url": "https://mcp.apify.com/?tools=harshmaur/reddit-scraper-pro",
      "headers": { "Authorization": "Bearer <APIFY_TOKEN>" }
    }
  }
}

Stdio-only clients can bridge with npx mcp-remote https://mcp.apify.com/?tools=harshmaur/reddit-scraper-pro. This is the endpoint registered in the official MCP Registry as io.github.harshmaur/reddit-scraper-pro.

Option B — local stdio server (this repo)

Purpose-built tools with typed arguments, so the model fills in queries, subreddit, postedAfter instead of a raw Actor input object.

{
  "mcpServers": {
    "reddit-scraper": {
      "command": "npx",
      "args": ["-y", "reddit-scraper-mcp"],
      "env": { "APIFY_TOKEN": "<APIFY_TOKEN>" }
    }
  }
}

Published on npm as reddit-scraper-mcp. Or clone and run node index.js. Node 20+.

ToolUse it for
search_redditKeyword search across Reddit or one subreddit; sort, time window, date range; matching comments and post threads on by default. Brand monitoring, lead discovery, "what is Reddit saying about X".
scrape_reddit_urlsPost permalinks (with the full thread), /user/<name>/ profiles, subreddit listing URLs, search-page URLs.
scrape_subredditBulk posts from one or more subreddits, optionally date-bounded; comment threads on by default.

Environment:

VariableDefaultMeaning
APIFY_TOKENrequiredApify API token
REDDIT_SCRAPER_ACTORharshmaur/reddit-scraper-proSet to harshmaur/reddit-scraper to run the flagship listing instead
REDDIT_SCRAPER_TIMEOUT300Seconds to wait for a run

Every item carries dataType (post, comment, community, user); posts include title, body, postUrl, communityName, authorName, score, commentsCount, createdAt, flair. Field reference: https://apify.com/harshmaur/reddit-scraper-pro#output-example

Automation templates

  • templates/n8n/ — importable n8n workflows: Reddit mentions → Slack, Reddit lead alerts → Google Sheets.
  • templates/make/ — Make scenario recipe for Slack, Notion or Sheets.

The Actor can also deliver results itself (Slack, Notion, Airtable, Sheets) through its mcpConnector input, with an Apify Schedule as the trigger, if you prefer no middleware.

Files

  • index.js — the stdio server
  • server.json — official MCP Registry manifest for Pro; server-reddit-scraper.json — same for the flagship
  • Dockerfile, glama.json — for directory indexers

MIT. Built by Harsh Maur.

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y reddit-scraper-mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-harshmaur-reddit-scraper-pro": {
      "command": "npx",
      "args": [
        "-y",
        "reddit-scraper-mcp"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

reddit-scraper-mcpnpm

Compatible MCP Clients

Reddit Scraper Pro (Apify) – posts, comments, search, users, subreddits works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More