Skip to main content
MCP server CX Codex

gsearch — Claude Code MCP server: what it does, how to install

This MCP server gives an AI agent Google Search results with resolved URLs, AI Overview, and People also ask in JSON. Use it when Google’s index matters.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env GSEARCH_PROXY=<GSEARCH_PROXY> --env GSEARCH_DATA_LIMIT_MB=<GSEARCH_DATA_LIMIT_MB> --transport stdio gsearch -- uvx gsearch-agent
Open on GitHub

What gsearch does

gsearch exposes Google Search through the MCP tool google_search. The agent receives result links with their actual destinations, plus AI Overview, People also ask, and related searches as JSON. It runs on your machine with the Camoufox browser and does not require an API key.

Setup uses Python 3.12+ and uvx; gsearch setup fetches the browser, which is about ~1 GB. Without a proxy, searches use your own IP and are limited to 20 per hour. Automated Google access may breach Google’s Terms of Service, so that legal risk belongs with the person running the server.

What it helps with

  • search Google’s own index
  • return destination URLs instead of redirect links
  • give an agent AI Overview data
  • collect People also ask questions
  • filter results to a domain and time range

Example prompts for the agent

  • Search Google for what asyncio is and return the first three links.
  • Show what people ask about asyncio in People also ask.
  • Find asyncio pages on python.org from the past year.

How to install gsearch

Platform CLI

claude mcp add --env GSEARCH_PROXY=<GSEARCH_PROXY> --env GSEARCH_DATA_LIMIT_MB=<GSEARCH_DATA_LIMIT_MB> --transport stdio gsearch -- uvx gsearch-agent

Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from gsearch-agent <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about gsearch

How do I install gsearch in Claude Code?

Run claude mcp add gsearch -e GSEARCH_PROXY=<GSEARCH_PROXY> -- uvx gsearch-agent.

What does gsearch do?

It connects an AI agent to Google Search over MCP and returns JSON with resolved URLs, AI Overview, and People also ask content.

Does gsearch need an API key or proxy?

An API key is not required. A proxy is optional, but direct use runs through your IP and allows at most 20 searches per hour.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor