mcp-google-custom-search-server

mcp-google-custom-search-server

23

The MCP Google Custom Search Server is a Model Context Protocol server enabling language learning models to perform web searches using Google's Custom Search API. It provides a standardized MCP interface with features like type-safety, environment configuration, and error handling.

What is the purpose of the MCP Google Custom Search Server?

The server provides web search capabilities for Language Learning Models (LLMs) using Google's Custom Search API, allowing them to perform web searches through a standardized interface.

What are the prerequisites for using this server?

You need a Google Cloud Project with the Custom Search API enabled, a Custom Search Engine ID, Node.js (v18 or higher), and npm.

How do I configure the server?

Configuration is done via environment variables, specifically setting the GOOGLE_API_KEY and GOOGLE_SEARCH_ENGINE_ID in a .env file.

What is the maximum number of search results I can configure?

You can configure up to 10 search results per query.

Is the server compatible with other MCP clients?

Yes, the server is compatible with Claude Desktop and other MCP clients.