Skip to content
MCP server
Registry

gsearch MCP Server

Free Google Search with inline citations for any MCP-compatible AI tool.

gsearch scores 60 (Good), licensed MIT and written in Go. It installs as a local process. It does not declare tools yet. Filed under Search. GitHub shows 4 stars. Package registries report about 94 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by daanielcruzMITGo4 stars
Trust score
60Good
Trust score 60 of 100, Good

Good trust

60 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 60 comes from

22 + 15 + 2 + 10 + 4 + 7 = 60. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance15 / 20

How recently the repository saw a commit or release.

Maintenance: 15 of 20 points.
Popularity2 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 2 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

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

Environment variables

NameRequiredNotes
GSEARCH_PROJECTOptionalOverride auto-detected Google Cloud project ID (OAuth mode)
GEMINI_API_KEYSecretOptionalGemini API key (enables direct API key mode, bypasses OAuth)
GSEARCH_API_KEYSecretOptionalAlternate Gemini API key env var (same purpose as GEMINI_API_KEY)

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

🚨 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.


GSearch - Free Google Search MCP

Go License: MIT 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.

Install

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).

How It Works

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://...)

Pricing & Limits

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.

Authentication

Two options:

  1. Google sign-in (Antigravity): the installer opens Antigravity CLI's public OAuth flow with PKCE S256 and a localhost loopback callback. Credentials are stored in ~/.gsearch/oauth_creds.json.
  2. API key: paste a Gemini API key from aistudio.google.com into the installer, or set 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.

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), 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.

License

MIT

Frequently asked questions

What is gsearch MCP Server?

Free Google Search with inline citations for any MCP-compatible AI tool.

How do I install gsearch MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. gsearch MCP Server runs locally from the npm package @daanielcruz/gsearch-mcp with the command npx -y @daanielcruz/gsearch-mcp@1.2.3.

Is gsearch MCP Server free and open source?

Yes. gsearch MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does gsearch MCP Server support remote (HTTP) connections?

No remote endpoint is listed for gsearch MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is gsearch MCP Server's trust score calculated?

gsearch MCP Server scores 60 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server