Gsearch logo

Gsearch

Searches Google for current web information and returns grounded answers with inline citations and source URLs over MCP.

Install Gsearch

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "gsearch": {
      "command": "npx",
      "args": [
        "-y",
        "@daanielcruz/gsearch-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "YOUR_VALUE_HERE",
        "GSEARCH_API_KEY": "YOUR_VALUE_HERE",
        "GSEARCH_ANTIGRAVITY_HOST": "YOUR_VALUE_HERE",
        "GSEARCH_PROJECT": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

gsearch MCP server exposes Google Search grounding through one MCP tool, `google_search`. It returns an answer with inline citations and source URLs for current events, documentation, news, and other real-time web information. The Go server runs as a single stdio binary and authenticates through Google sign-in or a Gemini API key. Reach for it when an MCP-compatible agent needs web research with cited sources rather than an uncited response.

Use cases

  • Research current events with cited web sources
  • Find up-to-date software documentation
  • Check live facts and changing information
  • Combine related questions into one web search

Key features

  • Google Search grounding
  • Inline citations and source URLs
  • Single `google_search` MCP tool
  • OAuth2 and Gemini API-key authentication
  • Automatic retry with dynamic backoff
  • Go binary with no runtime dependencies

Tools1

What Gsearch lets your agent do. Expand a tool for its parameters.

Verified live~247 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 78d

What it can do

From the 1 tool this server returned when we ran it; 1 declare their own safety hints.

Makes network requests · 1Read-only tools · 1
Network at startup5 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age212 days
Maintainers1

Observed 2026-10-27 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev · @daanielcruz/gsearch-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars4Stargazers on the source repository.
npm downloads372Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Tools exposed1Callable tools this server registers over MCP.

How Gsearch works

What gsearch does

gsearch connects MCP-compatible AI clients to Google Search grounding. Its google_search tool accepts a natural-language web search and returns a grounded answer accompanied by inline citation markers and source URLs. This makes it suitable for questions whose answers may change, including current events, news, documentation, and other live web information.

The server is distributed as a Go-based single binary with no runtime dependencies. It communicates with the client over MCP using standard input and output. The project is licensed under MIT.

How it works

A client sends a request to google_search, and gsearch forwards the search through Google’s Code Assist API using Google Search grounding. The response combines synthesized text with numbered source references, allowing an agent or user to inspect the cited web pages.

Typical response time is 2–15 seconds. Retries can extend a request to as much as 60 seconds. When Google responds with HTTP 429, gsearch retries using dynamic backoff, usually beginning around two seconds. Avoid firing searches in rapid succession; combine related needs into one carefully written query where practical.

Use ordinary natural-language searches instead of Google dork operators such as site:, filetype:, inurl:, intitle:, intext:, ext:, or cache:. If a user explicitly asks for one of these operators, the server can still run the requested query, although it warns that the search may fail.

Setup and configuration

The installer can be run with:

Terminal
curl -fsSL https://raw.githubusercontent.com/daanielcruz/gsearch-mcp/main/install.sh | bash

Alternatively, clone the repository, run make build, and launch ./gsearch-installer. The installer downloads the binary and can configure Claude Code, Codex, Cursor, and Otherside when those clients are available.

Authentication supports two paths. Google sign-in uses Antigravity’s public OAuth flow with PKCE and a localhost callback; credentials are stored in ~/.gsearch/oauth_creds.json. The alternative is a Gemini API key supplied during installation or through GEMINI_API_KEY or GSEARCH_API_KEY. Existing OAuth credentials take precedence over those variables.

For manual MCP configuration, use the @daanielcruz/gsearch-mcp package through npx with the server command set to npx -y @daanielcruz/gsearch-mcp. Set GSEARCH_PROJECT if automatic project detection fails. GSEARCH_ANTIGRAVITY_HOST=prod selects the production Code Assist host instead of the default backend.

Tools and capabilities

  • google_search: searches the web through Google Search grounding and returns a cited answer with source URLs.
  • Real-time web research for news, current events, documentation, and other changing information.
  • Inline numbered citations linked to the sources used in the answer.
  • Automatic retry and backoff for rate-limit responses.
  • OAuth or Gemini API-key authentication.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Gsearch

gsearch is an MCP server that connects AI clients to Google Search grounding through the Google Code Assist API. Its main tool, `google_search`, searches the web and returns grounded answers with inline citations and source URLs. It runs over stdio and supports Google OAuth or a Gemini API key.

Run the project’s install script to download the binary and configure supported clients automatically. You can also build it from source with `make build`, or add an MCP entry that runs `npx -y @daanielcruz/gsearch-mcp`.

Yes, gsearch works with Cursor through its stdio MCP configuration. The installer can configure Cursor automatically when it is available, or you can add the `npx -y @daanielcruz/gsearch-mcp` command to `~/.cursor/mcp.json`.

gsearch authenticates either through Google sign-in using Antigravity’s public OAuth flow or with a Gemini API key. Provide the key during installation or set `GEMINI_API_KEY` or `GSEARCH_API_KEY`; OAuth credentials take precedence when present.

Call the `google_search` tool with a natural-language query. Its response includes an answer with numbered inline citations and source URLs, and natural-language searches are preferred over Google dork operators.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGsearch AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/gsearch?style=directory)](https://allmcps.com/mcp/gsearch)
HTML Embed
<a href="https://allmcps.com/mcp/gsearch"><img src="https://allmcps.com/api/badge/gsearch?style=directory" alt="Gsearch on AllMCPs" /></a>