Mcp Threads Keyword Search

com.mambabuilt由 mambabuilt.com 发布v1.0.1更新于 Nov 7, 2026

Threads posts by keyword with exact phrase matching, author, date, likes, and link, no login

概览

AI 生成的概览

通过 Apify actor 按关键词搜索公开的 Threads 帖子,每条匹配帖子返回一行,含正文、作者、日期、点赞、回复、转发和链接。

可以做什么
  • 按关键词搜索 Threads 帖子,每条帖子返回一行,包含正文、作者、发布日期、点赞、回复、转发、引用和帖子链接
  • 按发布时间、最低点赞数、是否包含回复以及匹配模式(精确短语、全部词、关闭)筛选结果
  • 限制每个关键词的帖子数量,合并被多个关键词命中的帖子,并通过命名记忆键跳过此前已返回的帖子
  • 每个关键词额外返回一行免费汇总
适用场景
适合公开 Threads 讨论的舆情监测与研究:查找近期关于某话题、竞品或产品类别的帖子,并收集互动数据用于分析。由于无需 Threads 登录,更适合定时的关键词监控,而非账号管理。
运行要求
以 npm 包形式通过 npx 在本地运行,需要 Node.js 18 或更高版本。需要 Apify 账号,并通过环境变量 APIFY_TOKEN 提供 Apify API 令牌;无令牌时工具仍会列出,但调用会失败。需要访问 Apify 的网络连接。
安装前请注意
调用按事件计费并计入你的 Apify 账户(每条返回的帖子行加每次运行启动费),因此搜索会产生费用;可用可选的 max_charge_usd 限制单次运行成本。APIFY_TOKEN 是可计费凭据,不应放入共享配置。搜索结果即公开帖子,会被发送至 Apify 处理。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mcp Threads Keyword Search,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Threads Keyword Search MCP Server

[npm version] [license]

An MCP server for the Mamba Labs Threads Posts by Keyword, Exact Match actor on Apify. Search Threads for keywords and get one flat row per post that contains them.

What's Inside

What it does

Each keyword is searched the way Threads search works for a visitor who is not logged in, which shows about 20 to 25 posts per search. By default a post is kept only when the keyword's words are in its text, next to each other and in order, so loosely related results are set aside and not charged. A post found by several keywords is returned once with every keyword it matched. Filters for age, likes, and replies, and an only new posts memory for schedules. Each keyword also returns one free summary row. No Threads or Instagram account, login, or 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-threads-keyword-search": {      "command": "npx",      "args": [        "-y",        "@mambalabsdev/mcp-threads-keyword-search"      ],      "env": {        "APIFY_TOKEN": "your-apify-token"      }    }  }}

Restart the client. The search_threads_posts tool appears.

Prerequisites

Example prompts

  • "Find Threads posts about cold email from the last 30 days."
  • "Which Threads posts mention our competitor by name this week?"
  • "Collect Threads posts about hubspot alternatives with their like counts."

Tool

search_threads_posts. One tool. Example arguments:

json
{  "keywords": [    "cold email",    "hubspot alternative"  ],  "match_mode": "phrase",  "since_days": 30}

Inputs

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

InputTypeRequiredDescription
keywordsarraynoWords or phrases to search Threads for, up to 50.
max_posts_per_keywordintegernoPosts per keyword, up to 50 (Threads shows about 20 to 25). Default 25.
match_modestringnophrase, all_words, or off. Default phrase.
since_daysintegernoSet aside posts older than this many days.
min_likesintegernoSet aside posts with fewer likes.
include_repliesbooleannoReturn matching replies too. Default true.
only_newbooleannoSkip posts an earlier run returned. Default false.
state_keystringnoName for the only new posts 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 Threads post that contains your keyword$0.0025$0.002375$0.00225$0.002125
apify-actor-start, per run start$0.0015$0.0015$0.0015$0.0015

Summary rows, refused input, posts set aside by your filters, and already delivered posts are free. Mamba Labs pays the platform costs of the run, Apify proxy traffic included.

Full actor documentation

apify.com/mambalabs/threads-keyword-search

License

MIT. See LICENSE.

来源:README.md,提交 f9611ee

工具

1

search_threads_posts

Search Threads posts by keyword

Search Threads for keywords and return one flat row per post that contains the keyword: text, author, publish date, likes, replies, reposts, quotes, and the post link, plus one free summary row per keyword. By default a post is kept only when the keyword's words are in its text next to each other; a post found by several keywords is returned once. Threads shows a visitor who is not logged in about 20 to 25 posts per search. Reads the public Threads search page; no login or 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 row.

输入参数keywordsonly_newmin_likesstate_keymatch_modeproxy_modesince_daysmax_charge_usdinclude_repliesmax_posts_per_keyword

版本历史

2
  1. v1.0.1最新Nov 5, 2026
  2. v1.0.0Nov 1, 2026

评分

已满足适用检查项的 90%

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

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分