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, wit
What is Xactions?
Xactions is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to ⚡ 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 ...
⚡ 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, wit
This server falls under the Business Applications category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- ⚡ The Complete X/Twitter Automation Toolkit — Scrapers, MCP
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx xactionsConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Xactions
XActions is a complete X/Twitter automation toolkit that exposes 140+ tools to AI agents via MCP, covering scraping, analytics, actions, and automation workflows — all without requiring official X API keys or monthly fees. It authenticates using your browser session cookie, allowing Claude and other AI agents to post tweets, manage followers, scrape profiles, analyze engagement, and run declarative automation pipelines. Developers and social media managers use it to automate repetitive Twitter tasks, conduct competitor research, and build AI-driven social media strategies at scale.
Prerequisites
- Node.js 18 or higher installed
- An active X/Twitter account
- Your X auth_token session cookie (from browser DevTools)
- An MCP-compatible client such as Claude Desktop or Cursor
Obtain your X session cookie
Log in to x.com in your browser. Open DevTools (F12), go to the Application tab, expand Cookies, select https://x.com, and copy the value of the auth_token cookie. This is your XACTIONS_SESSION_COOKIE.
Install the xactions package
Install the xactions npm package globally or use npx for a zero-install run. The MCP server binary is xactions-mcp.
npx xactions --versionGenerate your MCP config automatically
Use the built-in config generator to produce the correct JSON for your MCP client. Pass --client claude, cursor, or windsurf depending on what you use.
npx xactions mcp-config --client claudeAdd the server to Claude Desktop config
Open your claude_desktop_config.json and add the xactions MCP server block. Replace your_auth_token_here with the auth_token cookie value you copied.
{
"mcpServers": {
"xactions": {
"command": "npx",
"args": ["-y", "xactions-mcp"],
"env": {
"XACTIONS_SESSION_COOKIE": "your_auth_token_here"
}
}
}
}Restart Claude Desktop and verify connection
Restart Claude Desktop after saving the config. The xactions MCP server should appear in the connected servers list and its 140+ tools will be available for use.
Xactions Examples
Client configuration
Claude Desktop config for XActions using the npx runner with your X session cookie.
{
"mcpServers": {
"xactions": {
"command": "npx",
"args": ["-y", "xactions-mcp"],
"env": {
"XACTIONS_SESSION_COOKIE": "your_auth_token_here"
}
}
}
}Prompts to try
Sample prompts that exercise XActions' scraping, analysis, and automation tools.
- "Show everyone I follow who doesn't follow back, ranked by their follower count"
- "Analyze @paulg's writing patterns and draft 3 startup-focused tweets mimicking his style"
- "Compare engagement metrics across @openai, @anthropic, and @google over the past month"
- "Find all accounts in my following list that haven't posted in 90 days"
- "Post a thread summarizing the top 5 AI news stories from this week"Troubleshooting Xactions
Tools fail with authentication errors or 403 responses
Your auth_token cookie has expired or been invalidated. Re-open DevTools on x.com, copy a fresh auth_token value, and update XACTIONS_SESSION_COOKIE in your config.
npx xactions-mcp command not found after config restart
Ensure Node.js 18+ is on the PATH that Claude Desktop uses. Try specifying the full node path or run 'npm install -g xactions' and use the global binary instead of npx.
Rate limit errors when running bulk automation tasks
X imposes rate limits on session-based requests. Use the smart unfollow scheduling features and add delays between bulk operations. Avoid running mass-action workflows back-to-back.
Frequently Asked Questions about Xactions
What is Xactions?
Xactions is a Model Context Protocol (MCP) server that ⚡ 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, wit It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Xactions?
Follow the installation instructions on the Xactions GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Xactions?
Xactions works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Xactions free to use?
Yes, Xactions is open source and available under the NOASSERTION license. You can use it freely in both personal and commercial projects.
Xactions Alternatives — Similar Business Applications Servers
Looking for alternatives to Xactions? Here are other popular business applications servers you can use with Claude, Cursor, and VS Code.
n8n
★ 189.1kA comprehensive MCP server that provides full control over n8n automation workflows through natural language. It offers 43 tools for managing workflows, executions, credentials, and data tables, with safety features like write-mode protection and dou
LobeHub
★ 77.5k🤯 LobeHub is your Chief Agent Operator, organizing your agents into 7×24 operations by hiring, scheduling, and reporting on your entire AI team.
Jeecgboot
★ 46.4kAI 低代码平台,「低代码 + 零代码」双模式驱动:低代码一键生成前后端代码,零代码 5 分钟搭建系统,AI Skills 一句话画流程、设计表单、生成整套系统。内置 AI聊天、知识库、流程编排、MCP插件等,兼容主流大模型。引领「AI 生成 → 在线配置 → 代码生成 → 手工合并->AI修改」开发模式,消除 Java 项目 80% 的重复工作,提效而不失灵活。
CowAgent
★ 44.7kCowAgent (chatgpt-on-wechat) 是基于大模型的超级AI助理,能主动思考和任务规划、访问操作系统和外部资源、创造和执行Skills、通过长期记忆和知识库不断成长,比OpenClaw更轻量和便捷。同时支持微信、飞书、钉钉、企微、QQ、公众号、网页等接入,可选择DeepSeek/OpenAI/Claude/Gemini/ MiniMax/Qwen/GLM/LinkAI,能处理文本、语音、图片和文件,可快速搭建个人AI助理和企业数字员工。
Minds Platform
★ 39.2kPlatform dedicated to building an open foundation for applied Artificial Intelligence, designed for people seeking production-ready AI systems they can truly control, extend and deploy anywhere.
Astrbot
★ 32.8kAI Agent Assistant & development framework that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨
Browse More Business Applications MCP Servers
Explore all business applications servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Xactions in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Xactions?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.