Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyMarketing and sales

XActions

Lets your AI agent read, post and analyze on X (Twitter) without an API key, with optional approval for every write.

644 stars on GitHubby nirholasLicense Apache-2.0Updated 18 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add xactions -- npx -y xactions

What to fill in

NameWhat it isRequired
X_COOKIESX/Twitter authentication cookies (JSON string or path to cookies file)No
X_USERNAMEX/Twitter username for loginNo
X_PASSWORDX/Twitter password for loginNo

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Get the profile and last 100 tweets of @nasa into a CSV.
Search X for mentions of my brand and summarize them.

What it is

XActions is a toolkit for X that includes scrapers, a command line tool, browser scripts and an MCP server with 154 tools. Public reads such as profiles and timelines work without an account. Writes can be held as drafts until a person approves them, and daily action caps apply.

What it can do

  • x_list_drafts: list held write actions
  • x_approve_draft: release a held write
  • x_discard_draft: discard a held write
  • x_download_media: archive a profile's photos and videos
  • x_ask: answer how-to questions from the docs
  • Read, write, DM, lists, analytics and monitoring tool groups

When to use

  • β€ΊWhen you want to pull a profile or timeline into a spreadsheet
  • β€ΊWhen you want to track what people say about your brand
  • β€ΊWhen you want an agent to prepare posts but need to approve each one

What you need

Node.js, run with npx xactions. Public reads need no account. Search, followers and DMs need you to log in with a session cookie.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes. The readme says no API keys, no monthly fees and 100 percent open source.

Do I need an X API key?

No. Public reads work without an account; some features need your session cookie.

Can I limit what the agent can do?

Yes. You can filter tool groups, require approval for every write, and rely on daily action caps stored on disk.

Can it run on a server?

Yes. xactions-mcp --http serves the Streamable HTTP transport, with optional bearer auth.

Is it the official X server?

No. It is a third-party project.

Is there an easy install for Claude Desktop?

Yes. A .mcpb bundle is attached to every release.

If it does not work

  • β€ΊRun xactions doctor to check the setup and the query ID cache age.
  • β€ΊIf reads fail, log in with xactions login --from-browser to import your cookies.
  • β€ΊRestart the MCP server after changing the tool group or approval settings.

5 new skills a week. 1 minute to read.