Skip to content
Gemini CLI

web fetch mcp for Gemini CLI

io.github.kylinmountain/web-fetch-mcp

MCP server for web content fetching, summarizing, comparing, and extracting information

client:Gemini CLI transport:stdio runtime:npm

Install web fetch mcp 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-fetch-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "web-fetch-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "<GEMINI_API_KEY>",
        "HTTP_PROXY": "<HTTP_PROXY>",
        "HTTPS_PROXY": "<HTTPS_PROXY>"
      }
    }
  }
}

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

web fetch mcp in other clients