DEV Community

Cover image for gsearch: Google Search for AI Agents
Rayen Mlayeh
Rayen Mlayeh

Posted on

gsearch: Google Search for AI Agents

gsearch: Google Search for AI Agents

I built gsearch, an open-source MCP server that lets AI agents retrieve Google search results through a real browser.

Instead of relying on third-party search APIs, gsearch uses Python and Camoufox to access Google Search and return structured results that can be used directly in AI workflows.

Features

  • Google organic search results with resolved URLs
  • AI Overviews and People Also Ask when available
  • Structured JSON output
  • MCP integration with compatible AI clients
  • Proxy support and self-hosting

Getting started

uv tool install gsearch-agent
gsearch setup
Enter fullscreen mode Exit fullscreen mode

The goal is simple: make Google Search easier to integrate into AI agents without depending on a paid search API.

GitHub: https://github.com/RayenMlayeh/gsearch

Feedback and contributions are welcome, especially from developers working on AI agents, MCP, and browser automation.

Top comments (0)