gemini-search
Provides access to Google's web search index for real-time, cited web search results through Gemini CLI.
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., "@gemini-searchsearch for recent breakthroughs in nuclear fusion"
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.
free-search-mcp-geminicli
An MCP server that gives any AI agent rigorous, cited web search through Gemini CLI's Google Search grounding.
┌──────────────┐ STDIO ┌──────────────────┐ child process ┌─────────────┐
│ AI Agent │◄──────────────►│ gemini-search │──────────────────►│ Gemini CLI │
│ (any MCP │ JSON-RPC │ MCP server │ gemini-3-flash │ Google Web │
│ client) │ └──────────────────┘ -preview │ Search │
└──────────────┘ └─────────────┘Why?
AI coding assistants (Claude, Kilo Code, Cursor, etc.) are powerful but blind to the live web. This MCP server fixes that by piping queries through Gemini CLI, which has built-in Google Search grounding — meaning every response is backed by real, current web results with citations.
Why use this over other paid search MCPs?
100% Free & Unlimited (relies on your local Google Cloud SDK / Gemini CLI auth)
High Quality (uses Google's live search index and
gemini-3-flash-previewmodel)No API keys to configure. If Gemini CLI works on your machine, this server works.
Related MCP server: Gemini Google Web Search MCP
Tools
Tool | Description | Timeout |
| Quick factual lookups with source triangulation and confidence scoring | 90s |
| 7-step research protocol with evidence grading [A/B/C/D] and opposing-view analysis | 180s |
| Forensic 5-phase verification pipeline with claim decomposition and precision audit | 90s |
Prerequisites
Node.js ≥ 18
Gemini CLI installed and authenticated (
npm install -g @google/gemini-cli)Works on Windows, macOS, and Linux
Install
git clone https://github.com/leacvikas0/free-search-mcp-geminicli.git
cd free-search-mcp-geminicli
npm installSetup
Add to your MCP client config:
Claude Desktop / Antigravity / Generic MCP Client
{
"mcpServers": {
"gemini-search": {
"command": "node",
"args": ["/absolute/path/to/free-search-mcp-geminicli/server.js"],
"env": {}
}
}
}Kilo Code (VS Code)
Settings → MCP Configuration → Edit Global MCP File:
{
"mcpServers": {
"gemini-search": {
"command": "node",
"args": ["/absolute/path/to/free-search-mcp-geminicli/server.js"],
"env": {},
"trust": true
}
}
}Cursor
Add to .cursor/mcp.json in your project:
{
"mcpServers": {
"gemini-search": {
"command": "node",
"args": ["/absolute/path/to/free-search-mcp-geminicli/server.js"]
}
}
}How It Works
Your AI agent calls an MCP tool (e.g.,
web_search)The server writes the query to a temp file and pipes it into
gemini -m gemini-3-flash-preview --output-format jsonGemini CLI uses its built-in
google_web_searchgrounding to search the live webThe server parses the JSON response and returns clean, cited results
Your AI agent gets grounded, accurate web research
Each tool has a carefully crafted system prompt that enforces:
Source triangulation — verify claims from 2+ independent sources
Anti-hallucination rules — never fabricate URLs, stats, or quotes
Evidence grading — [A] through [D] ratings on claim confidence
Conflict detection — surface disagreements between sources instead of hiding them
Configuration
The model is set to gemini-3-flash-preview by default. To change it, edit the MODEL constant at the top of server.js:
const MODEL = "gemini-3-flash-preview"; // Change to any Gemini modelLicense
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.
Latest Blog Posts
- 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/leacvikas0/free-search-mcp-geminicli'
If you have feedback or need assistance with the MCP directory API, please join our Discord server