x-search-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| XAI_API_KEY | No | Optional xAI API key for authentication when OAuth tokens are not available. | |
| X_SEARCH_MODEL | No | xAI model used for the Responses API request. | grok-4.5 |
| X_SEARCH_MCP_HOME | No | Directory containing the standalone OAuth state and lock. | ~/.config/x-search-mcp |
| X_SEARCH_TIMEOUT_SECONDS | No | HTTP request timeout, clamped to at least 30 seconds. | 180 |
| X_SEARCH_REASONING_EFFORT | No | Optional 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion between tools. The agent will always select the correct tool for searching X content.
The single tool name 'x_search' follows a clear verb_noun convention. Since there is only one tool, naming consistency is inherently perfect.
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.
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.