Skip to content
Gemini CLI

Web Search API for Gemini CLI

io.github.sumitrmardy/web-search-api

Bing and DuckDuckGo results with snippets and readable page text for AI agents and RAG.

client:Gemini CLI transport:streamable-http

Install Web Search API in Gemini CLI

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

{
  "mcpServers": {
    "web-search-api": {
      "httpUrl": "https://mcp.apify.com/?tools=sumitr_mardy/web-search-api"
    }
  }
}

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 API in other clients