Social Media · Search Tools

twitter-X-mcp-server logo

twitter-X-mcp-server

0xGval/twitter-X-mcp-server

A lightweight, open-source toolkit that enables Claude to search Twitter efficiently with natural language and display results based on user intent. Designed for both raw data viewing and optional analysis.

Install

Client configuration

{
  "mcpServers": {
    "x-tools": {
      "command": "node",
      "args": [
        "YOUR_ABSOLUTE_PATH_TO/main.js"
      ],
      "env": {
        "RAPIDAPI_KEY": "<RAPIDAPI_KEY>"
      }
    }
  }
}

Environment variables

RAPIDAPI_KEY
GitHub stars
1
Author
@0xGval
Category
Social Media, Search Tools
License
MIT
Updated
Oct 6, 2026

Features

  • Natural Language Search: Ask Claude to search Twitter in plain English

  • Twitter Search: Search tweets using natural language or advanced Twitter syntax

  • Professional Formatting: Clean, markdown-formatted tweet display

  • Flexible Output: Display raw tweets or add analysis based on what you ask for

  • Advanced Filtering: Find tweets by keywords, users, dates, engagement metrics, and more

  • Pagination Support: Retrieve more than the default 20 tweets per search when needed

Tools (17)

  • query

    Search query (supports Twitter's advanced search operators)

  • section

    "latest" or "top" results (default: "latest")

  • main.js

    The main application file

  • tools/twitter.js

    The Twitter search implementation

  • claude-rules.md

    Instructions for Claude to display search results appropriately

  • knowledge/TwitterSearchSyntaxGuide.txt

    Reference guide for Twitter search syntax

  • from:username

    Tweets sent by a specific account

  • to:username

    Replies to a specific account

  • filter:media

    Tweets with any media

  • filter:images

    Tweets with images

  • filter:native_video

    Tweets with videos

  • filter:links

    Tweets with links

  • since:YYYY-MM-DD

    Tweets after this date

  • until:YYYY-MM-DD

    Tweets before this date

  • min_retweets:n

    Tweets with at least n retweets

  • min_faves:n

    Tweets with at least n likes

  • min_replies:n

    Tweets with at least n replies

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS

Related MCP servers

More servers
RedNote-MCP logo

RedNote-MCP

ifuryst/rednote-mcp

385

RedNote MCP is a tool providing access to Xiaohongshu content, supporting authentication management, keyword note search and command-line initialization, with note content accessible via URL.

Social Media
Twitter MCP Server logo

Twitter MCP Server

EnesCinr/twitter-mcp

195

This MCP server allows Clients to interact with Twitter, enabling posting tweets and searching Twitter.

Social Media
MCP Twikit logo

MCP Twikit

adhikasp/mcp-twikit

155

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

Social Media
Hotnews (Chinese Social) logo

Hotnews (Chinese Social)

wopal-cn/mcp-hotnews-server

92

A Model Context Protocol (MCP) server that provides real-time hot trending topics from major Chinese social platforms and news sites.

Social Media
Reddit logo

Reddit

adhikasp/mcp-reddit

63

A Model Context Protocol (MCP) server that provides tools for fetching and analyzing Reddit content.

Social Media
MCP Discord logo

MCP Discord

hanweg/mcp-discord

54

A Model Context Protocol (MCP) server that provides Discord integration capabilities to MCP clients like Claude Desktop.

Social Media