🚨 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.
接入你的智能体
發布者自己的指令。不是 PlugMCP 端點。
用我們的金鑰與日誌託管一份副本。
npx -y @daanielcruz/[email protected]Claude Code 沒有本機指令的安裝連結。複製下方指令並在終端機中執行。
GSEARCH_PROJECT=<value> GEMINI_API_KEY=<secret> GSEARCH_API_KEY=<secret> claude mcp add daanielcruz-gsearch-mcp -- npx -y @daanielcruz/gsearch-mcp@1.2.3在終端機中執行。
{ "mcpServers": { "daanielcruz-gsearch-mcp": { "command": "npx", "args": [ "-y", "@daanielcruz/[email protected]" ], "env": { "GSEARCH_PROJECT": "<value>", "GEMINI_API_KEY": "<secret>", "GSEARCH_API_KEY": "<secret>" } } }}claude_desktop_config.json
遠端 URL 還是本機指令? 兩種安裝方式的差異
來自發布者
🚨 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.
Free Google Search Grounding 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.
curl -fsSL https://raw.githubusercontent.com/daanielcruz/gsearch-mcp/main/install.sh | bash
Or build from source:
git clone https://github.com/daanielcruz/gsearch-mcp && cd gsearch-mcp
make build && ./gsearch-installer
The installer downloads the binary and configures Claude Code, Codex, Cursor and Otherside automatically (if available).
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 links
When 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://...)
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.
Two options:
localhost loopback callback. Credentials are stored in ~/.gsearch/oauth_creds.json.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.
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.
MIT
Free Google Search Grounding MCP
{ "mcpServers": { "daanielcruz-gsearch-mcp": { "command": "npx", "args": [ "-y", "@daanielcruz/[email protected]" ], "env": { "GSEARCH_PROJECT": "<value>", "GEMINI_API_KEY": "<secret>", "GSEARCH_API_KEY": "<secret>" } } }}工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
發布者列出了以下環境變數:GSEARCH_PROJECT, GEMINI_API_KEY, GSEARCH_API_KEY。
Gsearch 透過 stdio 在本機執行。
上次檢查時間:2026-10-28。 Free Google Search Grounding MCP