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:
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:
Inputs
Every buyer facing input of the actor. Omitted inputs take the actor's own defaults.
Pricing
Pay per event on Apify, billed to your Apify account. Prices in USD.
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.