Grok Search MCP Server

MCP Server for Grok Search API integration with comprehensive search capabilities

Local serverstdio

What is the Grok Search MCP Server?

MCP Server for Grok Search API integration with comprehensive search capabilities

The short version

A robust MCP (Model Context Protocol) server that provides comprehensive web search and analysis capabilities using xAI's Grok API.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
grok_searchGeneral-purpose search tool with configurable search types and analysis modes.
grok_web_searchSearch general web content with comprehensive analysis support.
grok_news_searchSearch for recent news with comprehensive timeline and context analysis.
grok_twitter
health_check

How to install the Grok Search MCP Server

{
  "mcpServers": {
    "grok-search": {
      "command": "npx",
      "args": ["-y", "Compatible"],
      "env": {
        "XAI_API_KEY": "your-value",
        "GROK_TIMEOUT": "your-value",
        "GROK_MAX_RETRIES": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
XAI_API_KEYCredential the server authenticates with.Yes
GROK_TIMEOUTConfiguration value read at startup.Optional
GROK_MAX_RETRIESConfiguration value read at startup.Optional

Example prompts to try

  • “Use Grok Search MCP to grok search.”
  • “Use Grok Search MCP to grok web search.”
  • “Use Grok Search MCP to grok news search.”

Frequently asked questions

MCP Server for Grok Search API integration with comprehensive search capabilities Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.