Skip to main content
Glama
NakanoSanku

grok-web-search-mcp

by NakanoSanku

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GROK_MODELNoModel name. Also accepts XAI_MODEL.grok-4.5
GROK_API_KEYYesYour xAI API key. Also accepts XAI_API_KEY or GROK_WEB_SEARCH_API_KEY.
GROK_TIMEOUTNoRequest timeout in seconds.120
GROK_BASE_URLNoBase URL for the xAI API. Also accepts XAI_BASE_URL or GROK_WEB_SEARCH_BASE_URL.https://api.x.ai/v1
GROK_REASONING_EFFORTNoDefault thinking length for reasoning models: low, medium, high. Also accepts XAI_REASONING_EFFORT.high
GROK_ENABLE_IMAGE_UNDERSTANDINGNoAnalyze images on browsed pages and X posts.true

Capabilities

Features and capabilities supported by this server

CapabilityDetails
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

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NakanoSanku/grok-web-search-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server