grok-live-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Logging verbosity (always written to stderr). | INFO |
| XAI_API_KEY | Yes | Your xAI API key. | |
| XAI_BASE_URL | No | xAI OpenAI-compatible base URL. | https://api.x.ai/v1 |
| XAI_DEFAULT_MODEL | No | Default model for ask_grok_realtime and search_x_posts. | grok-4.3 |
| XAI_REASONING_MODEL | No | Default model for grok_code_reasoning. | grok-4.7 |
| XAI_TIMEOUT_SECONDS | No | HTTP request timeout in seconds. | 120 |
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
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ask_grok_realtimeA | Query Grok with real-time Web Search and/or X Search via xAI's Responses API. Args: query: Question or research prompt requiring up-to-date information. search_mode: Which live search tools to enable ("both", "web", or "x"). model: Optional xAI model ID (defaults to XAI_DEFAULT_MODEL / grok-4.3). allowed_domains: Restrict web search to at most 5 domains (mutually exclusive with excluded_domains). excluded_domains: Exclude up to 5 domains from web search. from_date: Optional X search start date in YYYY-MM-DD format (UTC). to_date: Optional X search end date in YYYY-MM-DD format (UTC, exclusive). |
| search_x_postsA | Search real-time public posts, threads, and sentiment on X (Twitter) via Grok. Args: query: Topic, keywords, or question to investigate on X. model: Optional xAI model ID (defaults to XAI_DEFAULT_MODEL / grok-4.3). allowed_x_handles: Only search posts from these X handles (max 20, with or without '@'). excluded_x_handles: Ignore posts from these X handles (max 20, mutually exclusive with allowed_x_handles). from_date: Start date in YYYY-MM-DD format (00:00 UTC). to_date: End date in YYYY-MM-DD format (exclusive, 00:00 UTC). enable_image_understanding: Allow Grok to inspect images attached to X posts. enable_video_understanding: Allow Grok to inspect videos attached to X posts. |
| grok_code_reasoningA | Use Grok's frontier reasoning model for debugging, architecture review, or quantitative analysis. Args: prompt: Code snippet, bug report, math/data problem, or architecture question. model: Optional xAI model ID (defaults to XAI_REASONING_MODEL / grok-4.7). enable_code_interpreter: Allow Grok to execute Python on xAI's server-side sandbox to verify calculations. enable_web_search: Also enable live web search (e.g., to verify latest library APIs or CVEs). |
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 3 tools
Each tool has a clear primary domain: X post search, general real-time web/X research, and code/math reasoning. The main ambiguity is that ask_grok_realtime with search_mode='x' overlaps with search_x_posts, though the latter is more specialized with X handle filters and sentiment focus.
All names use snake_case and are readable, but the pattern is mixed: two begin with verbs (search_x_posts, ask_grok_realtime) while grok_code_reasoning is a noun phrase. The deviation is minor but keeps it from a fully predictable verb_noun convention.
Three tools is a reasonably tight surface for a focused Grok live-search and reasoning server, and each tool covers a distinct capability. It is slightly minimal but not obviously missing a tool that would justify a larger set.
The server covers its apparent core: X post search, live web/X research, and code-oriented reasoning. Minor gaps exist, such as no dedicated single-post retrieval or general non-search Grok chat tool, but agents can work around these via the provided tools.