Provides web search capabilities through Google's Gemini CLI, enabling AI agents to perform web searches and retrieve search results.
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., "@Gemini Web Search MCP Serversearch for the latest advancements in quantum computing"
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.
Gemini Web Search MCP Server
This project implements a Model Context Protocol (MCP) server that uses the local gemini-cli to perform Web Search Tool.
Prerequisites
Node.js (v18 or higher)
A local installation of the
gemini-cli.
Setup
Clone the repository:
git clone https://github.com/mofumofu3n/mcp-gemini-web-search.git cd google-search-mcpInstall the dependencies:
npm install
Usage
Claude Desktop Configuration
Add the following configuration to your Claude Desktop settings file:
Replace /path/to/mcp-gemini-web-search/ with the actual path to your cloned repository.
References
Gemini CLI Web Search Documentation - Official documentation for Gemini CLI web search functionality