API & Integrations

How to post tweets from Claude Desktop

Claude Desktop can create and schedule tweets directly through OpenTweet's MCP server. Once connected, you can ask Claude to write tweets, schedule them, manage your evergreen queue, and check analytics — all within a Claude conversation.

Setup

  1. Get an OpenTweet API key from Settings → API Keys.
  2. Open Claude Desktop and go to Settings → Developer → MCP Servers.
  3. Add a new server with the command: npx @opentweet/mcp-server
  4. Set the OPENTWEET_API_KEY environment variable to your API key.
  5. Restart Claude Desktop.

Example prompts

  • "Write and schedule a tweet about my new blog post for tomorrow at 9am"
  • "Show me my scheduled tweets for this week"
  • "Create a thread about the top 5 features of my product and save as draft"
  • "Add my last 3 posted tweets to the evergreen queue"
  • "Show my posting analytics for the last 30 days"

Multi-account support

If you have multiple X accounts, specify which account to use by name when giving Claude instructions. The MCP tools accept an x_account_id parameter.

Ready to Try OpenTweet?

Start your 7-day free trial. Schedule tweets, use AI, set up connectors — all in one place.