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 集成