Labsco
yukukotani logo

MCP Gemini Google Search

โ˜… 81

from yukukotani

Performs Google searches using Gemini's built-in Grounding with Google Search feature.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeAdvanced setup

MCP Gemini Google Search

ๆ—ฅๆœฌ่ชž

A Model Context Protocol (MCP) server that provides Google Search functionality using Gemini's built-in Grounding with Google Search feature.

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

Features

  • 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

Development

To contribute to this project:

Copy & paste โ€” that's it
# Clone the repository
git clone https://github.com/yukukotani/mcp-gemini-google-search.git
cd mcp-gemini-google-search

# Install dependencies
npm install

# Development mode (watch for file changes)
npm run dev

# Build
npm run build

# Run locally
npm run start

# Debug with MCP Inspector
npm run inspect

Debugging with MCP Inspector

Running npm run inspect will open the MCP Inspector in your browser. This allows you to:

  • View available tools
  • Execute tools and see responses
  • Debug in real-time

License

Apache License 2.0