Skip to content
Gemini CLI

web search for Gemini CLI

io.github.magurelabs/web-search

Search the web and fetch a page's readable text.

client:Gemini CLI transport:stdio runtime:oci

Install web search in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "web-search": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/magureai/mcp-web-search:2.0.0"
      ],
      "env": {
        "MCP_MODE": "<MCP_MODE>",
        "MCP_SERVICE_TOKEN": "<MCP_SERVICE_TOKEN>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

web search in other clients