MCP-Twikit

MCP-Twikit

A Model Context Protocol server for Twitter search and interaction.

211
Stars
27
Forks
211
Watchers
7
Issues
MCP-Twikit is an MCP-compliant server that enables interaction with the Twitter platform via the Model Context Protocol. It supports functions such as searching tweets, analyzing sentiments across accounts, and retrieving a user's Twitter timeline. The tool is designed for integration with AI clients to facilitate structured, context-aware access to Twitter data.

Key Features

Implements Model Context Protocol server for Twitter
Enables tweet search by queries and accounts
Performs sentiment analysis on tweets
Retrieves home timeline data
Supports AI tool integration via standardized MCP
Secure login with Twitter credentials via environment variables
Command-line and Smithery-based installation
Structured tool call interface for function invocation
Compatible with mcp-client-cli
Configurable parameters for flexible Twitter data access

Use Cases

Analyzing public sentiment towards multiple Twitter accounts
Integrating Twitter data into AI assistant workflows
Automated monitoring of brand or product-related tweets
Performing large-scale social media research through MCP clients
Real-time timeline retrieval for personalized AI recommendations
Generating context-aware responses using live Twitter data
Comparing sentiment trends across different organizations
Supporting customer feedback analysis for service providers
Providing social listening tools within AI chat environments
Enabling hands-free, programmatic access to Twitter through MCP

README

MCP-Twikit

smithery badge 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:

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

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?

Star History

Star History Chart

Repository Owner

adhikasp
adhikasp

User

Repository Details

Language Python
Default Branch master
Size 22 KB
Contributors 4
License MIT License
MCP Verified Nov 11, 2025

Programming Languages

Python
92.33%
Dockerfile
7.67%

Tags

Topics

llm mcp model-context-protocol

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • Twitter MCP Server

    Twitter MCP Server

    Programmatic Twitter account management via an MCP-compliant server.

    Twitter MCP Server enables programmatic management of Twitter accounts with features such as retrieving home timelines, fetching user tweets, conducting hashtag searches, handling direct messages, and performing tweet creation or deletion. The server appears designed for integration into multi-channel platforms following the Model Context Protocol. It requires Python 3.11+, utilizes environment configuration for credentials, and offers an API-driven interface for various Twitter operations.

    • 47
    • MCP
    • LuniaKunal/mcp-twitter
  • TickTick MCP

    TickTick MCP

    MCP server for AI-powered TickTick task management integration

    TickTick MCP is a Model Context Protocol (MCP) server that enables standardized integration of TickTick's task management features with AI assistants and developer applications. It allows programmatic access to create, update, retrieve, complete, or delete tasks and projects in TickTick via Python. Using this MCP server, AI systems can leverage TickTick's API to help automate and manage user's to-do lists and projects through natural language or other interfaces.

    • 6
    • MCP
    • ekkyarmandi/ticktick-mcp
  • tavily-search MCP server

    tavily-search MCP server

    A search server that integrates Tavily API with Model Context Protocol tools.

    tavily-search MCP server provides an MCP-compliant server to perform search queries using the Tavily API. It returns search results in text format, including AI responses, URLs, and result titles. The server is designed for easy integration with clients like Claude Desktop or Cursor and supports both local and Docker-based deployment. It facilitates AI workflows by offering search functionality as part of a standardized protocol interface.

    • 44
    • MCP
    • Tomatio13/mcp-server-tavily
  • TickTick MCP Server

    TickTick MCP Server

    Enable powerful AI-driven task management for TickTick via the Model Context Protocol.

    TickTick MCP Server provides comprehensive programmatic access to TickTick task management features using the Model Context Protocol. Built on the ticktick-py library, it enables AI assistants and MCP-compatible applications to create, update, retrieve, and filter tasks with improved precision and flexibility. The server supports advanced filtering, project and tag management, subtask handling, and robust context management for seamless AI integration.

    • 35
    • MCP
    • jen6/ticktick-mcp
  • TikTok MCP

    TikTok MCP

    Integrate TikTok video analysis and search into AI systems via the Model Context Protocol.

    TikTok MCP enables integration of TikTok video access and analysis into AI applications such as Claude AI using the Model Context Protocol. It provides tools to extract subtitles, retrieve video details, and search TikTok content, facilitating contextual understanding for models. Built on Node.js and requiring a TikNeuron API key, it offers seamless connectivity between AI systems and TikTok's data. The tool supports retrieving metadata, engagement metrics, and advanced search with pagination capabilities.

    • 112
    • MCP
    • Seym0n/tiktok-mcp
  • Macrocosmos MCP

    Macrocosmos MCP

    Official Model Context Protocol server for real-time social and video data integration.

    Macrocosmos MCP is the official server implementation of the Model Context Protocol (MCP). It connects AI clients with real-time data from platforms like X, Reddit, and YouTube, powered by Data Universe (SN13) on Bittensor. The server enables MCP-compatible clients to fetch social media and video transcript data for enhanced contextual understanding. It supports integration with tools such as Claude Desktop, Cursor, Windsurf, and OpenAI Agents.

    • 24
    • MCP
    • macrocosm-os/macrocosmos-mcp
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results