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.

What it solves

XActions provides a comprehensive toolkit for automating X (Twitter) without requiring expensive official API keys or monthly subscriptions. It bypasses the need for the $100/mo API by offering tools for scraping, account management, and AI agent integration that run locally or directly in the browser.

How it works

The project operates through multiple interfaces: a CLI, a Node.js library, browser console scripts, and a browser extension. It uses stealth browser automation (via Puppeteer) and internal GraphQL API calls to fetch data. To handle authentication, it can import cookies from installed browsers (Chrome, Firefox, etc.) or a cookies file. It includes a detailed account pool system with SQLite for session rotation and rate-limit management to avoid account locks.

Who it’s for

It is designed for developers, data researchers, and AI agent builders who need to extract X data or automate interactions (likes, reposts, replies) without the cost and restrictions of the official API.

Highlights

  • MCP Server for AI Agents: Includes 153 tools that allow AI agents (like Claude, GPT, or Cursor) to interact with X.
  • No API Key Required: Works via browser cookies and internal APIs, making it 100% free.
  • Human-in-the-Loop: Features an approval gate where write actions are held as drafts for human review before being posted.
  • Comprehensive Automation: Supports bulk actions (search sweeps, profile engagement), media archiving, and official X archive imports.
  • Cross-Platform Support: Includes scrapers for Bluesky, Mastodon, and Threads behind a normalized interface.
  • AI Voice Integration: Capable of joining, listening, and speaking in X Spaces via AI agents.

Related

  • Project
  • Project
  • Project
  • Project
  • Project