Free to browse, every day. Go Pro for unlimited installs and Airsc MCP.

See Pro
PluginSafeIntegrations & automationBeginner friendly

XActions

nirholas · nirholas/XActions

Manage X/Twitter accounts, scrape data, and automate social interactions through your AI agent without needing paid API keys.

⚡ The Complete X/Twitter Automation Toolkit — Scrapers, MCP server for AI agents (Claude/GPT), CLI, browser scripts. No API fees. Open source. Unfollow people who don't follow back. Monitor real-time analytics. Auto follow, like, comment, scrape, without API. Follow Bot. Like bot. Grow your account automatically.

614 stars113License: Apache-2.0Updated today0 opens

Preview

▍

What you can do with it

  • Scrape latest tweets about a specific topic or brand for sentiment analysis
  • Automate profile management tasks like following or unfollowing users
  • Monitor real-time analytics and engagement metrics for any X profile

Safety check

Safe

No risky patterns found in the files we scanned.

Automated scan of the repo files. Always review code you run.

From the README

██╗ ██╗ █████╗ ██████╗████████╗██╗ ██████╗ ███╗ ██╗███████╗ ╚██╗██╔╝██╔══██╗██╔════╝╚══██╔══╝██║██╔═══██╗████╗ ██║██╔════╝ ╚███╔╝ ███████║██║ ██║ ██║██║ ██║██╔██╗ ██║███████╗ ██╔██╗ ██╔══██║██║ ██║ ██║██║ ██║██║╚██╗██║╚════██║ ██╔╝ ██╗██║ ██║╚██████╗ ██║ ██║╚██████╔╝██║ ╚████║███████║ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚══════╝

The complete X/Twitter automation toolkit

Scrapers  ·  MCP Server for AI Agents  ·  CLI  ·  Browser Scripts  ·  Browser Extension No API keys. No monthly fees. 100% open source.

     

       

 

https://xactions.app

Website  ·  npm  ·  Docs  ·  MCP Server  ·  Docker  ·  API Ref


⚡ Try it in 30 seconds

npx xactions profile nasa
⚡ @NASA

  Name:      NASA
  Bio:       Making the seemingly impossible, possible. ✨
  Location:  Pale Blue Dot
  Website:   http://www.nasa.gov/
  Joined:    2007-12-19
  Following: 117  Followers: 92.4M
  Tweets:    74.2K  Listed:    0
  ✓ Verified

No API key. No account. No browser. Real data in about a second.

npx xactions tweets nasa --limit 100 --output nasa.csv   # timeline to a spreadsheet
npx xactions login                                        # unlock search, followers, DMs
npx xactions search "your brand" --limit 50               # what people are saying

⚡ See it in action


🏆 How XActions Compares

Why build with XActions instead of the alternatives?

FeatureXActionstwikittwscrapex-usexmcp (official)birdtwitter-cliAgent-Reach
No API Key Required✅✅ Cookies✅ Account pool✅ Browser❌ X API keys✅ Cookies❌ X API keys✅
MCP Server (AI agents)✅ 154 tools❌❌✅ (33-tool server)✅ (140-tool, metered)❌❌❌ Skills, not MCP
Browser Console Scripts✅ 95❌❌❌❌❌❌❌
AI Voice Agent in Spaces✅ Join, listen, speak❌❌❌❌❌❌❌
CLI✅ 56 commands❌✅❌❌✅✅✅
Human approval gate on writes✅ Every write held as a draft❌❌✅❌❌❌❌
Daily action caps that survive a restart✅ Per account, on disk❌❌✅❌❌❌❌
Account pool with rotation✅ SQLite, per-operation windows❌✅❌❌❌❌❌
Resumable long scrapes✅ Cursor checkpoints❌❌❌❌❌❌❌
Cookies from your installed browser✅ --from-browser, --cookies-file❌❌❌❌✅✅❌
Official X archive import✅ xactions archive❌❌❌❌❌❌❌
LanguageJavaScriptPythonPythonTypeScriptTypeScriptTypeScriptPythonPython

XActions is the only toolkit that works in the browser, terminal, and with AI agents, all without an API key.

Competitor columns come from the competitive audit, which names each project and what it does better than us. Where a rival led, we built it: the approval gate and the daily caps follow x-use, the account pool follows twscrape, cursor resume follows Scweet, and browser cookie import follows bird and twitter-cli.


🆕 What's New

AreaWhat changed
Delete every reply you sent one accountscripts/searchSweep.js turns any X search into a bulk action. Open x.com/search?q=from:you @someone&f=live, paste it, and delete, like, repost, or reply to every result, with a floating panel, a dry run, filters that protect posts that did numbers, and multiple passes because X search returns a slice at a time. Deletes only ever touch your own posts. Docs.
Sweep a whole profilescripts/engageProfile.js likes, reposts, and replies to every post on an account from the console, with a floating panel, dry run, resume, undo, and replies from your templates or from an LLM given a one-line brief (Grok works straight from the console; any provider through the extension). xactions engage USERNAME --like --repost --comment --prompt "..." does the same from the terminal with any provider. Docs.
A CLI you can find your way aroundAll 56 commands are now grouped by task instead of listed alphabetically. xactions quickstart gives a guided first run that adapts to what you already have set up.
Tab completionxactions completion bash|zsh|fish prints a completion script generated from the live command tree, so every command, sub-command, and flag completes.
Log in without touching DevToolsxactions login --from-browser reads x.com cookies straight out of an installed Chrome, Chromium, Brave, Edge, Arc or Firefox profile. --cookies-file imports a Netscape cookies.txt, a Cookie-Editor or EditThisCookie JSON export, or a Playwright / Puppeteer storageState. A full cookie jar beats a bare auth_token, because it carries the ct0 every write needs.
Query IDs that heal themselvesX rotates its GraphQL query IDs and every pinned client 404s at once. Ours are discovered from x.com's own bundles and cached, so a rotation is invisible. xactions doctor reports the cache age.
Requests signed like the real clientEvery GraphQL call carries an x-client-transaction-id header computed the way x.com's own web client computes it, so reads get the answer the b
View source on GitHub