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
| Name | What it is | Required |
|---|---|---|
X_COOKIES | X/Twitter authentication cookies (JSON string or path to cookies file) | No |
X_USERNAME | X/Twitter username for login | No |
X_PASSWORD | X/Twitter password for login | No |
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 actionsx_approve_draft: release a held writex_discard_draft: discard a held writex_download_media: archive a profile's photos and videosx_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
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
x-twitter-growthHelps your agent grow an X (Twitter) account by auditing the profile, drafting tweets and threads, and planning a posting schedule.x-twitter-scraperHelps your agent connect to the X (Twitter) data API through Xquik to search tweets, look up profiles, and monitor accounts.hermes-tweetLets the agent interact with X (Twitter) to research, read timelines, and analyze tweets. It's useful for monitoring launch signals or performing private operations.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.