Repository avatar
AI Tools
v1.0.0
active

threads-mcp

io.github.laptimehq/threads-mcp

Threads (Meta) profiles, posts, replies and keyword search for AI assistants. Pay per result.

Documentation

Threads MCP: Threads for your AI assistant

Threads MCP Server

Read Threads (Meta) from Claude, ChatGPT, Cursor, VS Code, any MCP client or your own code: profiles, posts, threaded replies and keyword or hashtag search. No login.

Remote MCP server MCP Registry Validate License: MIT

Install in Cursor Install in VS Code Install in VS Code Insiders Claude Code plugin

Quick start · Agent setup · Tools · Client setup · Use from code · Pricing · FAQ

Threads MCP connects your AI assistant to public Threads data. Ask a question: your assistant reads a profile's latest posts, a post with all its replies, or searches Threads by keyword or hashtag, and answers with likes, replies, reposts and links.

Claude Code reads @zuck's latest Threads posts through Threads MCP and answers with a table

Set up with your AI agent

Paste this repository's URL into Claude Code, Codex, Cursor or another agent and ask it to set up Threads MCP. The steps below are written so your agent can follow them.

For AI agents installing this server:

  1. This is a hosted remote MCP server (streamable HTTP). There is nothing to download or build. It needs a free Apify account and an Apify sign-in (OAuth) in the user's browser; do not ask for an API token unless the sign-in fails.
  2. Server name threads, server URL:
    https://mcp.apify.com/?tools=fetch-actor-details,get-actor-run,get-dataset-items,laptime/threads-scraper
    
  3. Add it with the client's own command:
    • Claude Code: claude plugin marketplace add laptimehq/threads-mcp, then claude plugin install threads@threads-mcp (adds the server and the Threads MCP skill).
    • Codex: codex mcp add threads --url "<server URL>", then codex mcp login threads.
    • VS Code: code --add-mcp '{"name":"threads","type":"http","url":"<server URL>"}'.
    • Cursor and other clients: add {"mcpServers": {"threads": {"url": "<server URL>"}}} to the client's MCP config file (Cursor: ~/.cursor/mcp.json).
  4. Ask the user to complete the sign-in. In Claude Code they run /mcp, select threads and choose Authenticate; other clients open the Apify sign-in page themselves. A client restart may be needed before the tools appear.
  5. Check it works with a small call, for example laptime--threads-scraper with {"usernames": ["zuck"], "maxPostsPerSource": 10}. Every returned row is billed to the user's Apify account, so keep test runs small.
  6. Before real requests, read the Threads MCP skill: it explains the run flow and which inputs return good results.

Why Threads MCP

  • No login. No Threads or Instagram account, cookies or API key.
  • Fast. A profile with its 20 latest posts in 2.9 s, the fastest of 3 Threads scrapers Laptime ran with the same input (18 Nov 2026).
  • Deep search. Logged-out Threads search stops at about 20 posts; this tool walks back through time and returned the 1,000 newest posts for "coffee" in 32 s.
  • Pay per result. Filtered-out posts, duplicates and empty runs are free.
  • Nothing to install. A hosted remote MCP server: add one URL and sign in with Apify. Works in claude.ai and ChatGPT, not only in desktop apps.
  • Made for assistants. A bundled skill teaches your assistant the inputs that work, and tool descriptions carry every option.
  • Pay per result. Billed to your own Apify account, no subscription, no start fee. Apify's free plan includes $5 of usage a month.
Threads MCPThreads API
AccessAny Apify accountA Meta app, and mostly your own account's data
Other people's posts and repliesAny public profileLimited
Keyword search depthHundreds of postsLimited
Web assistants (claude.ai, ChatGPT)SupportedNeeds your own server

Tools

ToolWhat you getStore page
ThreadsProfiles, their posts, posts with their threaded replies, and keyword or hashtag search, with likes, replies, reposts and dates.threads-scraper

All tools are read-only. They never post, message, follow or buy anything.

Quick start

  1. Create a free Apify account if you do not have one.
  2. Add the server to your assistant. Click a button above, or follow the steps for your client below.
  3. Sign in with Apify when your assistant asks, then ask a question such as "What are people on Threads saying about the new iPhone this week? Summarise the main opinions with links."

About the Apify sign-in page. Apify notes that your assistant was registered dynamically and asks for API access; every assistant that signs in this way sees that notice. It lets your assistant start runs on your account, and you can remove the access at any time on your Apify Console integrations page.

Server URL, for any client that accepts a remote MCP server:

https://mcp.apify.com/?tools=fetch-actor-details,get-actor-run,get-dataset-items,laptime/threads-scraper

Client setup

Claude (claude.ai and Claude Desktop)
  1. Open Settings > Connectors and select Add custom connector.
  2. Name it Threads MCP and paste the server URL above.
  3. Select Connect and sign in with Apify.
  4. In a chat, enable the Threads MCP connector from the tools menu.

For better results, also add the Threads MCP skill: zip the skills/threads folder and upload it under Skills in Claude's settings.

Claude Code

Plugin (server plus the Threads MCP skill, recommended):

/plugin marketplace add laptimehq/threads-mcp
/plugin install threads@threads-mcp

Server only:

claude mcp add --transport http threads "https://mcp.apify.com/?tools=fetch-actor-details,get-actor-run,get-dataset-items,laptime/threads-scraper"

Then sign in: run /mcp, select the threads server and choose Authenticate.

Cursor

Click Install in Cursor above, or add examples/cursor-mcp.json to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project). Cursor asks you to sign in with Apify on first use.

