threads-lyr
You can anonymously read public Threads.net profiles and recent threads via read-only MCP tools, and release scrape resources.
Fetch a public profile by username (bio, follower/following/post counts).
Fetch a user’s recent public threads with optional limit 1–100 (default 25), including text, URL, created_at, and engagement.
Close active scrape clients and clean up session resources.
Read-only and anonymous: public content only; no login, cookies, or write actions.
Provides read-only access to public Threads.net profiles and threads, including profile bio, follower/following/post counts, and recent threads with text, URL, creation time, and engagement metrics.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@threads-lyr show recent threads from @zuck"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
What it does
get_threads_profile— bio, follower/following/post counts for any public profileget_user_threads— recent public threads (text, url, created_at, engagement)close_session— release scrape clientsAgent-first CLI — AXI-compliant (
--list-tools,--tool-info,--json,--hook,--install-hook,--install-skill)Two MCP transports — stdio and streamable-http
Threads posts and profiles are public, so the client fetches threads.net/@username
directly — Chrome TLS impersonation gets through, no credentials required. Cloned from
facebook-lyr and stripped to Threads only.
Related MCP server: threads-mcp-server
Why anonymous scraping?
The official Threads API requires Meta app registration and access tokens, and writing tools need authorized credentials. For reading public content, that's heavy machinery for a problem an anonymous fetch already solves.
curl_cffiwith Chrome TLS impersonation defeats JA3 fingerprint detection.Profiles and feeds are parsed from Threads' embedded JSON with a resilient deep-scan — no fragile selectors.
Tools are annotated
readOnlyHintso agents know not to attempt writes.
Quick install
./install.sh # or: uv sync
uv run threads-lyr --status # anonymous — always validthreads-lyr update --check and threads-lyr update are available for
package-manager-owned installs; threads-lyr upgrade is an alias. The project
installer creates an editable checkout install, so its updater refuses to replace
source files. Update that installation with git -C <checkout> pull followed by
cd <checkout> && uv sync.
Direct CLI tool execution
uv run threads-lyr get_threads_profile --username zuck
uv run threads-lyr get_user_threads --username zuck --limit 10
uv run threads-lyr get_user_threads --username zuck --limit 5 --json
uv run threads-lyr --list-toolsMCP server
Spawn with no args on a pipe (as Claude Code / other MCP clients do):
threads-lyr # starts the JSON-RPC stdio serverFor the streamable-http transport:
TRANSPORT=streamable-http PORT=8000 threads-lyrHonest platform limits
Read-only. Publishing on Threads requires the official Threads API — out of scope for anonymous scraping.
Anonymous. Only public profiles are reachable; private profiles return not-found/empty.
Layout
threads_mcp_server/
scraping/ curl_cffi Chrome-impersonation client + embedded-JSON parsers
tools/ FastMCP tool registration (threads_tools.py)
server.py FastMCP server assembly
cli_main.py AXI-compliant CLI
config/ layered config (CLI args > env > defaults)Visual proof
Profile | Threads feed | MCP tools |
|
|
|
Related CLI Tools
This project is part of a family of agent-friendly CLI tools for social platforms:
Tool | CLI | Repo |
| ||
Threads |
| |
| ||
| ||
| ||
Twitter/X |
| |
Discord |
| |
Telegram |
|
License
MIT — see LICENSE.
☕ Support & Sponsorship
If you find this project useful, consider supporting ongoing development:
Your support funds new features, releases, and infrastructure for the whole ecosystem.
Available Tools
3 toolsclose_sessionClose SessionADestructive
Close all active scrape clients and clean up resources.
Inputs: no named parameters. Returns: object
get_threads_profileGet Threads ProfileARead-only
Get a public Threads profile by username.
Inputs: username (required). Returns: object
get_user_threadsGet User ThreadsARead-only
Get recent public threads for a user.
Inputs: username (required), limit. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
The two data-fetching tools are clearly distinct: one retrieves profile metadata, the other retrieves user's posts. The close_session tool is obviously a lifecycle utility and does not overlap with the data access tools.
All tool names follow a consistent verb_noun pattern: get_threads_profile, get_user_threads, and close_session. This makes the intended action and target clear at a glance.
With only 3 tools, the server is minimal but appropriately scoped for a lightweight Threads reader/API client. It's slightly on the low end but each tool serves a purpose, so the count is reasonable.
The server covers the core read-only operations: fetching a profile and fetching recent threads. However, there is no tool for retrieving a single thread's details or replies, which could be a minor gap depending on the use case. Overall, the surface is sufficient for basic public Threads data access.
Maintenance
Related MCP Connectors
Threads public posts, replies and profiles, with view counts, keyword and account search.
Export any public Threads profile's posts, followers & following into Claude, no login or API key
Meta Threads posts, keyword and hashtag search, replies and profiles without login (Apify)
Publish, reply, moderate, search and read insights on your Threads (threads.com) account.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables AI agents to interact with Meta Threads by fetching profile details, recent posts, post and account analytics, and conversation reply trees, as well as exporting posts as JSON for archiving or embedding.7-
- AlicenseAqualityCmaintenanceMCP server for the Meta Threads API, enabling profile retrieval, post creation and deletion, insights, and passthrough to other Threads endpoints with optional read-only and no-destructive modes.66 npmMIT
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to interact with Threads via MCP, including sub-80ms keyword search, full nested discussion tree extraction, replying to any external thread, publishing posts, fetching user profiles and threads, trending topics, and engagement actions like likes and reposts.3-
- AlicenseAqualityCmaintenanceEnables read-only research on public X data through tools for posts, threads, profiles, search, trends, collections, and saved-result analysis using free public APIs and optional sessions.8MIT


