gsearch
Provides real-time web search with citations using Google's search grounding API.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
🚨 Disclaimer 🚨
This is just a heads-up. We haven't seen any bans from GSearch use.
Not affiliated with Google. Uses the same public OAuth client and API as the Antigravity CLI.
GSearch - Free Google Search MCP
Give Claude Code, Codex CLI, Cursor, Otherside, and other AI tools real-time web search powered by Google Search grounding. Single binary, zero runtime dependencies.
Install
curl -fsSL https://raw.githubusercontent.com/daanielcruz/gsearch-mcp/main/install.sh | bashOr build from source:
git clone https://github.com/daanielcruz/gsearch-mcp && cd gsearch-mcp
make build && ./gsearch-installerThe installer downloads the binary and configures Claude Code, Codex, Cursor and Otherside automatically (if available).
Related MCP server: SERPJET MCP Server
How It Works
Claude Code / Codex CLI / Cursor / Otherside / Others
| MCP (stdio)
gsearch-server (Go binary)
| OAuth2
Google Code Assist API
| googleSearch grounding
Answer with [1][2][3] source linksWhen an AI tool calls google_search, GSearch returns a grounded answer with inline citations:
The current time in Sao Paulo is 08:13 AM.[1][2]
Sao Paulo observes Brasilia Time (BRT), UTC-3.[3]
Sources:
[1] [Time in Sao Paulo](https://...)
[2] [World Clock](https://...)
[3] [Time Zone Info](https://...)Pricing & Limits
GSearch uses the same Google Search grounding API as Antigravity CLI through its public OAuth client, or the Gemini API with an API key. Limits, availability, and billing depend on the selected authentication method and Google account.
The official Gemini CLI states that free and Google One accounts migrated to Antigravity CLI on June 18, 2026, so GSearch now signs in through Antigravity's public OAuth client. Existing Gemini CLI credentials remain readable.
Rate limits are generous for normal usage. The server retries automatically with dynamic backoff on rapid bursts.
Authentication
Two options:
Google sign-in (Antigravity): the installer opens Antigravity CLI's public OAuth flow with PKCE S256 and a
localhostloopback callback. Credentials are stored in~/.gsearch/oauth_creds.json.API key: paste a Gemini API key from aistudio.google.com into the installer, or set
GEMINI_API_KEY/GSEARCH_API_KEY. This skips OAuth and does not require a project. Google sign-in always takes precedence: when OAuth credentials exist, these variables are ignored.
Antigravity sign-in resolves the Code Assist project automatically (SMS verification may be required on first use). If the account requires a user-defined project, the installer accepts an existing Project ID and retries. It does not create projects or enable billing. The default backend is daily-cloudcode-pa.googleapis.com; set GSEARCH_ANTIGRAVITY_HOST=prod to use cloudcode-pa.googleapis.com.
Configuration
The installer configures everything automatically. For manual setup, add to your MCP client config:
{
"mcpServers": {
"gsearch": {
"command": "npx",
"args": ["-y", "@daanielcruz/gsearch-mcp"]
}
}
}Works with Claude Code (~/.claude.json), Cursor (~/.cursor/mcp.json), Otherside (~/.otherside/.mcp.json), and other MCP-compatible tools.
For Codex CLI (~/.codex/config.toml):
[mcp_servers.gsearch]
command = 'npx'
args = ['-y', '@daanielcruz/gsearch-mcp']Set GSEARCH_PROJECT env var only if auto-detection fails.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Search Google straight from your AI agent. Web results, images, videos, news, products, scholarly ar
Web search, Google SERP, page extraction to markdown and cited answers for AI agents.
Web search and page-reading for AI agents. One-click OAuth connect, or a Caesar API key.
Give AI assistants access to real-time data. Search the web, compare flights, find hotels, and more.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides Google Search functionality for AI models using Gemini's built-in Grounding with Google Search feature, returning real-time web search results with source citations.1241 npm83Apache 2.0
- AlicenseAqualityDmaintenanceEnables AI agents to perform Google searches and retrieve structured JSON results for 10 types including web, images, news, and shopping with live prices. Offers 1,000 free searches per month with no credit card required.153 npmMIT
- AlicenseAqualityDmaintenanceEnables AI assistants to perform Google searches with real, resolvable sources and transparent search terms.158 npm1MIT
- AlicenseAqualityBmaintenanceConnects AI assistants to web page content and Google search results, enabling them to retrieve HTML, Markdown, or screenshots from a URL, run Google queries, and check account plan and token usage. It supports hosted OAuth sign-in as well as local and self-hosted deployments with an API key.3403 npm1MIT