- Home
- MCP servers
- Google PSE
Google PSE
- javascript
10
GitHub Stars
javascript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"rendyfebry-google-pse-mcp": {
"command": "npx",
"args": [
"-y",
"google-pse-mcp",
"https://www.googleapis.com/customsearch",
"<api_key>",
"<cx>",
"<siteRestricted>"
]
}
}
}This MCP server lets you query the Google Programmable Search Engine from MCP-compatible clients, enabling you to perform web searches directly within your tooling. It exposes a search tool that you can call from your editor or IDE-powered assistants to fetch Google results without leaving your development workflow.
How to use
Use the search tool from any MCP client that supports MCP servers. Provide a query string with your search terms and optional parameters to control result size, page, safety, and language. The server communicates with Google Custom Search behind the scenes, returning results you can display or further process in your client.
Available tools
search
Query the Google Programmable Search Engine using the search tool. Parameters: q (string, required): search query; page (int, optional): page number; size (int, optional): results per page (1-10); sort (string, optional): sort by date; safe (boolean, optional): enable Safe Search; lr (string, optional): language filter; siteRestricted (boolean, optional): use the Site Restricted API endpoint (defaults to true).