Interact with Twitter search and timeline
Harness the power of Twitter data directly within your Large Language Model (LLM) applications using MCP-Twikit, a robust Model Context Protocol (MCP) server designed for seamless integration and real-time insights.
MCP-Twikit bridges the gap between LLMs and the dynamic world of Twitter, enabling you to:
Choose the installation method that best suits your workflow:
For users of Claude Desktop, Smithery offers a one-click installation experience:
npx -y @smithery/cli install mcp-twikit --client claude
This command automatically configures MCP-Twikit for seamless integration with your Claude environment.
For advanced users who require greater control over the configuration process, manual installation provides flexibility and customization:
{ "mcpServer": { "command": "uvx", "args": ["--from", "git+https://github.com/adhikasp/mcp-twikit", "mcp-twikit"], "env": { "TWITTER_USERNAME": "@example", "TWITTER_EMAIL": "[email protected]", "TWITTER_PASSWORD": "secret", } } }
Important Considerations:
@example
, [email protected]
, and secret
with your actual Twitter credentials.uvx
) installed in your environment.MCP-Twikit empowers you to perform sophisticated Twitter analysis with ease. Here are a few examples using mcp-client-cli:
$ llm compare 20 latest tweet directed @IndiHomeCare, @di_cbn, @BiznetHome, @ID_MyRepublic. What are people sentiment to the product? Do 1 search for each account
LLM Output:
I'll help you analyze the latest tweets for these internet service providers in Indonesia to understand the public sentiment. I'll use the search_twitter function for each account.
Tool Calls:
search_twitter
Args:
query: to:IndiHomeCare
count: 20
sort_by: Latest
Tool Calls:
search_twitter
Args:
query: to:di_cbn
count: 20
sort_by: Latest
Tool Calls:
search_twitter
Args:
query: to:BiznetHome
count: 20
sort_by: Latest
Tool Calls:
search_twitter
Args:
query: to:ID_MyRepublic
count: 20
sort_by: Latest
Sentiment Analysis Summary:
1. IndiHomeCare:
- Predominantly Negative Sentiment
- Key Issues:
- Unstable internet connection
- Slow response times
- Intermittent service disruptions
- Long waiting times for customer support
- Specific Complaints:
- Network instability
- Lagging internet
- Unresolved technical issues
- Lack of timely communication
2. CBN (di_cbn):
- Mostly Negative Sentiment
- Key Issues:
- Prolonged internet outages (some reporting 1-2 days of no service)
- Slow customer support response
- Lack of clear communication about service disruptions
- Specific Complaints:
- LOS (Line of Sight) issues
- No timely resolution of technical problems
- Delayed email and support responses
3. BiznetHome:
- Strongly Negative Sentiment
- Key Issues:
- Frequent network interruptions
- Slow internet speeds
- Poor customer support responsiveness
- Specific Complaints:
- Packet loss
- Inconsistent connection
- Long download times
- Unresolved technical issues
4. MyRepublic (ID_MyRepublic):
- Extremely Negative Sentiment
- Key Issues:
- Severe and prolonged service disruptions
- Complete internet outages
- Inability to access online services and games
- Extremely poor customer support
- Specific Complaints:
- Multi-day service interruptions
- Inability to access websites and online games
- Missed technician appointments
- Lack of compensation or clear communication
Overall Sentiment Ranking (from Bad to Worst):
1. IndiHomeCare (Bad)
2. CBN (Worse)
3. BiznetHome (Very Bad)
4. MyRepublic (Extremely Bad)
Common Themes Across Providers:
- Poor network stability
- Slow customer support response
- Lack of transparent communication
- Prolonged service interruptions
- Unresolved technical issues
Recommendation: These Indonesian internet service providers are experiencing significant customer satisfaction issues. Customers are frustrated with unreliable services, poor technical support, and lack of timely problem resolution.
Expert Commentary: This example demonstrates the power of MCP-Twikit to perform comparative sentiment analysis across multiple entities. The LLM effectively identifies key issues and provides a ranked assessment of customer sentiment, offering valuable insights for businesses.
$ llm what is happening on my twitter timeline?
LLM Output:
I'll help you check your Twitter timeline. I'll retrieve the latest tweets from your timeline:
Tool Calls:
get_timeline
Args:
I'll summarize the key highlights from your Twitter timeline:
1. Professional/Tech Highlights:
- @ibamarief is preparing to onboard their first intern, noting it's a significant responsibility
- @papanberjalan shared a critique about web developers not understanding computer performance
- @pathofexile is running a Twitch Drops promotion for their game
2. Notable Tweets:
- @elonmusk posted a cryptic "Hmm"
- @realDonaldTrump discussed eliminating Daylight Saving Time
- @blinkist shared an article about billionaires reading up to 50 books per year
3. Miscellaneous Interesting Tweets:
- @nealtaparia shared a thread about 11 companies built around a single product
- @Rixhabh__ posted about creative and iconic ads
- Several tweets in Indonesian covering various topics from personal stories to social issues
Would you like me to elaborate on any of these tweets or provide more context about any specific post?
Expert Commentary: This example showcases MCP-Twikit's ability to provide a concise summary of your Twitter timeline, highlighting key themes and notable tweets. This is invaluable for staying informed and identifying relevant information within the constant stream of social media updates.
MCP-Twikit empowers you to seamlessly integrate Twitter data into your LLM applications, unlocking a wealth of real-time insights and enabling you to build more intelligent and responsive AI solutions. Whether you're a data scientist, a software developer, or a business professional, MCP-Twikit provides the tools you need to harness the power of Twitter for your specific needs.
๐ VOYP Voice Over Your Phone MCP Server for making calls.
๐ An MCP server with openAPI specs for using the WhatsApp unnoficial API (https://waha.devlike.pro/ also open source: https://github.com/devlikeapro/waha
๐ ๐ JMeter MCP Server for performance testing
๐ โ๏ธ Slack workspace integration for channel management and messaging