/ Каталог / Песочница / XActions
● Сообщество nirholas ⚡ Сразу

XActions

автор nirholas · nirholas/XActions

140+ MCP tools for X/Twitter — scrape, post, automate, analyze, and monitor. No API fees, fully open source and local.

XActions is a comprehensive X/Twitter automation toolkit with 140+ MCP tools, CLI, browser scripts, and a browser extension. It handles scraping (profiles, tweets, followers), actions (post, like, follow, DM), analytics (sentiment, engagement, competitor analysis), workflow automation (JSON pipelines), and account portability (export/migration). No Twitter API key needed — works locally with no data leaving your machine.

Зачем использовать

Ключевые функции

Живое демо

Как выглядит на практике

xactions-2.replay ▶ готово
0/0

Установка

Выберите клиент

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "xactions-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/nirholas/XActions"
      ]
    }
  }
}

Откройте Claude Desktop → Settings → Developer → Edit Config. Перезапустите после сохранения.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "xactions-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/nirholas/XActions"
      ]
    }
  }
}

Cursor использует ту же схему mcpServers, что и Claude Desktop. Конфиг проекта приоритетнее глобального.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "xactions-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/nirholas/XActions"
      ]
    }
  }
}

Щёлкните значок MCP Servers на боковой панели Cline, затем "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "xactions-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/nirholas/XActions"
      ]
    }
  }
}

Тот же формат, что и Claude Desktop. Перезапустите Windsurf для применения.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "xactions-2",
      "command": "TODO",
      "args": [
        "See README: https://github.com/nirholas/XActions"
      ]
    }
  ]
}

Continue использует массив объектов серверов, а не map.

~/.config/zed/settings.json
{
  "context_servers": {
    "xactions-2": {
      "command": {
        "path": "TODO",
        "args": [
          "See README: https://github.com/nirholas/XActions"
        ]
      }
    }
  }
}

Добавьте в context_servers. Zed перезагружается автоматически.

claude mcp add xactions-2 -- TODO 'See README: https://github.com/nirholas/XActions'

Однострочная команда. Проверить: claude mcp list. Удалить: claude mcp remove.

Сценарии использования

Реальные сценарии: XActions

How to analyze your X/Twitter engagement and audience

👤 Content creators and social media managers ⏱ ~15 min beginner

Когда использовать: You want to understand your audience, track engagement, and find growth opportunities.

Предварительные требования
  • XActions installed — npm install -g xactions
  • Logged into X in your browser — Browser scripts use your active session
Поток
  1. Profile analysis
    Analyze my X profile @myhandle. Show follower growth trends, top performing tweets, and engagement rate.✓ Скопировано
    → Profile analytics with engagement metrics and trends
  2. Competitor analysis
    Compare my engagement metrics with @competitor1 and @competitor2. Where am I winning and where can I improve?✓ Скопировано
    → Side-by-side comparison with actionable insights

Итог: A clear picture of your X presence with data-backed growth strategies.

Подводные камни
  • Scraping too aggressively triggers X rate limits — Built-in rate limiting and human-like delays prevent most issues, but don't override them
Сочетать с: filesystem

Find and unfollow accounts that don't follow you back

👤 X users managing their following list ⏱ ~30 min beginner

Когда использовать: Your following/follower ratio is off and you want to clean up.

Предварительные требования
  • XActions configured — npm install xactions
Поток
  1. Detect non-followers
    Scan my X account and find all accounts I follow that don't follow me back.✓ Скопировано
    → List of non-reciprocal follows with account names
  2. Smart unfollow
    Unfollow the non-followers except for accounts with over 100k followers (I want to keep those). Use smart delays.✓ Скопировано
    → Progress updates with unfollow count

Итог: Following list cleaned up with non-reciprocal accounts removed.

Подводные камни
  • Mass unfollowing too fast triggers X restrictions — Use the built-in smart delays and rate limiting — don't rush the process

Комбинации

Сочетайте с другими MCP — эффект x10

xactions-2 + filesystem

Export your X data for backup or platform migration

Export all my tweets, followers, and following lists to ~/x-backup/ in JSON and CSV formats.✓ Скопировано

Инструменты

Что предоставляет этот MCP

ИнструментВходные данныеКогда вызыватьСтоимость
scrape_profile handle: str Get a user's profile data 0
scrape_tweets handle: str, count?: int Get a user's recent tweets 0
search_tweets query: str, filters? Search for tweets by keyword 0
post_tweet content: str Post a new tweet 0
detect_unfollowers none Find accounts that unfollowed you or don't follow back 0
sentiment_analysis tweets: Tweet[] Analyze sentiment of tweets 0

Стоимость и лимиты

Во что обходится

Квота API
No Twitter API needed — uses browser-level access
Токенов на вызов
300–2000 tokens per tool call
Деньги
Free and open source
Совет
Use targeted searches instead of full profile scrapes to reduce data volume.

Безопасность

Права, секреты, радиус поражения

Хранение учётных данных: Uses your browser's active X session — no separate credentials needed
Исходящий трафик: All data stays local. Browser interactions go through x.com only.

Устранение неполадок

Частые ошибки и исправления

Authentication failed

Ensure you're logged into X (twitter.com) in your browser. The tools use your active session.

Проверить: Open x.com in your browser and verify you're logged in
Rate limited by X

X has aggressive rate limits for automated behavior. Wait 15-30 minutes and reduce automation frequency.

Проверить: Try a simple profile scrape to test access
Scraper returns empty data

X frequently changes their page structure. Update to the latest version of XActions.

Проверить: npm update xactions

Альтернативы

XActions в сравнении

АльтернативаКогда использоватьКомпромисс
Twitter/X official APIYou want official API access with guaranteed stabilityCosts money ($100+/mo for basic) but stable and ToS-compliant

Ещё

Ресурсы

📖 Читать официальный README на GitHub

🐙 Открытые задачи

🔍 Все 400+ MCP-серверов и Skills