web_search
Ask Gemini queries with web search context. Uses Gemini CLI's automatic web search when the model determines it's needed. Best-effort functionality - not guaranteed for every query.
How to use it
web_search is exposed by the Gemini Bridge MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the web_search tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Gemini Bridge
claude mcp add gemini-bridge -s user -- uvx gemini-bridgeOther tools in Gemini Bridge (8)
Direct CLI bridge for simple queries.
CLI bridge with file attachments for detailed analysis.
(string): Working directory for the query
(list): List of file paths relative to the directory
(string, optional): Either "inline" (default) to stream file contents or "atcommand" to let Gemini CLI resolve @path references itself
(string, optional): Model to use - "flash", "pro", "flash-lite", "2.5-lite", "3-pro", "3-flash", "3.1-pro", "3.1-flash-lite", or "auto" (default: "flash")
(string): The question or prompt to send to Gemini
(int, optional): Override the execution timeout for this request