Twitter Marketing MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Twitter Marketing MCPAnalyze @levelsio's Twitter account"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Twitter Marketing MCP
MCP (Model Context Protocol) server for Twitter/X marketing automation. Gives your AI assistant (Claude, Cline, etc.) real-time Twitter superpowers.
✅ What it does
Free features (Twitter API v2 free tier or Nitter):
🔍
search_tweets— search recent tweets by keyword, hashtag, or user👤
analyze_account— analyze any Twitter account: followers, bio, tweet frequency📈
find_trending— discover trending topics and hashtags
Premium features (GitHub Sponsors):
🤖
generate_tweet— AI tweet generator (uses DeepSeek API)⏰
schedule_tweet— auto-schedule for optimal engagement📊
track_metrics— marketing KPI dashboard
Related MCP server: Apex MCP for X Management
🚀 Quick Start
npm install
npm startAdd to your MCP client (Claude Desktop / Cline / etc.):
{
"mcpServers": {
"twitter-marketing": {
"command": "node",
"args": ["/path/to/twitter-marketing-mcp/index.js"],
"env": {
"TWITTER_BEARER_TOKEN": "your-token-here"
}
}
}
}🔑 Getting a Twitter API v2 Token (free)
Create a new app (free tier)
Generate a Bearer Token
Add it to your
.envfile:TWITTER_BEARER_TOKEN=AAAAAAAAxxxxxxxxxx
Free tier limits: 10,000 tweets/month (read-only). Enough for research.
🌏 China Users (Twitter is blocked)
Set a proxy in .env:
HTTP_PROXY=http://127.0.0.1:7890
HTTPS_PROXY=http://127.0.0.1:7890Or use a VPN before running the server.
🔑 Premium Features
Pick a tier ($5 / $10 / $25 per month)
You'll receive a
LICENSE_KEYAdd it to your
.envfile:LICENSE_KEY=your-license-key(Optional) Add DeepSeek API key for AI tweet generation:
DEEPSEEK_API_KEY=sk-xxx
📖 Example Usage (in Claude / Cline)
Search Twitter for "#indiehackers" — what are people talking about?Analyze @levelsio's Twitter account — how often does he tweet?What's trending on Twitter right now?[Premium] Generate a tweet about my SaaS tool — make it viral style.🛠️ Tech Stack
@modelcontextprotocol/sdk— MCP protocolnode-fetch— HTTP requestsTwitter API v2 (free tier for reading)
Nitter (fallback for users without API key)
DeepSeek API (optional, for AI tweet generation)
🤝 Contributing
PRs welcome! Especially:
Better Nitter HTML parsing (add
cheeriodependency)More Twitter API endpoints
Better AI tweet generation prompts
Support for more LLM providers
📄 License
MIT — free to use, modify, and distribute.
⭐ Support
If this tool helps you grow on Twitter, please:
⭐ Star this repo
Made with ❤️ by wangchenji
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/1036007003-wq/twitter-marketing-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server