nirholas/XActions

⚡ 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.

XActions — X/Twitter Automation Toolkit for Humans and AI Agents

What it is: XActions is a free, open-source toolkit for automating everything on X (formerly Twitter) — scraping profiles and tweets, searching, managing followers, sending DMs, and more. It works as a command-line tool, a Node.js library, browser console scripts, a browser extension, and — crucially — as an MCP server that lets AI agents (like Claude, GPT, or Cursor) control X directly. No official API key is required; it uses X's internal web endpoints and your own browser session.

Key features (from the README):

  • Scrapers & CLI: 56 commands for profiles, timelines, search, followers, media downloads, and more. Output to JSON, CSV, Markdown, or HTML.
  • MCP Server for AI Agents: 152 tools exposed via the Model Context Protocol, so AI assistants can read, write, and manage X accounts. Includes a human-approval gate for writes and per-account daily action caps.
  • Browser Scripts & Extension: 95 copy-paste console scripts and a Chrome/Edge extension for automations without any install.
  • AI Voice Agent in Spaces: Can join, listen, and speak in X Spaces.
  • Account Pool & Resumable Scrapes: SQLite-backed session management with proxy rotation, rate-limit handling, and checkpoint-based resume for long scrapes.
  • Cross-platform: Also scrapes Bluesky, Mastodon, and Threads behind one interface.
  • Portability: Import your official X archive and migrate to Bluesky or Mastodon.
  • Extras: Sentiment analysis, workflow engine, plugin system, signed webhooks, live event streaming, and a built-in "Ask XActions" assistant.

How it works: XActions bypasses the paid X API by using X's own internal GraphQL endpoints, mimicking the real web client's requests. It can read cookies from your installed browser (Chrome, Firefox, etc.) to authenticate. Everything runs locally — no data leaves your machine. The MCP server connects to AI agents over stdio or HTTP, letting them perform actions like posting, searching, or managing followers with your explicit approval.

Use cases: Social media management, brand monitoring, content scheduling, follower analytics, data export, and giving AI agents the ability to interact with X on your behalf — all without paying for API access.

Why it stands out: It's the only toolkit that spans browser, terminal, and AI agents simultaneously, with no API key required. The README includes a competitive comparison table showing it leads in MCP tool count, browser scripts, and features like approval gates and daily caps.

Related

  • Project
  • Project
  • Project
  • Project
  • Project