grok-search-mcp MCP Server

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

Local serverstdioMIT

What is the grok-search-mcp Server?

grok-search-mcp is an MCP project maintained in the stat-guy/grok-search-mcp repository. The maintainer describes its purpose as “A robust MCP (Model Context Protocol) server that provides comprehensive web search and analysis capabilities using xAI's Grok API”. Read the project documentation for the complete scope.

Installation

The documented npm package is grok-search-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares XAI_API_KEY. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

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_search
grok_web_search
grok_news_search
grok_twitter
health_check

How to install the grok-search-mcp Server

{
  "mcpServers": {
    "grok-search": {
      "command": "npx",
      "args": [
        "grok-search-mcp"
      ],
      "env": {
        "XAI_API_KEY": "YOUR_XAI_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
XAI_API_KEYDeclared in the maintainer’s client configuration.Yes