xbird
xbird — Twitter/X for AI Agents
35 MCP tools for Twitter/X with x402 micropayments. Runs locally from residential IP.
Zero config — auto-detects your browser session and generates a wallet. No API keys, no developer account.
When to Use
- Running inside Claude Code, Cursor, or Windsurf
- Need direct MCP tool access to Twitter/X
- Local execution from your own IP
Don't use when: Building backend services or autonomous agents (use REST x402 instead), or operating on Virtuals marketplace (use ACP instead).
Setup
claude mcp add xbird -- npx @checkra1n/xbird
That's it. xbird auto-detects your Twitter session from Chrome, Firefox, Edge, or Safari. A payment wallet is generated automatically on first run.
Full tool list: see tools.md.
Common Workflows
Post tweet with image: upload_media (get mediaId) → post_tweet with mediaIds: ["<id>"]
Get someone's tweets: get_user (get numeric userId) → get_user_tweets with userId
Search and engage: search_tweets with query → like_tweet or retweet results
Update profile: update_profile_image + update_profile with new bio
Quick Reference
Handles: work with or without @ prefix
Pagination: most tools accept cursor from previous response
Media: always upload first, then attach mediaId to tweet
Pricing: Read $0.001 | Search $0.005 | Bulk/Write $0.01 | Media $0.05
Common Mistakes
| Mistake | Fix |
|---|---|
| Using handle for bulk tools | get_user_tweets, get_followers, etc. need numeric userId. Call get_user first. |
| Posting thread with 1 tweet | post_thread requires minimum 2 tweets. Use post_tweet for single tweet. |
| Media not attached | Upload returns mediaId — must pass it in mediaIds array to post_tweet. |
| Rate limit error | Twitter rate limit. Wait 1-2 minutes, retry. |
| Cookies not detected | Login to x.com in any browser. xbird auto-detects Chrome, Firefox, Edge, Safari. |