Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Twitter MCP

MCP server by EnesCinr Verified · npm:@iflow-mcp

Twitter MCP lets an AI assistant post tweets, search Twitter and read your home timeline. It suits Claude Desktop users who have a Twitter Developer account and API keys.

  • Score 79
  • 412 stars
  • 10 a week
  • MIT
  • Updated

Install Twitter MCP

Built from the published package, never by AI.

claude mcp add twitter-mcp -- npx -y @iflow-mcp/twitter-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Twitter MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the twitter-mcp block.

About

Twitter MCP is a Model Context Protocol server that lets an AI assistant interact with Twitter. It can post tweets, optionally as replies or with up to four local images, search for tweets, and read the reverse-chronological home timeline. It is launched with npx using @enescinar/twitter-mcp.

It is aimed at people using Claude Desktop who want to post, search, or read their home timeline. The home timeline tool needs a paid X API tier, since it is not available on the Free tier. The project is MIT licensed and includes a development section for running from source.

Written from the project's README and checked against it.

Tools it gives your assistant

  • post_tweetPosts a new tweet, optionally as a reply or with up to 4 images.
  • search_tweetsSearches for tweets on Twitter.
  • get_home_timelineReturns recent tweets from you and the accounts you follow, newest first.

What you need

  • Twitter Developer account and API keys
  • API_KEY, API_SECRET_KEY, ACCESS_TOKEN and ACCESS_TOKEN_SECRET
  • Paid X API tier (Basic or higher) for the home timeline tool
  • Claude Desktop config file
  • Node.js (npx)

Try asking

  • Can you post a tweet saying 'Hello from Claude!'
  • Can you search for tweets about Claude AI?
  • What have the accounts I follow posted in the last 3 days?

Good to know

  • The home timeline tool is not available on the Free X API tier and returns an error there.
  • Use either since_days or start_time for the timeline, not both.
  • Media must be local JPG, PNG, GIF or WEBP files, up to 4 images per tweet.
  • Timeline count is 1 to 100, and since_days can be at most 30.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Twitter MCP

All alternatives →

Compare with Jitsu, Vexa or Linkedin MCP server

Twitter MCP: common questions

Does Twitter MCP work on the free Twitter API?

The home timeline tool does not work on the Free X API tier and returns a Twitter API error. The source says it needs a paid tier such as Basic or higher.

Can Twitter MCP post tweets with images?

Yes. The post_tweet tool accepts up to 4 local JPG, PNG, GIF or WEBP files through media_paths.

Where can I find the logs for Twitter MCP?

On Windows the log is at %APPDATA%\Claude\logs\mcp-server-twitter.log. On macOS it is at ~/Library/Logs/Claude/mcp-server-twitter.log.

How do I install Twitter MCP?

In Claude Code run claude mcp add twitter-mcp -- npx -y @iflow-mcp/twitter-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Twitter MCP the official server?

Twitter MCP is published by npm:@iflow-mcp from its verified domain in the official MCP Registry.

Is Twitter MCP free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Twitter MCP safe to use?

It scores 79 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Twitter MCP?

Similar MCP servers: Jitsu, Vexa, Linkedin MCP server, Netsapiens MCP.

Does Twitter MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Twitter MCP Install

Add to stack

Loading.