Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| XAI_API_KEY | Yes | Your xAI API key obtained from the xAI Developer Portal. | |
| GROK_TIMEOUT | No | Request timeout in milliseconds (default: 30000). | 30000 |
| GROK_MAX_RETRIES | No | Maximum retry attempts (default: 3). | 3 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| grok_search | Search the web using Grok's AI-powered search capabilities. Supports both basic search results and comprehensive analysis with timelines, quotes, and multiple perspectives. |
| grok_web_search | Search general web content using Grok. Supports comprehensive analysis mode for detailed insights. |
| grok_news_search | Search for recent news using Grok. Comprehensive mode provides timeline analysis, direct quotes, and multiple perspectives on news events. |
| grok_twitter | Search Twitter/X posts using Grok's X search capabilities, optionally filtered by specific handles. Comprehensive mode analyzes social media trends and sentiment. |
| health_check | Check the health status of the Grok Search MCP server and API connectivity |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |