Skip to main content
Glama
kamellperry

x-search-mcp

by kamellperry

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
XAI_API_KEYNoOptional xAI API key for authentication when OAuth tokens are not available.
X_SEARCH_MODELNoxAI model used for the Responses API request.grok-4.5
X_SEARCH_MCP_HOMENoDirectory containing the standalone OAuth state and lock.~/.config/x-search-mcp
X_SEARCH_TIMEOUT_SECONDSNoHTTP request timeout, clamped to at least 30 seconds.180
X_SEARCH_REASONING_EFFORTNoOptional low, medium, high, or xhigh.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
x_searchA

Search current X posts, profiles, and threads using xAI's X Search.

Use this instead of general web search for current discussion or claims on X. Handle allow/exclude filters each support at most 10 handles and cannot be combined. Dates use YYYY-MM-DD. Media understanding may increase latency.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.2/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of confusion between tools. The agent will always select the correct tool for searching X content.

Naming Consistency5/5

The single tool name 'x_search' follows a clear verb_noun convention. Since there is only one tool, naming consistency is inherently perfect.

Tool Count4/5

One tool is slightly below the typical 3-15 range, but it is appropriate for a focused search service. The tool combines searching posts, profiles, and threads into a single operation, making the count reasonable.

Completeness5/5

The tool covers the full domain of searching X: posts, profiles, and threads, with support for filters and date formats. No obvious gaps exist for the stated purpose.

Maintenance

ActivitySlowing
ResponsivenessNo issues