Mcp Reddit Search Thread Scraper

com.mambabuilt由 mambabuilt.com 發布v1.0.0更新於 Nov 3, 2026

Reddit posts and comments by keyword, subreddit, or thread URL, no Reddit login or API key

發布方自己的服務:ThreadPage

概覽

AI 產生的概覽

透過 Apify actor 依關鍵字、子版或貼文連結搜尋 Reddit,回傳貼文與留言的扁平資料列。

可以做什麼
  • 依關鍵字在整個 Reddit 或指定子版內搜尋貼文,可設定排序與時間範圍
  • 讀取指定子版的最新、熱門、頂尖或上升中的貼文
  • 讀取指定貼文連結及其熱門留言,可控制回覆層級
  • 每則貼文或留言回傳一列扁平資料,並為每次查詢附上一列免費彙總計數
  • 可略過同一查詢先前執行已回傳過的貼文與留言
適用情境
適合讓助理為研究、市場或輿情問題蒐集 Reddit 討論,或把某個貼文及其留言整理成表格,且不需要 Reddit 帳號。
執行需求
透過 npx 以 stdio 在本機執行,需要 Node.js 18 或更新版本。需要 Apify 帳號,並以環境變數 APIFY_TOKEN 提供 Apify API 權杖;沒有權杖時工具仍會列出,但呼叫時需要權杖。需要連線至 Apify 的網路。
安裝前請注意
所有工作都在 Apify 上執行,依事件計費並計入你的 Apify 帳戶(每則貼文列、每則留言列及每次執行啟動),結果量大時會產生費用;可選用 max_charge_usd 設定費用上限。APIFY_TOKEN 屬於機密,請勿寫入共用設定。此伺服器讀取 Reddit 公開內容,並將查詢送往第三方 actor。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mcp Reddit Search Thread Scraper,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Reddit Search and Thread Scraper MCP Server

[npm version] [license]

An MCP server for the Mamba Labs Reddit Search and Thread Scraper actor on Apify. Search Reddit by keyword, read subreddits, or read threads with their comments, and get one flat row per post and comment.

What's Inside

What it does

Each search term runs across all of Reddit or inside each subreddit you list, sorted by new, relevance, top, most comments, or hot. By default a result is kept only when the search term is in the post's title or text, so loosely related results are dropped and not charged. Subreddits with no search term return their newest, hot, top, or rising posts. Thread URLs return the post and its top comments. Each query also returns one free summary row with its counts. Reddit is read through its public feeds; no Reddit account, login, or API key is used.

All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.

Quick start

You need Node.js 18 or newer and an Apify account with an API token.

Add this to your Claude Desktop config (claude_desktop_config.json), Cursor, or any MCP client:

json
{  "mcpServers": {    "mamba-reddit-search-thread-scraper": {      "command": "npx",      "args": [        "-y",        "@mambalabsdev/mcp-reddit-search-thread-scraper"      ],      "env": {        "APIFY_TOKEN": "your-apify-token"      }    }  }}

Restart the client. The search_reddit tool appears.

Prerequisites

Example prompts

  • "Find Reddit posts from the last week in r/sales and r/startups that mention cold email."
  • "Pull the top comments from this Reddit thread into a table."
  • "What are people on r/SaaS posting about this month?"

Tool

search_reddit. One tool. Example arguments:

json
{  "search_terms": [    "cold email"  ],  "subreddits": [    "sales"  ],  "since_days": 7,  "max_posts_per_query": 50}

Inputs

Every buyer facing input of the actor. Omitted inputs take the actor's own defaults.

InputTypeRequiredDescription
search_termsarraynoKeywords to search Reddit for. With subreddits, each term runs inside each subreddit.
subredditsarraynoSubreddits to search in, or to read when there is no search term.
thread_urlsarraynoThread URLs to read with their comments, up to 200.
sortstringnoSearch order: new, relevance, top, comments, hot. Default new.
subreddit_sortstringnoSubreddit read order: new, hot, top, rising. Default new.
time_windowstringnoReddit's time filter: hour, day, week, month, year, all. Default month.
since_daysintegernoDrop posts older than this many days.
max_posts_per_queryintegernoPosts per search or subreddit, up to 1,000. Default 50.
require_term_matchbooleannoKeep a search result only when the term is in its title or text. Default true.
include_commentsbooleannoAlso return the comments of every post found. Default false.
max_comments_per_threadintegernoComments per thread, top first, up to 500. Default 25.
comment_depthintegernoReply levels under each top level comment, 1 to 10. Default 3.
only_newbooleannoSkip posts and comments an earlier run returned for the same query. Default false.
state_keystringnoName for the only new results memory.
max_charge_usdstringnoOptional cost cap for the run.
proxy_modestringnoauto or residential. Default auto.

Pricing

Pay per event on Apify, billed to your Apify account. Prices in USD.

EventFree planBronzeSilverGold
post-row, per Reddit post$0.0015$0.001425$0.00135$0.001275
comment-row, per Reddit comment$0.0015$0.001425$0.00135$0.001275
apify-actor-start, per run start$0.003144$0.003144$0.003144$0.003144

Summary rows, refused input, search results without the term, and already delivered rows are free. Mamba Labs pays the platform costs of the run, Apify proxy traffic included.

Full actor documentation

apify.com/mambalabs/reddit-search-thread-scraper

License

MIT. See LICENSE.

來源:README.md,提交 133e660

工具

1

search_reddit

Search Reddit posts and comments

Search Reddit by keyword, across all of Reddit or inside chosen subreddits, read the newest posts of subreddits, or read thread URLs with their comments. Returns one flat row per post (title, text, author, subreddit, publish date, post link, outbound link, the search term it matched) and, when asked, one row per comment, plus one free summary row per query. By default a search result is kept only when the search term is in its title or text. Reads Reddit's public feeds; no Reddit login or API key. A run that does not succeed is returned as an error with its run ID. Read-only; requires an APIFY_TOKEN and is billed per post and comment row.

輸入參數sortonly_newstate_keyproxy_modesince_dayssubredditsthread_urlstime_windowsearch_termscomment_depthmax_charge_usdsubreddit_sort另有 4 個

版本歷史

1
  1. v1.0.0最新Oct 30, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Thread 整合