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

io.github.harshmaur由 GitHub 账号 harshmaur 发布v1.1.0更新于 Oct 24, 2026

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

发布方自己的服务:posts.design

已验证Streamable HTTP可网页运行网页搜索与抓取数据与分析

概览

AI 生成的概览

基于 Apify 的 Reddit 抓取服务器,让助手以结构化 JSON 搜索 Reddit 并获取帖子、评论、用户和子版块数据。

可以做什么
  • 按关键词在全站或指定子版块内搜索 Reddit,支持排序、时间窗口和日期范围,默认返回匹配的帖子和评论。
  • 抓取指定 Reddit 链接:帖子永久链接及完整评论串、用户主页、子版块列表页和搜索页。
  • 批量拉取一个或多个子版块的帖子,可按日期限定,默认包含评论串。
  • 每条结果标注为帖子、评论、社区或用户资料,并带有标题、正文、作者、分数、发布时间等字段。
适用场景
适合让助手调研 Reddit 上关于某话题的讨论、监控品牌提及、寻找潜在客户,或在不使用 Reddit API 密钥和登录的情况下收集子版块内容。
运行要求
需要 Apify 账号和 API 令牌:本地 npm 包(Node 20+)通过 APIFY_TOKEN 提供,托管端点 mcp.apify.com 通过 Authorization Bearer 请求头提供。可选设置 REDDIT_SCRAPER_ACTOR 和 REDDIT_SCRAPER_TIMEOUT。需要能访问 Apify 的网络。
安装前请注意
Apify 按结果计费(约每 1,000 条结果 2 美元,套餐有折扣),大批量抓取会产生费用。Apify 令牌属于机密,不要写入共享配置。抓取到的 Reddit 内容会发送给第三方 Apify 处理。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Reddit Scraper (Apify) – posts, comments, search, users, subreddits,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.harshmaur%2Freddit-scraper/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "reddit-scraper-apify-posts-comments-sear": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=harshmaur/reddit-scraper"
    }
  }
}

README

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:

json
{  "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.

json
{  "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.

来源:README.md,提交 05dd239

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

2
  1. v1.1.0最新Oct 15, 2026
  2. v1.0.0Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Posts 集成