Skip to main content
Glama

Google Search MCP Server

google_search

Perform Google searches programmatically using the official API with automatic key rotation, intelligent quota management, and advanced filters like language, geolocation, SafeSearch, and file type to retrieve precise results.

Instructions

Performs Google searches using the official API with automatic API key rotation.

Features:

  • Official Google Web Search
  • Automatic API key rotation
  • Intelligent quota management
  • Multi-language and geolocation support

Parameters:

  • query: Search query (required)
  • num: Number of results (1-10, default: 5)
  • start: Starting index (default: 1)
  • safe: SafeSearch (off/active, default: off)
  • lr: Language (ex: lang_fr, lang_en)
  • gl: Country (ex: fr, us, uk)

Returns a JSON list of results with title, link, description and domain.

Input Schema

NameRequiredDescriptionDefault
crNoCountry restriction (ex: countryFR, countryUS)
dateRestrictNoTime filter (ex: d1=24h, w1=week, m1=month, y1=year)
exactTermsNoExact phrase required
excludeTermsNoWords to exclude from search
fileTypeNoFile type (ex: pdf, doc, ppt)
glNoGeolocation (country code: fr, us, uk, etc.)
lrNoResults language (ex: lang_fr, lang_en)
numNoNumber of results to return (1-10)
orTermsNoAlternative terms (OR)
queryYesGoogle search query
rightsNoLicense filters (ex: cc_publicdomain)
safeNoSafeSearch level
searchTypeNoSearch type (value: image)
siteSearchNoSearch specific site (ex: reddit.com)
siteSearchFilterNoInclude (i) or exclude (e) the site
sortNoSort by date (value: date)
startNoStarting index of results

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "cr": { "description": "Country restriction (ex: countryFR, countryUS)", "type": "string" }, "dateRestrict": { "description": "Time filter (ex: d1=24h, w1=week, m1=month, y1=year)", "type": "string" }, "exactTerms": { "description": "Exact phrase required", "type": "string" }, "excludeTerms": { "description": "Words to exclude from search", "type": "string" }, "fileType": { "description": "File type (ex: pdf, doc, ppt)", "type": "string" }, "gl": { "description": "Geolocation (country code: fr, us, uk, etc.)", "type": "string" }, "lr": { "description": "Results language (ex: lang_fr, lang_en)", "type": "string" }, "num": { "description": "Number of results to return (1-10)", "maximum": 10, "minimum": 1, "type": "integer" }, "orTerms": { "description": "Alternative terms (OR)", "type": "string" }, "query": { "description": "Google search query", "type": "string" }, "rights": { "description": "License filters (ex: cc_publicdomain)", "type": "string" }, "safe": { "description": "SafeSearch level", "enum": [ "off", "active" ], "type": "string" }, "searchType": { "description": "Search type (value: image)", "type": "string" }, "siteSearch": { "description": "Search specific site (ex: reddit.com)", "type": "string" }, "siteSearchFilter": { "description": "Include (i) or exclude (e) the site", "enum": [ "i", "e" ], "type": "string" }, "sort": { "description": "Sort by date (value: date)", "type": "string" }, "start": { "description": "Starting index of results", "minimum": 1, "type": "integer" } }, "required": [ "query" ], "type": "object" }
Install Server

Other Tools from Google Search 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/Fabien-desablens/google-search-mcp'

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