google-pse-mcp is a Model Context Protocol (MCP) server that wraps the Google Programmable Search Engine (PSE) API to provide web search capabilities to MCP-compatible clients.
Purpose: This project enables MCP-compatible clients such as VSCode, Copilot, Claude Desktop, and Cline to invoke Google Custom Search Engine for web search through a unified protocol.
Main capabilities: The server provides a tool named search for searching the web via Google Programmable Search Engine. The tool supports the following parameters: q (string, required, search query); page (integer, optional, page number); size (integer, optional, number of search results returned per page, range 1-10); sort (string, optional, sort expression, only 'date' is supported); safe (boolean, optional, enable safe search filtering); lr (string, optional, restrict the search to a specific language, e.g. lang_en); siteRestricted (boolean, optional, use the Site Restricted API endpoint, default value is true unless overridden by a CLI flag).
Usage: According to the project documentation, users do not need to manually clone the repository or run installation commands themselves. Simply add the corresponding configuration to the MCP client being used, and the client will automatically install and start the server as needed. The project provides the configuration method for VS Code Copilot: open the command palette, select Preferences: Open Settings (JSON), and then add the configuration. For Cline, the project provides a configuration example for cline_mcp_settings.json and states that this file is usually located in the VSCode global storage or the Cline configuration directory: the macOS path is ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json; the Windows path is %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json. During configuration, <api_key> and <cx> must be replaced with actual credentials, and the siteRestricted flag (true or false) can optionally be provided at the last parameter position to control which Google Custom Search endpoint is used; if omitted, it defaults to true.
Applicable scenarios: Suitable for developers and use cases that need to integrate Google Custom Search into MCP-compatible clients for web retrieval.
Limitations: The project materials do not provide more information about quotas, billing, platform compatibility scope, or search effectiveness; this content is not currently available.