mcp-grok-search
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-grok-searchsearch for recent advances in renewable energy"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-grok-search
English
An MCP (Model Context Protocol) server that provides real-time web search capabilities via the Grok API. Enables AI assistants like Claude to search the internet through Grok's built-in web browsing.
Features
Real-time web search powered by Grok AI
Uses the Responses API, which is the recommended path for Grok web search
grok_web_searchsupports an optionaleffortspreset:low,medium, orhighefforts=lowusesgrok-4.20-reasoningefforts=medium/highusegrok-4.20-multi-agentwith official reasoning presetsConfigurable API endpoint, model, and timeout
Stdio transport for seamless MCP integration
Quick Start
Prerequisites
Node.js >= 18
A Grok API key (get one at x.ai)
Install & Build
git clone https://github.com/Cedriccmh/mcp-grok-search.git
cd mcp-grok-search
npm install
npm run buildEnvironment Variables
Variable | Description | Default |
| (Required) Your Grok API key | — |
| API endpoint URL |
|
| Default model used when |
|
| Request timeout in ms |
|
Run
GROK_API_KEY=your-key-here npm startClaude Desktop Configuration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"grok-web-search": {
"command": "node",
"args": ["path/to/mcp-grok-search/dist/index.js"],
"env": {
"GROK_API_KEY": "your-key-here"
}
}
}
}Tech Stack
TypeScript
@modelcontextprotocol/sdk — MCP server framework
Zod — Input schema validation
License
MIT
Related MCP server: Gemini Search MCP
中文
一个基于 Grok API 的 MCP(Model Context Protocol)服务器,提供实时网络搜索能力。让 Claude 等 AI 助手能够通过 Grok 内置的网页浏览功能搜索互联网。
特性
基于 Grok AI 的实时网络搜索
使用 Responses API,符合 Grok 当前推荐的搜索接入方式
grok_web_search工具支持可选的efforts预设:low、medium、highefforts=low使用grok-4.20-reasoningefforts=medium/high使用grok-4.20-multi-agent和官方推荐的reasoning.effort可配置 API 端点、模型和超时时间
Stdio 传输,无缝对接 MCP 协议
快速开始
前置要求
Node.js >= 18
Grok API 密钥(在 x.ai 获取)
安装与构建
git clone https://github.com/Cedriccmh/mcp-grok-search.git
cd mcp-grok-search
npm install
npm run build环境变量
变量 | 说明 | 默认值 |
| (必填) Grok API 密钥 | — |
| API 端点 URL |
|
| 不传 |
|
| 请求超时时间(毫秒) |
|
运行
GROK_API_KEY=your-key-here npm startClaude Desktop 配置
将以下内容添加到 claude_desktop_config.json:
{
"mcpServers": {
"grok-web-search": {
"command": "node",
"args": ["path/to/mcp-grok-search/dist/index.js"],
"env": {
"GROK_API_KEY": "your-key-here"
}
}
}
}技术栈
TypeScript
@modelcontextprotocol/sdk — MCP 服务端框架
Zod — 输入参数校验
许可证
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- Alicense-qualityDmaintenanceEnables AI models to search the web for current information before generating responses, with features for conditional searching, geographic customization, and automatic citations.Last updated1MIT
- AlicenseBqualityDmaintenanceEnables AI-powered web searches using Google's Gemini 2.5 models with Google Search Grounding. Supports multiple Gemini models (Flash, Flash-Lite, Pro) with configurable thinking budget and web search capabilities.Last updated1162MIT
- Flicense-qualityDmaintenanceEnables AI assistants to search the web, fetch news, and retrieve page content via DuckDuckGo or Brave Search, with domain whitelisting and audit logging.Last updated
- Alicense-qualityDmaintenanceEnables web search via DuckDuckGo and web content fetching through the Model Context Protocol, allowing AI assistants to search and retrieve web page content.Last updated17MIT
Related MCP Connectors
The best web search for your AI Agent
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
Web search for AI agents — one tool across 6 engines, routed to the cheapest + cached.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Cedriccmh/mcp-grok-search'
If you have feedback or need assistance with the MCP directory API, please join our Discord server