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 整合