Gemini Web Search

Performs web searches using the Gemini Web Search Tool via the local gemini-cli.

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

  1. Clone the repository:

    git clone https://github.com/mofumofu3n/mcp-gemini-web-search.git
    cd google-search-mcp
    
  2. 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

Related Servers