Skip to main content
Glama

Google PSE MCP Server

by rendyfebry

search

Perform web searches through the Google Custom Search API. Specify queries, page numbers, result sizes, sorting, safe search, language restrictions, and site restrictions for precise results.

Instructions

Search the Web using Google Custom Search API

Input Schema

NameRequiredDescriptionDefault
lrNoRestricts the search to documents written in a particular language (e.g., lang_en, lang_ja)
pageNoPage number
qYesSearch query
safeNoEnable safe search filtering. Default: false.
siteRestrictedNoIf true, use the Site Restricted API endpoint (/v1/siterestrict). If false, use the standard API endpoint (/v1). Default: true.
sizeNoNumber of search results to return per page. Valid values are integers between 1 and 10, inclusive.
sortNoSort expression (e.g., 'date'). Only 'date' is supported by the API.

Input Schema (JSON Schema)

{ "properties": { "lr": { "description": "Restricts the search to documents written in a particular language (e.g., lang_en, lang_ja)", "type": "string" }, "page": { "description": "Page number", "type": "integer" }, "q": { "description": "Search query", "type": "string" }, "safe": { "description": "Enable safe search filtering. Default: false.", "type": "boolean" }, "siteRestricted": { "description": "If true, use the Site Restricted API endpoint (/v1/siterestrict). If false, use the standard API endpoint (/v1). Default: true.", "type": "boolean" }, "size": { "description": "Number of search results to return per page. Valid values are integers between 1 and 10, inclusive.", "type": "integer" }, "sort": { "description": "Sort expression (e.g., 'date'). Only 'date' is supported by the API.", "type": "string" } }, "required": [ "q" ], "type": "object" }
Install Server

Other Tools from Google PSE MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/rendyfebry/google-pse-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server