Twikit

Social mediaData and AI

A Model Context Protocol (MCP) server for interacting with Twitter.

Your AI app calls the Twikit MCP server, which does the social media and data and AI work and sends the result back to the chat.

About Twikit

Twikit is a community MCP server from adhikasp, filed in our directory under social media and data and ai. A Model Context Protocol (MCP) server for interacting with Twitter.

Twikit runs on your own machine: your AI app starts it with the command npx -y @smithery/cli and talks to it over standard input and output.

At a glance

Publisher
adhikasp (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @smithery/cli
Written in
Python
License
MIT
GitHub stars
237

How to set up Twikit

  1. Install Node.js on the machine that runs your AI app, because Twikit starts with npx and downloads its package on first run.
  2. Check the Twikit README for keys or settings; the registry lists none that Twikit requires.
  3. Add Twikit to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Twikit tools to confirm the connection.
  5. Run one read-only task with Twikit first, and keep your app asking before each tool call until the results look right.

Twikit compared with similar servers

  • X (Twitter) MCP Server by Xquik by Xquik-dev has fewer GitHub stars than Twikit (231 against 237); both are community servers, and X (Twitter) MCP Server by Xquik runs as a remote server and Twikit runs on your own machine.
  • Reddit Research by dialog-tools has more GitHub stars than Twikit (273 against 237); both are community servers, and Reddit Research runs as a remote server and Twikit runs on your own machine.
  • LinkedIn (eliasbiondo) by eliasbiondo has fewer GitHub stars than Twikit (225 against 237); both are community servers, and both run locally.

Before you connect Twikit

  • Give Twikit its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Twikit tool call until you trust what it does with them.
  • Treat text that Twikit fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Twikit on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Twikit

How marketing and sales teams put Twikit to work, by company size. Pick the size closest to yours and start Twikit on one use case.

Small business

  • A solo marketer can use Twikit to draft a week of posts from one idea and check what performed last month before planning the next.
  • Local businesses can ask Twikit which posts drove comments and follows, then do more of what worked instead of posting on guesswork.
  • A small team can use Twikit to clean and enrich a lead list or a spreadsheet in one pass, instead of hours of copy and paste.
  • Twikit runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Social teams can connect Twikit to pull engagement across accounts into one weekly summary their leads actually read.
  • Demand gen teams can use Twikit to spot posts that earned replies from target accounts and hand those names to sales.
  • Marketing ops can connect Twikit to enrich and score inbound leads, so sales sees fit and intent before the first call.
  • Start Twikit on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise brands can route Twikit drafts through legal and brand review, with publishing kept to approved people and every post logged.
  • Large social teams can use Twikit for listening across regions, surfacing complaints and trends to the right owner without a manual sweep.
  • Enterprises can run Twikit inside their own cloud and data boundary, so models and data stay where governance requires.
  • Twikit is a community server, so have security review the code and pin a version before Twikit touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Twikit README

From adhikasp/mcp-twikit on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

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:

npx -y @smithery/cli install mcp-twikit --client claude
Manual Installation
{
    "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?

Questions about Twikit

What is the Twikit MCP server?

A Model Context Protocol (MCP) server for interacting with Twitter. Twikit is maintained by adhikasp on GitHub at adhikasp/mcp-twikit, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Twikit MCP server?

Add Twikit to your AI app's MCP config with the command npx -y @smithery/cli. In Claude Code, run claude mcp add --transport stdio twikit -- npx -y @smithery/cli. To run Twikit this way you need Node.js installed.

Does Twikit need an API key?

The registry lists no required keys for Twikit. Check the Twikit README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Twikit an official MCP server?

No. Twikit is a community server maintained by adhikasp. Community servers can be excellent; read the code and the open issues before you give Twikit access to company data.

What license is Twikit under?

Twikit is released under the MIT license, according to its GitHub repository. The license covers the code of Twikit; the service it connects to has its own terms.