Connect Gemini CLI to Google Search MCP

📘 Complete Guide: Use Ace Data Cloud MCP in Gemini CLI →

Access Google Search capabilities (web / images / news / maps / local businesses / videos) in one integration. After connecting to Gemini CLI through MCP, you can call them directly in conversations, without switching windows or copying and pasting.

Get API Token

Create or copy an API Key that can access this service from General Applications in the console. For account applicability, see Gemini CLI Overview.

Get Ace Data Cloud API Key

Configuration

Set the environment variable ACEDATACLOUD_API_TOKEN in the terminal where Gemini CLI is launched, using an application API Key authorized to access this service. Run the following commands in a trusted working directory to register it to your personal configuration. Single quotes preserve the variable reference.

gemini mcp add --scope user --transport http serp https://serp.mcp.acedata.cloud/mcp --header 'Authorization: Bearer ${ACEDATACLOUD_API_TOKEN}'
gemini mcp list

After confirming that serp is shown as connected, launch gemini from the same terminal.

Usage Examples

Search for the latest AI video generation technology trends in May 2026, and list 5 key points

Use Google Search to find English results for "capacitor 8 ios build error", sorted by time

Find a set of image references for "Oriental ink-wash style LOGO design" and give me 8 images

Tools

Tool Description
serp_google_search Search web pages
serp_google_images Search images
serp_google_news Search news
serp_google_maps Search maps
serp_google_places Query local businesses
serp_google_videos Search videos