Enables web search capabilities through Google Programmable Search Engine (PSE), allowing users to query the web with customizable parameters like page size, safe search filtering, language restrictions, and site-specific searches.
Google Programmable Search Engine (PSE) MCP Server
A Model Context Protocol (MCP) server for the Google Programmable Search Engine (PSE) API. This server exposes tools for searching the web with Google Custom Search engine, making them accessible to MCP-compatible clients such as VSCode, Copilot, and Claude Desktop.
Installation Steps
You do NOT need to clone this repository manually or run any installation commands yourself. Simply add the configuration below to your respective MCP client—your client will automatically install and launch the server as needed.
VS Code Copilot Configuration
Open Command Palette → Preferences: Open Settings (JSON), then add:
settings.json
Cline MCP Configuration Example
If you are using Cline, add the following to your cline_mcp_settings.json
(usually found in your VSCode global storage or Cline config directory):
- macOS:
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
- Windows:
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Important Notes
Don't forget to replace <api_key>
and <cx>
with your credentials in the configuration above.
Available Tools
This MCP server provides the following tool:
search
: Search the web with Google Programmable Search Engine- Parameters:
q
(string, required): Search querypage
(integer, optional): Page numbersize
(integer, optional): Number of search results to return per page (1-10)sort
(string, optional): Sort expression (only 'date' is supported)safe
(boolean, optional): Enable safe search filteringlr
(string, optional): Restrict search to a particular language (e.g., lang_en)siteRestricted
(boolean, optional): Use the Site Restricted API endpoint
- Parameters:
Example Usage
Useful Links
This server cannot be installed
A Model Context Protocol server that enables LLM clients like VSCode, Copilot, and Claude Desktop to search the web using Google Programmable Search Engine API.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that enables LLMs to perform web searches using Google's Custom Search API through a standardized interface.Last updated -123TypeScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server that enables Claude to perform Google Custom Search operations by connecting to Google's search API.Last updated -Python
- AsecurityAlicenseAqualityA Model Context Protocol server that provides Google Maps API integration, allowing users to search locations, get place details, geocode addresses, calculate distances, obtain directions, and retrieve elevation data through LLM processing capabilities.Last updated -74315TypeScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server that enables LLMs to perform Google searches via the Serper API, allowing models to retrieve current information from the web.Last updated -2Python