google_search
Performs a web search using Google Search (via the Gemini API) and returns the results. This tool is useful for finding information on the internet based on a query.
Put a live Google web search behind a model using the Gemini key you already have.
LABSCO SUMMARY
The whole server is one tool with one parameter, which makes it the cheapest way to get a model off its training data and onto today's web. It returns search results, not page bodies — pairing it with something that fetches a URL is the obvious next step.
A single-tool server: google_search takes a query string, runs a web search through Google Search via the Gemini API, and returns the results.
A Gemini API key in GEMINI_API_KEY — or, on Vertex AI, a Google Cloud project with Vertex AI enabled, named in VERTEX_PROJECT_ID with GEMINI_PROVIDER=vertex — and npx on your PATH.
One command plus a key — npm install -g mcp-gemini-google-search, then supply credentials
USE CASES
A release, an outage, a version number changed after training. One query goes out to Google Search through the Gemini API and the results come back into the conversation.
Search the specific wording rather than trusting recall, and read what comes back before the sentence ships.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
google_searchPerforms a web search using Google Search (via the Gemini API) and returns the results. This tool is useful for finding information on the internet based on a query.
BEFORE YOU INSTALL
1 tool when we connected. GEMINI_MODEL picks the model (default gemini-2.5-flash) and GEMINI_PROVIDER switches between Google AI Studio and Vertex AI. Results come back as prose with numbered source citations.
All 4 documented setups run the server on your machine.
CONTEXT COST
Rated by the size of the one tool definition that rides along on every turn
INSTALLATION
npm install -g mcp-gemini-google-searchclaude mcp add gemini-google-search -s user -e GEMINI_API_KEY="<YOUR_GEMINI_API_KEY>" -e GEMINI_MODEL="gemini-2.5-flash" -- npx mcp-gemini-google-searchclaude mcp add gemini-google-search -s project -e GEMINI_API_KEY="<YOUR_GEMINI_API_KEY>" -e GEMINI_MODEL="gemini-2.5-flash" -- npx mcp-gemini-google-searchclaude mcp add gemini-google-search -s user -e GEMINI_PROVIDER="vertex" -e VERTEX_PROJECT_ID="<YOUR_VERTEX_PROJECT_ID>" -e VERTEX_LOCATION="us-central1" -e GEMINI_MODEL="gemini-2.5-flash" -- npx mcp-gemini-google-searchclaude mcp add gemini-google-search -e GEMINI_API_KEY="<YOUR_GEMINI_API_KEY>" -- cmd /c npx mcp-gemini-google-search