- Home
- MCP servers
- Gemini Google Web Search
Gemini Google Web Search
- javascript
1
GitHub Stars
javascript
Language
5 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"louxsye-google-web-search-mcp": {
"command": "node",
"args": [
"/path/to/gemini-google-web-search-mcp/dist/index.js"
],
"env": {
"USE_OAUTH": "true",
"GEMINI_MODEL": "gemini-2.0-flash-exp",
"GOOGLE_API_KEY": "your-api-key-here",
"GOOGLE_APPLICATION_CREDENTIALS": "/path/to/credentials.json"
}
}
}
}You can use this MCP server to perform Google Web Searches via the Gemini API and get citations with source links. It enables seamless integration with MCP clients to query the web and retrieve grounded results.
How to use
You interact with the google_web_search tool through an MCP client. Start the local MCP server you configured, then request searches by providing a query like you would in a web search. The tool returns search results that include citations and source links so you can verify information. Use it to look up current topics, clarify facts, or gather background material for writing and planning.
How to install
Prerequisites: ensure you have Node.js 18+ installed on your system.
# Install the MCP server globally (production setup)
npm install -g gemini-google-web-search-mcp
# Or install from source
# git clone https://github.com/yourusername/gemini-google-web-search-mcp.git
# cd gemini-google-web-search-mcp
# npm install
# npm run build
Additional sections
Configuration and runtime setup are shown in the following options. You can choose API Key authentication or OAuth authentication depending on your needs.
{
"mcpServers": {
"google-web-search": {
"command": "node",
"args": ["/path/to/gemini-google-web-search-mcp/dist/index.js"],
"env": {
"GOOGLE_API_KEY": "your-api-key-here"
}
}
}
}
{
"mcpServers": {
"google-web-search": {
"command": "node",
"args": ["/path/to/gemini-google-web-search-mcp/dist/index-codeassist.js"],
"env": {
"USE_OAUTH": "true"
}
}
}
}
Available tools
google_web_search
Executes a Google Web Search via Gemini API and returns results with citations and source links.