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

Official registry Search and web

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

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

Remote (streamable-http)
Claude Code
claude mcp add --transport http reddit-scraper-apify-posts-comments-sear 'https://mcp.apify.com/?tools=harshmaur/reddit-scraper' --header 'Authorization: <Apify API token as '\''Bearer <APIFY_TOKEN>'\''. Free token at https://console.apify.com/account/integrations>'
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "reddit-scraper-apify-posts-comments-sear": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=harshmaur/reddit-scraper",
            "headers": {
                "Authorization": "<Apify API token as 'Bearer <APIFY_TOKEN>'. Free token at https://console.apify.com/account/integrations>"
            }
        }
    }
}
NPM package reddit-scraper-mcp
Claude Code
claude mcp add reddit-scraper-apify-posts-comments-sear -e 'APIFY_TOKEN=<your apify_token>' -e 'REDDIT_SCRAPER_ACTOR=harshmaur/reddit-scraper' -- npx -y reddit-scraper-mcp@0.2.0
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "reddit-scraper-apify-posts-comments-sear": {
            "command": "npx",
            "args": [
                "-y",
                "reddit-scraper-mcp@0.2.0"
            ],
            "env": {
                "APIFY_TOKEN": "<your apify_token>",
                "REDDIT_SCRAPER_ACTOR": "harshmaur/reddit-scraper"
            }
        }
    }
}

Environment variables

  • APIFY_TOKEN required secret Apify API token (free at https://console.apify.com/account/integrations)
  • REDDIT_SCRAPER_ACTOR Actor to run; default harshmaur/reddit-scraper, or harshmaur/reddit-scraper-pro

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. Reddit Scraper MCP server
  2. Option A — remote (nothing to install)
  3. Option B — local stdio server (this repo)
  4. Automation templates
  5. Files

Reddit Scraper MCP server

MCP server for the Reddit Scraper Apify Actor. 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 ($2 per 1,000 results, less with Apify plan discounts; the free plan covers small runs).

Reddit API and RSS shutdown. Reddit stops accepting new API access requests on 2026-10-31. Reddit RSS feeds stop on 2026-11-13. This server does not use a Reddit API key, a Reddit app or RSS, so neither date changes your setup.

Two ways to connect. Both need an Apify token. No Apify account yet? Sign up free, then copy the 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": {
      "url": "https://mcp.apify.com/?tools=harshmaur/reddit-scraper",
      "headers": { "Authorization": "Bearer <APIFY_TOKEN>" }
    }
  }
}

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

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-scraperSet to harshmaur/reddit-scraper-pro to run the Pro listing instead
REDDIT_SCRAPER_TIMEOUT300Seconds to wait for a run

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

Automation templates

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.

Frequently asked questions

What is Reddit Scraper (Apify) – posts, comments, search, users, subreddits?

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

How do I install Reddit Scraper (Apify) – posts, comments, search, users, subreddits?

It runs as a remote server. In Claude Code: claude mcp add --transport http reddit-scraper-apify-posts-comments-sear 'https://mcp.apify.com/?tools=harshmaur/reddit-scraper' --header 'Authorization: <Apify API token as '\''Bearer <APIFY_TOKEN>'\''. Free token at https://console.apify.com/account/integrations>'. For other clients, paste the JSON configuration from this page into their MCP settings.

Does Reddit Scraper (Apify) – posts, comments, search, users, subreddits need an API key?

Yes. It expects APIFY_TOKEN, Authorization, which you set in its configuration.

Is Reddit Scraper (Apify) – posts, comments, search, users, subreddits open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains Reddit Scraper (Apify) – posts, comments, search, users, subreddits?

It is published by harshmaur. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.