twitter-mcp

This repository provides an MCP server that allows Claude to interact with Twitter, enabling it to post tweets and search for tweets using Twitter's API. This repository provides an MCP

193
11

Twitter MCP Server

smithery badge

This MCP server enables Claude to interact with Twitter, allowing it to post tweets and search for tweets.

<a href="https://glama.ai/mcp/servers/dhsudtc7cd"> <img width="380" height="200" src="https://glama.ai/mcp/servers/dhsudtc7cd/badge" alt="Twitter Server MCP server" /> </a>

Quick Start

To begin, create a Twitter Developer account to obtain your API keys. Next, configure Claude Desktop by adding the provided JSON configuration to your claude_desktop_config.json file, located in %APPDATA%\Claude\ (Windows) or ~/Library/Application Support/Claude/ (macOS). Insert your API keys into the env section of the configuration. Restart Claude Desktop to enable the post_tweet and search_tweets tools.

Example Usage

You can ask Claude to "post a tweet saying 'Hello from Claude!'" or "search for tweets about Claude AI?".

Troubleshooting

Logs are located in %APPDATA%\Claude\logs\mcp-server-twitter.log (Windows) or ~/Library/Logs/Claude/mcp-server-twitter.log (macOS).

Development

To contribute or run from source, clone the repository, install dependencies using npm install, build with npm run build, and run with npm start.

License

MIT

Repository

EN
EnesCinr

EnesCinr/twitter-mcp

Created

December 11, 2024

Updated

March 28, 2025

Language

TypeScript

Category

Communication