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:@enescinar

Twitter MCP lets AI assistants post tweets, search Twitter and read the home timeline through the Twitter API. It suits people with a Twitter developer account who want Claude to work with posts.

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

Install Twitter MCP

Built from the published package, never by AI.

claude mcp add twitter-mcp -- npx -y @enescinar/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 provides three tools. post_tweet posts a new tweet, optionally as a reply or with up to four local images. search_tweets searches for tweets. get_home_timeline returns recent tweets from you and the accounts you follow, newest first.

The server is launched with npx and added to the Claude Desktop config file, using API keys from the Twitter Developer Portal. The source describes it as a way for Claude to post, search and read Twitter. The home timeline tool requires a paid API tier, because it is not available on the Free tier.

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
  • Claude Desktop
  • npx to run the package

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

  • get_home_timeline is not available on the Free X API tier.
  • count accepts 1 to 100, and since_days is capped at 30.
  • Use either since_days or start_time, not both.
  • post_tweet accepts up to 4 local JPG, PNG, GIF or WEBP images.

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

Which Twitter API tier do I need?

Search and posting work with the setup in the source. The home timeline endpoint needs a paid tier, Basic or higher, and returns a Twitter API error on the Free tier.

Which images can I attach to a tweet?

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

Where can I find the server logs?

On Windows they are in %APPDATA%\Claude\logs\mcp-server-twitter.log, and on macOS in ~/Library/Logs/Claude/mcp-server-twitter.log.

How do I install Twitter MCP?

In Claude Code run claude mcp add twitter-mcp -- npx -y @enescinar/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:@enescinar 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.