twscrape Twitter/X (read-only) MCP server
io.github.jsilets/twscrape-twitter-mcp·v0.1.2·3 starsRead-only X/Twitter MCP: posts, threads, replies, search via twscrape. No API key.
3 stars
Reviews
Write oneNobody has reviewed twscrape Twitter/X (read-only) yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
twscrape Twitter/X (read-only) tools (6)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
loginCapture an existing signed-in browser session via CDP.
read_quotesRead quote-tweets of an X post (best-effort, via search:quoted_tweet_id). Coverage is partial, X does not expose a complete quotes endpoint.
read_repliesRead the replies to an X post as markdown.
read_threadRead a full X thread as markdown: the root post, the author's self-thread, and top replies. Pass any tweet in the thread.
read_tweetRead a single X post by URL or numeric id. Returns clean markdown.
searchSearch X and return matching posts as markdown.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan12 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 7 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How twscrape Twitter/X (read-only) compares
Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 90% of 3,472 Web search servers
- Tools
- 6
- the typical Web search server has 5
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 3
- more than 73% of 1,783 Web search servers
What its tools let an agent do: 6 read
Install twscrape Twitter/X (read-only) in Claude Code, Cursor or VS Code
claude mcp add twscrape-twitter-mcp -- uvx twscrape-twitter-mcp
What the publisher says
From the twscrape Twitter/X (read-only) repository's README, as published. We do not edit it. Read it on GitHub
<!-- mcp-name: io.github.jsilets/twscrape-twitter-mcp -->
twscrape-twitter-mcp
An MCP server that reads X (Twitter): posts, threads, replies, quotes, and search. It wraps twscrape and uses your own logged-in session, so there's no paid X API and no developer account. Tools return clean markdown shaped for an agent to read, including image, video, and GIF URLs and any external links in a post.
Works with any MCP client over the two standard transports — local stdio and hosted Streamable HTTP.
Tools
Install
uv tool install twscrape-twitter-mcp # or: pipx install twscrape-twitter-mcpThen authenticate once (next section) and verify:
twscrape-twitter-mcp smoke # reads one public tweet end-to-endAuthenticate
Reads run against your own X session. Pick one path:
1. Launch a dedicated browser (recommended). Opens a separate Chrome/Brave profile with a DevTools port, you sign in to X once, and the session is captured. It does not touch your daily browser or automate X's login flow.
twscrape-twitter-mcp login --launch-browser chrome # or: brave2. Attach to a dedicated browser profile. Only use this when you already run an isolated Chromium profile with a debug port. Browser debugging exposes browser data, and recent Chrome versions do not enable it for the default profile.
# macOS
"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --remote-debugging-port=9222 --user-data-dir=/tmp/x-mcp-browser
# Linux: google-chrome --remote-debugging-port=9222 --user-data-dir=/tmp/x-mcp-browser
# Windows: "C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 --user-data-dir=%TEMP%\x-mcp-browser
twscrape-twitter-mcp login --attach # add --cdp-url for a non-default port3. Headless / CI (raw cookies). A server can't open your desktop browser, so add a session from auth_token + ct0 cookies. Run this without cookie flags to enter values through hidden prompts, rather than leaving secrets in shell history:
twscrape-twitter-mcp initThe captured session is reused across restarts. Run login --launch-browser chrome again when it expires, or to add burner sessions for rate-limit rotation. twscrape-twitter-mcp accounts lists the pool.
Use burner accounts, not your main — see Legal.
Connect your client
The server runs locally over stdio. Most MCP clients take a JSON block like this:
{
"mcpServers": {
"x": {
"command": "twscrape-twitter-mcp",
"args": ["serve", "--transport", "stdio"]
}
}
}Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
twscrape Twitter/X (read-only): common questions
- Is twscrape Twitter/X (read-only) MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the twscrape Twitter/X (read-only) safety report
- How do I install twscrape Twitter/X (read-only)?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does twscrape Twitter/X (read-only) need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is twscrape Twitter/X (read-only) maintained?
- The last commit was 43 days ago (2026-09-20). The latest release is v0.1.2.
- What can I use instead of twscrape Twitter/X (read-only)?
- Servers from other publishers that do the same job: Free Search MCP server, Reddit MCP server and Keyline Icons MCP server.
- How does twscrape Twitter/X (read-only) compare with other Web search MCP servers?
- safety score 92/100 (higher than 90% of 3,472 Web search servers); tools 6 (the typical Web search server has 5); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to twscrape Twitter/X (read-only)
Same job from other publishers: the closest match first, then the best rated.
Free SearchNo-API-key web search, page fetching and document reading across many engines. Local-first.not reviewedEstablishedB- RedditReddit MCP server with full read/write - posts, comments, search, and content creation.not reviewedEstablishedB
- Keyline IconsSearch Keyline Icons by name and get any icon's SVG source or React import. No key, no network.not reviewedEstablishedA
- BraveVisit https://brave.com/search/api/ for a free API key. Search the web, local businesses, images,…not reviewedEstablishedA
- Reddit BuddyReddit MCP server - browse posts, search content, analyze users.not reviewedEstablishedA