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:
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
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A Model Context Protocol server that enables Claude to perform Google Custom Search operations by connecting to Google's search API.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that enables Claude to perform web research by integrating Google search, extracting webpage content, and capturing screenshots.Last updated -382113MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables Claude to perform web research by integrating Google search, extracting webpage content, and capturing screenshots in real-time.Last updated -48214JavaScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that bridges Claude with Google Tasks, allowing users to manage task lists and tasks directly through Claude interface.Last updated -1515TypeScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables Claude to perform advanced web research with intelligent search queuing, enhanced content extraction, and deep research capabilities.Last updated -361TypeScriptMIT License