Basic information
About Google Custom Search MCP Server
MCP server for Google Custom Search: web and image search via a Programmable Search Engine.
Google Custom Search MCP is a MCP server in the Search category listed in the AddMCP.net directory, published by fbettag. Supported transport: stdio. Runtime: Python. License: MIT. Source code is hosted on github.com. Related topics: api, google-custom-search, google-custom-search-api, mcp, mcp-server.
Setup
{
"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"
}
}
}
}
{
"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"
}
}
}
}
{
"servers": {
"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"
}
}
}
}
Google Custom Search MCP config
Add this server to your MCP-compatible client using the configuration below.
{
"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"
}
}
}
}
Google Custom Search MCP tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Google Custom Search MCP?
Google Custom Search MCP is an async Python MCP (Model Context Protocol) server that provides access to Google Custom Search API using service account authentication. It is designed for developers and AI assistants that need to perform Google Custom Search queries programmatically through the MCP protocol.
How to use Google Custom Search MCP?
Clone the repository, configure a Google Service Account and Custom Search Engine, then run uv run google-custom-search-mcp with the required environment variables GOOGLE_SERVICE_ACCOUNT_FILE or GOOGLE_SERVICE_ACCOUNT_BASE64 and GOOGLE_SEARCH_ENGINE_ID. The server supports STDIO mode (default) and HTTP mode (via --transport http). Docker and Helm deployments are available.
Key features of Google Custom Search MCP
- Perform Google Custom Search queries with configurable result count
- Service Account authentication (file path or base64)
- Live integration tests against actual Google API
- FastMCP Python SDK integration
- Docker support with Alpine Linux image
- UV compatibility for modern Python packaging
Use cases of Google Custom Search MCP
- Building AI assistants that need real-time web search results
- Enabling MCP clients to query Google Custom Search inside workflows
- Integrating custom search into CI/CD pipelines with base64 auth
- Deploying a custom search microservice on Kubernetes
Frequently asked questions
1 What is required to use Google Custom Search MCP?
You need a Google Cloud project with the Custom Search API enabled, a service account with a JSON key, and a Custom Search Engine ID. Environment variables authenticate the service account.
2 How does authentication work?
Authentication uses a Google Service Account, either via a file path (local development) or a base64-encoded JSON string (CI/CD). API keys are deprecated.
3 What are the API limits?
The Google Custom Search API provides 100 free search queries per day. Additional queries require billing setup. Service accounts have the
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In