Google AI Mode
MCP server for free Google AI Mode search with citations. Query optimization, CAPTCHA handling, multi-agent support. Works with Claude Code, Cursor, Cline, Windsurf.
What is Google AI Mode?
Google AI Mode is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server for free google ai mode search with citations. query optimization, captcha handling, multi-agent support. works with claude code, cursor, cline, windsurf.
MCP server for free Google AI Mode search with citations. Query optimization, CAPTCHA handling, multi-agent support. Works with Claude Code, Cursor, Cline, Windsurf.
This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- MCP server for free Google AI Mode search with citations. Qu
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx google-ai-modeConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Google AI Mode
Google AI Mode MCP Server brings Google's AI-synthesized search results directly into your AI coding assistant or chat client. Unlike traditional web search tools that return raw links, this server queries Google AI Mode and returns a single synthesized answer with inline citations, dramatically reducing token usage. It is useful for developers who want up-to-date, well-sourced research results without leaving their workflow in Claude Code, Cursor, Windsurf, or Cline.
Prerequisites
- Node.js 18 or later installed on your machine
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Cline, VS Code with MCP extension, or Zed)
- A Google account (used by the headless browser; no API key required)
- On Linux or WSL: Xvfb installed if running in a headless environment (xvfb-run wrapper)
Install via Claude Code (quickest path)
Run the one-liner to register the server directly in Claude Code. This pulls the latest published package from npm and wires it up automatically.
claude mcp add google-ai-search npx google-ai-mode-mcp@latestAdd to other MCP clients (Cursor, Windsurf, VS Code)
For clients that use a JSON config file, add the server entry below. No API key is required — the server launches a headless Chromium browser internally.
{
"mcpServers": {
"google-ai-search": {
"command": "npx",
"args": ["google-ai-mode-mcp@latest"]
}
}
}Handle first-run CAPTCHA (if triggered)
On first use Google may present a CAPTCHA. Ask your AI client to switch to visible mode, solve the CAPTCHA in the browser window that appears, then continue. The server detects completion automatically.
Clear the browser profile if CAPTCHAs persist
If you keep hitting CAPTCHAs across sessions, delete the cached browser profile to start fresh.
# macOS / Linux
rm -rf ~/.local/share/google-ai-mode-mcp/chrome_profile
# Windows (PowerShell)
Remove-Item -Recurse -Force "$env:LOCALAPPDATA\google-ai-mode-mcp\chrome_profile"Configure optional environment variables
Tune timeouts and headless mode by setting environment variables in your MCP config's env block. Defaults work for most users.
{
"mcpServers": {
"google-ai-search": {
"command": "npx",
"args": ["google-ai-mode-mcp@latest"],
"env": {
"GOOGLE_AI_HEADLESS": "true",
"GOOGLE_AI_RESPONSE_TIMEOUT": "30000",
"GOOGLE_AI_CAPTCHA_TIMEOUT": "300000",
"GOOGLE_AI_CAPTCHA_POLL_INTERVAL": "3000"
}
}
}
}Google AI Mode Examples
Client configuration
Minimal JSON config block for Claude Desktop or any MCP-compatible client.
{
"mcpServers": {
"google-ai-search": {
"command": "npx",
"args": ["google-ai-mode-mcp@latest"],
"env": {
"GOOGLE_AI_HEADLESS": "true",
"GOOGLE_AI_RESPONSE_TIMEOUT": "30000"
}
}
}
}Prompts to try
Use the search_ai tool by asking natural research questions. The server synthesizes dozens of sources into one cited answer.
- "Search Google AI Mode for: Next.js 15 App Router best practices"
- "What are the breaking changes in React 19?"
- "Compare PostgreSQL vs MySQL for a high-write SaaS workload in 2025"
- "Research the latest OWASP Top 10 vulnerabilities and save results to a file"
- "What are the new features in Python 3.13?"Troubleshooting Google AI Mode
Browser window never opens or CAPTCHA is not detected
Set GOOGLE_AI_HEADLESS=false in your env block so the Chromium window is visible, then manually complete the CAPTCHA. After success you can revert to headless mode.
X-Server errors on Linux or WSL
Install Xvfb (sudo apt install xvfb) and wrap the command: change the args to ["xvfb-run", "npx", "google-ai-mode-mcp@latest"] or prefix via your shell.
Search hangs and never returns
Increase GOOGLE_AI_RESPONSE_TIMEOUT (value in milliseconds, e.g. "60000" for 60 s). If it still hangs, clear the Chrome profile directory and restart the server.
Frequently Asked Questions about Google AI Mode
What is Google AI Mode?
Google AI Mode is a Model Context Protocol (MCP) server that mcp server for free google ai mode search with citations. query optimization, captcha handling, multi-agent support. works with claude code, cursor, cline, windsurf. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Google AI Mode?
Follow the installation instructions on the Google AI Mode GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Google AI Mode?
Google AI Mode works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Google AI Mode free to use?
Yes, Google AI Mode is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Google AI Mode Alternatives — Similar Search & Data Extraction Servers
Looking for alternatives to Google AI Mode? Here are other popular search & data extraction servers you can use with Claude, Cursor, and VS Code.
TrendRadar
★ 58.0kA real-time hotspot monitoring and news aggregation assistant that provides AI-powered analysis of trending topics across multiple platforms via the Model Context Protocol. It enables users to track news and receive automated notifications through va
Scrapling
★ 52.7k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
PDF Math Translate
★ 33.9k[EMNLP 2025 Demo] PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero
GPT Researcher
★ 27.2kAn autonomous agent that conducts deep research on any data using any LLM providers
Agent Reach
★ 20.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Xiaohongshu
★ 13.7kMCP for xiaohongshu.com
Browse More Search & Data Extraction MCP Servers
Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Google AI Mode in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Google AI Mode?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.