https://github.com/adhikasp/mcp-twikit
A Model Context Protocol (MCP) server for interacting with Twitter.
https://github.com/adhikasp/mcp-twikit
llm mcp model-context-protocol
Last synced: 6 months ago
JSON representation
A Model Context Protocol (MCP) server for interacting with Twitter.
- Host: GitHub
- URL: https://github.com/adhikasp/mcp-twikit
- Owner: adhikasp
- License: mit
- Created: 2024-12-15T03:37:27.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2025-03-14T14:35:31.000Z (8 months ago)
- Last Synced: 2025-04-16T18:48:47.786Z (7 months ago)
- Topics: llm, mcp, model-context-protocol
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 142
- Watchers: 1
- Forks: 21
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- StarryDivineSky - adhikasp/mcp-twikit - twikit,一个用于与Twitter交互的Model Context Protocol (MCP)服务器。它允许用户通过MCP协议与Twitter进行交互,可能涉及数据获取、推文发布等操作。具体实现细节和功能需要进一步研究项目代码才能了解,例如支持哪些Twitter API,如何处理身份验证,以及MCP协议的具体使用方式。该项目可能提供了一个抽象层,简化了与Twitter API的交互过程,并允许将Twitter集成到更大的MCP生态系统中。 (A01_文本生成_文本对话 / 大语言对话模型及数据)
- awesome-mcp-list - adhikasp/mcp-twikit - twikit?style=social)](https://github.com/adhikasp/mcp-twikit): Accesses Twitter search and timeline data. (Uncategorized / Uncategorized)
- awesome-mcp-zh - adhikasp/mcp-twikit
- best-of-mcp-servers - GitHub
- awesome-mcp-servers - adhikasp/mcp-twikit - Interact with Twitter search and timeline (Legend / 💬 <a name="communication"></a>Communication)
- awesome-mcp-servers - adhikasp/mcp-twikit - Interact with Twitter search and timeline (Legend / 💬 <a name="communication"></a>Communication)
- awesome-mcp-servers - **mcp-twikit** - A Model Context Protocol (MCP) server for interacting with Twitter. `python` `llm` `mcp` `model-context-protocol` `server` `pip install git+https://github.com/adhikasp/mcp-twikit` (🤖 AI/ML)
- awesome-mcp-servers - **mcp-twikit** - A Model Context Protocol (MCP) server for interacting with Twitter. `python` `llm` `mcp` `model-context-protocol` `server` `pip install git+https://github.com/adhikasp/mcp-twikit` (AI/ML)
- awesome-mcp-servers - Twikit - A Model Context Protocol (MCP) server for interacting with Twitter. (Table of Contents / Social Media)
- awesome-mcp - adhikasp/mcp-twikit - Interact with Twitter search and timeline (MCP Servers / 💬 Communication)
- metorial-index - Twikit Twitter Search - Search and analyze Twitter data integration using the Model Context Protocol, facilitating access to various Twitter data for analysis and insights. (Web Search)
README
# MCP-Twikit
[](https://smithery.ai/server/mcp-twikit)
A Model Context Protocol (MCP) server for interacting with Twitter.
## Installation
### Installing via Smithery
To install Twikit Twitter Search for Claude Desktop automatically via [Smithery](https://smithery.ai/server/mcp-twikit):
```bash
npx -y @smithery/cli install mcp-twikit --client claude
```
### Manual Installation
```json
{
"mcpServer": {
"command": "uvx",
"args": ["--from", "git+https://github.com/adhikasp/mcp-twikit", "mcp-twikit"],
"env": {
"TWITTER_USERNAME": "@example",
"TWITTER_EMAIL": "me@example.com",
"TWITTER_PASSWORD": "secret",
}
}
}
```
## Example usage
Using [mcp-client-cli](https://github.com/adhikasp/mcp-client-cli)
### Comparing sentiments across different twitter accounts
```
$ 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
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.
```
### Getting tweets from your home timeline
```
$ llm what is happening on my twitter timeline?
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?
```