Skip to content
MCP server

mcp-twikit

MCP server that lets AI clients search Twitter and read your timeline

mcp-twikit is an open-source MCP server for ai models and llm tooling. It is available on API, CLI and Self-hosted.

Pricing
Open source
Platforms
API, CLI, Self-hosted
What it can do
Read-only
GitHub stars
237
Last commit
Language
Python

Similar MCP servers

About mcp-twikit

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.

Tools this server provides (2)

Taken from the project documentation; the running server may differ.

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_twitterName suggests: reads
Searches Twitter for posts matching a query, with a count and sort order.
get_timelineName suggests: reads
Retrieves the latest posts from the signed-in account's home timeline.

What it does

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

Pricing

Open source

mcp-twikit 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.

How AIPoweredBot checks servers