Skip to main content
Glama
x-search-mcp

x-search-mcp

by Scoheart

@scoheart/x-search-mcp

License: MIT

Independent Model Context Protocol (MCP) server providing real-time x_search capabilities using xAI's responses API, inspired by Nous Research's Hermes Agent.

Quick Start

Installation

git clone https://github.com/Scoheart/x-search-mcp.git
cd x-search-mcp
npm install
npm run build

Authentication

Choose between direct API Key or Subscription OAuth:

# 1. Using API Key
export XAI_API_KEY="xai-your-api-key"

# 2. Or using Grok Subscription via Device Code OAuth
node bin/x-search-mcp.js auth login

Run Server

# stdio MCP server for agent clients (Claude Desktop, Cursor, Cline, etc.)
node bin/x-search-mcp.js

See TOOL.md for full Chinese documentation, parameters, and configuration options.

Related MCP server: grok-mcp-server

License

MIT © Scoheart
See THIRD_PARTY_NOTICES.md for third-party notices (Hermes Agent).

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Enables searching X (formerly Twitter) using xAI's Responses API with support for filtering by handles, date ranges, and media understanding, returning structured results with citations.
    1
    7 npm
    1
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables real-time search of X (Twitter) posts, user timelines, and trends using either xAI's Responses API or the official X API v2.
    4
    -
  • A
    license
    A
    quality
    D
    maintenance
    Enables searching X (Twitter) posts, discussions, trends, and web content via Grok API using natural language.
    3
    7 npm
    1
    MIT