Uses environment variables to securely store and load Google API credentials and Custom Search Engine IDs for authentication.
Provides Google Custom Search functionality, allowing AI agents to search the web through Google's search engine API and retrieve search results programmatically.
Integrates with Google Cloud's Custom Search API, enabling access to customized search experiences with specific search engine configurations.
Google Search MCP Server
A Model Context Protocol (MCP) server that provides Google Custom Search functionality.
Installation
Installing via Smithery
To install google-search-mcp-server for Claude Desktop automatically via Smithery:
Manual Installation
Clone the repository:
Install dependencies:
Related MCP server: MCP Web Research Server
Configuration
Create a .env file in the project root with the following variables:
To obtain these credentials:
Create a Google Cloud project and enable the Custom Search API
Generate an API key from the Google Cloud Console
Create a Custom Search Engine at https://cse.google.com/cse/all and get its ID
Usage
Start the server using MCP:
or add the server to Claude Desktop app CLAUDE_DIRECTORY/claude_desktop_config.json. For example if you are using Windows Subsystem for Linux (WSL) it may look like this:
This server cannot be installed