# mcp-twikit

> mcp-twikit is an open-source MCP server for ai models and llm tooling. MCP server that lets AI clients search Twitter and read your timeline. It is available on API, CLI and Self-hosted.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** API, CLI, Self-hosted
- **Repository:** https://github.com/adhikasp/mcp-twikit
- **GitHub stars:** 237
- **License:** MIT
- **Categories:** [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm), [social and gratitude](https://ai-powered.com/categories/social-and-gratitude), [social media analytics](https://ai-powered.com/categories/social-media-analytics)
- **Listing updated:** 2026-12-01

## About

Wraps the Twikit Python library as a Model Context Protocol server, so an AI client can run Twitter searches and pull posts from a signed-in home timeline. Credentials for the account are supplied through environment variables when the server is launched.

The README shows it driving a command-line LLM client: one search per account, with results summarised and compared. That makes it a fit for sentiment checks on brands or public accounts and for quick catch-ups on what a feed is discussing.

It is aimed at developers and power users who already use an MCP-capable client and want Twitter data available inside that conversation. Installation is via uvx from the Git repository or through the Smithery registry.

## Features

- **Twitter search tool:** Runs keyword or account-directed searches and returns a set of recent posts, sortable by latest.
- **Home timeline access:** Retrieves the latest posts from the timeline of the signed-in account.
- **Environment-based sign-in:** Takes the Twitter username, email and password from environment variables set in the client configuration.
- **Smithery installation:** Can be installed into Claude Desktop with a single Smithery CLI command.
- **Works with MCP clients:** Exposes its tools over the Model Context Protocol so any compatible AI client can call them.

## Good for

- Measure public sentiment about a brand by searching recent posts directed at its account
- Summarise what is trending on a personal timeline inside an AI chat
- Compare reactions across several competitor accounts in one request
- Gather recent posts on a topic for research or monitoring

## Tools

From the tool list in its README, going by the names, all 2 tools only read data. From the server's own tool labels and tool names; not verified by us.

- `search_twitter` (name suggests: reads): Searches Twitter for posts matching a query, with a count and sort order.
- `get_timeline` (name suggests: reads): Retrieves the latest posts from the signed-in account's home timeline.

## FAQ

### How is the server started?

Manual setup uses uvx to run it from the GitHub repository, with the Twitter credentials passed as environment variables. It can also be installed through Smithery.

### Which tools does mcp-twikit expose?

The README demonstrates search_twitter and get_timeline.

### What does a search return?

A requested number of recent posts for a query, which can be sorted by latest.

### Is mcp-twikit free?

Yes. mcp-twikit is open source, so you can use and self-host it for free.

### What are the best alternatives to mcp-twikit?

The closest alternatives to mcp-twikit are TwtAPI, TweetAPI MCP, XTapDown, Shippost MCP and AIsa X / Twitter.

## Where this comes from

- Description: written from the project's README.

## Alternatives

- [TwtAPI](https://ai-powered.com/mcp/twtapi): TwtAPI is a freemium MCP server for ai models and llm tooling.
- [TweetAPI MCP](https://ai-powered.com/mcp/tweetapi-mcp): TweetAPI MCP is a freemium MCP server for developer tools.
- [XTapDown](https://ai-powered.com/mcp/xtapdown): XTapDown is an open-source MCP server for design and media.
- [Shippost MCP](https://ai-powered.com/mcp/shippost-mcp): Shippost MCP is an open-source MCP server for social and gratitude.
- [AIsa X / Twitter](https://ai-powered.com/mcp/aisa-x-twitter): AIsa X / Twitter is a freemium MCP server for social and gratitude.
- [Twitter](https://ai-powered.com/mcp/twitter): Twitter is a freemium MCP server for social media analytics.
- [X MCP Ai](https://ai-powered.com/mcp/x-mcp-ai): X MCP Ai is an open-source MCP server for social and gratitude.
- [Instagram Profile MCP Server](https://ai-powered.com/mcp/instagram-profile-mcp-server): Instagram Profile MCP Server is a freemium MCP server for ai models and llm tooling.

---
Source: https://ai-powered.com/mcp/mcp-twikit
