Gsearch MCP Server
by daanielcruzio.github.daanielcruz/gsearchv1.1.0
Free Google Search with inline citations for any MCP-compatible AI tool.
context tax
queued
security
queued
cold start
queued
freshness
Slowing5mo ago
Install Gsearch MCP server
Install in Claude Code
claude mcp add gsearch -e GEMINI_API_KEY='<gemini-api-key>' -e GSEARCH_API_KEY='<gsearch-api-key>' -- npx -y @daanielcruz/gsearch-mcpInstall in Cursor
{
"mcpServers": {
"gsearch": {
"command": "npx",
"args": [
"-y",
"@daanielcruz/gsearch-mcp"
],
"env": {
"GEMINI_API_KEY": "<gemini-api-key>",
"GSEARCH_API_KEY": "<gsearch-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"gsearch": {
"command": "npx",
"args": [
"-y",
"@daanielcruz/gsearch-mcp"
],
"env": {
"GEMINI_API_KEY": "<gemini-api-key>",
"GSEARCH_API_KEY": "<gsearch-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"gsearch": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@daanielcruz/gsearch-mcp"
],
"env": {
"GEMINI_API_KEY": "<gemini-api-key>",
"GSEARCH_API_KEY": "<gsearch-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"gsearch": {
"command": "npx",
"args": [
"-y",
"@daanielcruz/gsearch-mcp"
],
"env": {
"GEMINI_API_KEY": "<gemini-api-key>",
"GSEARCH_API_KEY": "<gsearch-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| GSEARCH_PROJECT | — | — | Override auto-detected Google Cloud project ID (OAuth mode) |
| GEMINI_API_KEY | — | yes | Gemini API key (enables direct API key mode, bypasses OAuth) |
| GSEARCH_API_KEY | — | yes | Alternate Gemini API key env var (same purpose as GEMINI_API_KEY) |
Freshness
Slowing — last maintenance signal 5mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-04-30 · 5mo ago · GitHub
Latest release
2026-04-30 · 5mo ago · GitHub · v1.1.0
Package published
no data · npm/PyPI
Registry entry updated
2026-04-30 · 5mo ago · official registry · v1.1.0
FAQ
›How do I install the Gsearch MCP server in Claude Code?
Run: claude mcp add gsearch -e GEMINI_API_KEY='<gemini-api-key>' -e GSEARCH_API_KEY='<gsearch-api-key>' -- npx -y @daanielcruz/gsearch-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Gsearch require an API key?
Yes. It expects GEMINI_API_KEY, GSEARCH_API_KEY, of which 2 are secrets.
›Can I use Gsearch as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Gsearch in the official MCP registry?
Yes, as io.github.daanielcruz/gsearch.
Alternatives to Gsearch
Other web search MCP servers.