Google Custom Search MCP
About
# Google Custom Search MCP Server An async Python MCP (Model Context Protocol) server that provides access to Google Custom Search API using service account authentication. ## Features - **google_search**: Perform Google Custom Search queries with configurable result count - **Service Account Auth**: Uses Google…
Explore
- google_search: Perform Google Custom Search queries with configurable result count
- Service Account Auth: Uses Google Service Account authentication (required since API keys are deprecated)
- Dual Authentication Support: File path for local dev, base64 for CI/CD
- Live Integration Tests: Real tests against Google Custom Search API
- FastMCP Integration: Uses the latest FastMCP Python SDK
- Docker Support: Alpine Linux-based Docker image for minimal footprint
- UV Compatibility: Modern Python packaging with UV
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Google Custom Search MCPCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Prerequisites
1. Google Service Account: Create a service account in Google Cloud Console
2. Custom Search Engine ID: Create a Custom Search Engine at Programmable Search Engine
3. Enable Custom Search API: Enable the API for your Google Cloud project
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"google custom search mcp": {
"google-search": {
"command": "uv",
"args": [
"run",
"path/to/your/clone/of/google-custom-search-mcp"
],
"env": {
"GOOGLE_SERVICE_ACCOUNT_FILE": "/path/to/your/service-account-key.json",
"GOOGLE_SEARCH_ENGINE_ID": "your-search-engine-id"
}
}
}
}
}
McpServers
{
"google-search": {
"command": "uv",
"args": [
"run",
"path/to/your/clone/of/google-custom-search-mcp"
],
"env": {
"GOOGLE_SERVICE_ACCOUNT_FILE": "/path/to/your/service-account-key.json",
"GOOGLE_SEARCH_ENGINE_ID": "your-search-engine-id"
}
}
}
An async Python MCP (Model Context Protocol) server that provides access to Google Custom Search API using service account authentication.
Features
- google_search: Perform Google Custom Search queries with configurable result count
- Service Account Auth: Uses Google Service Account authentication (required since API keys are deprecated)
- Dual Authentication Support: File path for local dev, base64 for CI/CD
- Live Integration Tests: Real tests against Google Custom Search API
- FastMCP Integration: Uses the latest FastMCP Python SDK
- Docker Support: Alpine Linux-based Docker image for minimal footprint
- UV Compatibility: Modern Python packaging with UV
Quick Start
Prerequisites
1. Google Service Account: Create a service account in Google Cloud Console
2. Custom Search Engine ID: Create a Custom Search Engine at Programmable Search Engine
3. Enable Custom Search API: Enable the API for your Google Cloud project
Installation
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.


