grok-web-search-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GROK_MODEL | No | Model name. Also accepts XAI_MODEL. | grok-4.5 |
| GROK_API_KEY | Yes | Your xAI API key. Also accepts XAI_API_KEY or GROK_WEB_SEARCH_API_KEY. | |
| GROK_TIMEOUT | No | Request timeout in seconds. | 120 |
| GROK_BASE_URL | No | Base URL for the xAI API. Also accepts XAI_BASE_URL or GROK_WEB_SEARCH_BASE_URL. | https://api.x.ai/v1 |
| GROK_REASONING_EFFORT | No | Default thinking length for reasoning models: low, medium, high. Also accepts XAI_REASONING_EFFORT. | high |
| GROK_ENABLE_IMAGE_UNDERSTANDING | No | Analyze images on browsed pages and X posts. | true |
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": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| web_searchA | Live web and X search via Grok. Returns ok, text (answer), citations (URL list). Optional images: public URL, data:image/...;base64,..., or local file path (max 5) to ask about a picture while searching. Supports web domain filters, X handle/date filters, and reasoning_effort (low/medium/high). Image understanding applies to browsed pages and X posts; video understanding applies to X posts only. |
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
Only one tool exists, so there is no possibility of confusion or overlap with other tools.
With a single tool, naming consistency is inherently perfect as there is no pattern to break.
A single tool is slightly minimal but reasonably scoped for a focused web search server, as the tool itself is comprehensive.
The tool covers web search, X search, image understanding, domain and date filters, and reasoning effort, leaving no obvious gaps for its stated purpose.