A Model Context Protocol (MCP) server providing access to Google Programmable Search Engine (PSE) and Custom Search Engine (CSE).
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.
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.
Open Command Palette โ Preferences: Open Settings (JSON), then add:
settings.json
{
// Other settings...
"mcp": {
"servers": {
"google-pse-mcp": {
"command": "npx",
"args": [
"-y",
"google-pse-mcp",
"https://www.googleapis.com/customsearch",
"<api_key>",
"<cx>"
]
}
}
}
}
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):
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
{
"mcpServers": {
"google-pse-mcp": {
"disabled": false,
"timeout": 60,
"command": "npx",
"args": [
"-y",
"google-pse-mcp",
"https://www.googleapis.com/customsearch",
"<api_key>",
"<cx>"
],
"transportType": "stdio"
}
}
}
Don't forget to replace <api_key>
and <cx>
with your credentials in the configuration above.
This MCP server provides the following tool:
search
: Search the web with Google Programmable Search Engine
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# Search for "artificial intelligence"
result = await use_mcp_tool(
server_name="google-pse-mcp",
tool_name="search",
arguments={
"q": "artificial intelligence",
"size": 5,
"safe": True
}
)
Query Amazon Bedrock Knowledge Bases using natural language to retrieve relevant information from your data sources.
Fetch, convert, and search AWS documentation pages, with recommendations for related content.
Search campgrounds around the world on campertunity, check availability, and provide booking links.
Lightning-Fast, High-Accuracy Deep Research Agent ๐ 8โ10x faster ๐ Greater depth & accuracy ๐ Unlimited parallel runs
Search Engine made for AIs by Exa
Search dashboards, investigate incidents and query datasources in your Grafana instance
RAG Search over your content powered by Inkeep
Search the web using Kagi's search API
Unlock geospatial intelligence through Mapbox APIs like geocoding, POI search, directions, isochrones and more.
Interact & query with Meilisearch (Full-text & semantic search API)