VS Code and GitHub Copilot

Click Install in VS Code above, or add examples/vscode-mcp.json to .vscode/mcp.json. Start the server from the MCP view and sign in with Apify when prompted. Use the tools in Copilot Chat agent mode.

ChatGPT
  1. In ChatGPT, add a custom MCP server (connector) and name it Threads MCP.
  2. Paste the server URL above and choose OAuth authentication.
  3. Sign in with Apify, then select Threads MCP in a new chat.

Business, Enterprise and Edu workspaces may need an admin to enable custom servers. See OpenAI's custom MCP server guide.

Codex
codex mcp add threads --url "https://mcp.apify.com/?tools=fetch-actor-details,get-actor-run,get-dataset-items,laptime/threads-scraper"
codex mcp login threads

Or copy examples/codex-config.toml into ~/.codex/config.toml.

Other clients, or a token instead of sign-in

Most clients that support remote MCP servers accept:

{
  "mcpServers": {
    "threads": {
      "url": "https://mcp.apify.com/?tools=fetch-actor-details,get-actor-run,get-dataset-items,laptime/threads-scraper"
    }
  }
}

If your client cannot complete the Apify sign-in, send your Apify token as a header instead, see examples/bearer-token-mcp.json. Copy the token from your Apify Console integrations page and keep it out of shared files. Clients that only run local servers can bridge with mcp-remote, see examples/claude-desktop-config.json.

Use it from code

Each tool is also an Apify Actor with a REST API, so you can call it from your own code, a pipeline or an automation, without an assistant. Copy your API token from the Apify Console integrations page. The input fields are the same ones the assistant uses; each Store page has an API tab with the full input reference.

Python
pip install apify-client
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("laptime/threads-scraper").call(run_input={"usernames": ["zuck"], "maxPostsPerSource": 10})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
JavaScript and TypeScript
npm install apify-client
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('laptime/threads-scraper').call({"usernames": ["zuck"], "maxPostsPerSource": 10});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
HTTP

Start a run and get its results in one request:

curl -X POST "https://api.apify.com/v2/acts/laptime~threads-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"usernames": ["zuck"], "maxPostsPerSource": 10}'

This waits up to 300 seconds. For bigger runs, start the run asynchronously and read its dataset when it finishes, see the Apify API reference.

n8n, Make and Zapier

Use Apify's official integration for n8n, Make or Zapier, choose the Actor (for example laptime/threads-scraper) and pass the same JSON input. Ready-made n8n workflows: laptimehq/n8n-templates.

Example prompts

  • Show @zuck's last 20 Threads posts with likes and replies.
  • Read all replies to this post and summarise the sentiment: https://www.threads.com/@.../post/...
  • Find the 100 newest Threads posts about 'cursor ai'.
  • Which of these 10 creators gets the most replies per post on Threads?

Use cases

  • Social listening. What people say about a brand, a product or a topic.
  • Creator research. Posting rhythm and engagement of any public profile.
  • Reply analysis. Whole reply threads for sentiment and questions.

Example output

One row from a real run of threads-scraper on Apify (2 December 2026), abridged. Your assistant reads rows like this and answers in plain language.

{
  "record_type": "post",
  "username": "zuck",
  "text_content": "We've even trained it on a new way to pronounce \"aluminium\". Give it a try today.",
  "post_url": "https://www.threads.com/@zuck/post/DgHQuRJm8lC",
  "created_at": "2026-11-24T06:00:07.000Z",
  "like_count": 1032,
  "reply_count": 215,
  "repost_count": 29
}

Each tool's Store page lists every field.

How long requests take

Most Laptime runs finish in seconds, inside the first tool call. Bigger requests keep running on Apify after the call returns, and your assistant checks back until the results are ready, then reads them in pages. The Threads MCP skill teaches assistants this flow, along with input recipes for each tool. Claude Code gets it with the plugin.

Pricing

Pay per result, billed to your Apify account, no start fee. There is no subscription to this repository. Prices on 2 December 2026 (Apify free-plan list prices; paid plans pay less, and each pricing page has the details):

Your assistant controls cost through result caps such as maxItems. Ask for a small number first, then scale up. Runs that return nothing are not charged.

Troubleshooting

  • /mcp says the server is not authenticated, or its tools could not be fetched. Select the server and choose Authenticate. Other clients show a Connect or Sign in button.

  • Your assistant says a run is still going. That is normal for bigger requests. Ask it to keep checking the same run; a new run for the same question is billed again.

  • Your client cannot complete the sign-in. Use an Apify token header instead, see Other clients.

FAQ

Is there a Threads API for other accounts? Meta's Threads API mostly covers your own account. This tool reads any public profile, post and search over MCP or a REST API (see Use it from code).

Which AI assistants work with it? Any client that supports remote MCP servers, including Claude (claude.ai, Claude Desktop, Claude Code), ChatGPT, Codex, Cursor, VS Code with GitHub Copilot and many more.

Is it free? Apify's free plan includes $5 of usage a month, enough to try every tool. After that you pay per result; see Pricing.

Is this an official Threads product? No. Threads MCP is an independent product by Laptime and is not affiliated with the platforms it reads.

Privacy

Requests go to Apify's hosted MCP server and run on your Apify account. Apify's privacy policy applies. This repository contains configuration and instructions only; it collects nothing.

More from Laptime

Threads MCP is built on Laptime's Apify Actors: fast, timed scrapers with pay-per-result pricing. You can also run each tool directly on Apify, from its API, or on a schedule.

License

MIT. Platform names are trademarks of their respective owners.