adhikasp/mcp-twikit
Free与 Twitter 搜索和时间线交互。
FreeFree tier
About adhikasp/mcp-twikit
adhikasp/mcp-twikit is an open-source Model Context Protocol (MCP) server that enables LLM agents to interact with Twitter. It provides search and timeline features, allowing tools like Claude Desktop to search tweets, retrieve user timelines, and perform sentiment analysis. The server can be installed automatically via Smithery or configured manually, and requires Twitter credentials for authentication. An example use case demonstrates comparing customer sentiment across multiple Indonesian internet service providers by searching their latest mentions.
Key Features
Search Twitter for tweets using queries (e.g., 'to:@account')
Retrieve and analyze user timelines
Integrates with MCP clients like Claude Desktop
Supports automated installation via Smithery
Enables structured sentiment analysis from tweet data
Lightweight Python-based MCP server
Pros & Cons
Pros
- Open source and free to use
- Easy setup via Smithery or uvx command
- Directly integrates with MCP-compatible tools (e.g., Claude)
- Provides clean, structured data for AI analysis
- Example usage demonstrates real-world sentiment analysis workflow
Cons
- Requires Twitter account credentials (username, email, password)
- Limited to Twitter search and timeline interactions (no posting or DMs)
- Dependent on Twitter's API availability and rate limits
- No built-in authentication for multiple accounts
Best For
Sentiment analysis of customer feedback on TwitterComparing public opinion across different brands or accountsMonitoring social media mentions for specific topicsAutomated customer support triage based on tweet contentResearch and data collection from Twitter timelines
FAQ
How do I install MCP-Twikit?
You can install it automatically via Smithery using the command 'npx -y @smithery/cli install mcp-twikit --client claude' for Claude Desktop. Manual installation requires adding an MCP server configuration with the command 'uvx --from git+https://github.com/adhikasp/mcp-twikit mcp-twikit' and environment variables for Twitter credentials.
What functionality does MCP-Twikit provide?
It provides MCP tools to search Twitter and interact with timelines. The main tool is 'search_twitter', which accepts a query, count, and sort order. An example usage shows searching for tweets directed at specific accounts to perform sentiment analysis.