gsearch
Provides real-time web search with citations using Google's search grounding API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@gsearchsearch Google for the latest SpaceX launch news"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🚨 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 open-source Gemini CLI.
Google recently banned some OpenClaw users. OpenClaw use cases for oauth providers look abusive to me. GSearch doesn't fit that pattern. Risk still exists.
Requests carry Gemini CLI's User-Agent, ideType, and request shape, so they're probably indistinguishable from the official client on the wire (if u a googler reading this: we good ppl, plz don't hunt us 🙏). If that bothers you, use a throwaway Google account.
GSearch - Free Google Search MCP
Give Claude Code, Codex CLI, Cursor, and other AI tools real-time web search powered by Google Search grounding. Single binary, zero runtime dependencies. Free with any Google account.
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, configures Claude Code, Codex and Cursor automatically (if available).
Related MCP server: MCP Gemini Google Search
How It Works
Claude Code / Codex CLI / Cursor / 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 Gemini CLI. Free with any Google account. No API key, no credit card, no billing setup.
Rate limits are generous for normal usage. The server retries automatically with dynamic backoff on rapid bursts.
Authentication
Three options:
Gemini CLI (if installed) — GSearch reuses existing credentials from
~/.gemini/oauth_creds.jsonInteractive OAuth —
./gsearch-installeropens your browser for Google sign-inAPI key — paste a Gemini API key from aistudio.google.com into the installer, or set
GEMINI_API_KEY/GSEARCH_API_KEYenv var
OAuth modes auto-provision new accounts via the Google Code Assist API (SMS verification may be required on first use). API key mode skips OAuth entirely and hits the Gemini API directly.
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), and any MCP-compatible tool.
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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables free web searching using Google search results with no API keys required, returning structured results with titles, URLs, and descriptions.1235MIT
- AlicenseBqualityCmaintenanceProvides 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.15882Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to perform real-time Google searches with anti-bot protection. Bypasses search engine restrictions using advanced browser automation to extract search results locally without requiring paid API services.7MIT
- AlicenseAqualityCmaintenanceEnables 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.129MIT
Related MCP Connectors
The best web search for your AI Agent
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
Live web search for AI agents. $0.001/call, x402 on Base, no API key.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/daanielcruz/gsearch-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server