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-mcp
Install the dependencies:
npm install
Usage
Claude Desktop Configuration
Add the following configuration to your Claude Desktop settings file:
{
"mcpServers": {
"gemini-web-search": {
"command": "node",
"args": [
"/path/to/mcp-gemini-web-search/index.js"
]
}
}
}
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
- gemini-cli の google_web_search が最高