MCP Gemini Google Search MCP Server

MCP server for Google Search using Gemini

Local serverstdioTypeScript

What is the MCP Gemini Google Search MCP Server?

MCP server for Google Search using Gemini

The short version

This project is inspired by the GoogleSearch tool from gemini-cli.

  • Uses Gemini's built-in Grounding with Google Search feature
  • Provides real-time web search results with source citations
  • Compliant with MCP standard protocol
  • Supports stdio transport
  • Supports both Google AI Studio and Vertex AI

What it needs from you

  • Node.js 18 or later - Google AI Studio API key (Get one here) or Google Cloud Project with Vertex AI enabled

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
google_searchIn summary, TypeScript is continuously evolving with new features and improvements aimed at enhancing developer productivity, code quality, and performance.[6]

How to install the MCP Gemini Google Search MCP Server

{
  "mcpServers": {
    "gemini-google-search": {
      "command": "npx",
      "args": ["-y", "mcp-gemini-google-search"],
      "env": {
        "GEMINI_API_KEY": "your-value",
        "GEMINI_MODEL": "your-value",
        "GEMINI_PROVIDER": "your-value",
        "VERTEX_PROJECT_ID": "your-value",
        "VERTEX_LOCATION": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Node.js 18 or later - Google AI Studio API key (Get one here) or Google Cloud Project with Vertex AI enabled
VariableDescriptionRequired
GEMINI_API_KEYCredential the server authenticates with.Yes
GEMINI_MODELConfiguration value read at startup.Optional
GEMINI_PROVIDERConfiguration value read at startup.Optional
VERTEX_PROJECT_IDConfiguration value read at startup.Optional
VERTEX_LOCATIONConfiguration value read at startup.Optional

Example prompts to try

  • “Use MCP Gemini Google Search to google search.”

Frequently asked questions

MCP server for Google Search using Gemini Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.