Skip to content
Gemini CLI

webfetch.run for Gemini CLI

run.webfetch/webfetch

Fetch any URL as clean markdown, HTML, or a screenshot for AI agents.

client:Gemini CLI transport:streamable-http

Install webfetch.run in Gemini CLI

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

{
  "mcpServers": {
    "webfetch": {
      "httpUrl": "https://mcp.webfetch.run/mcp"
    }
  }
}

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

webfetch.run in other clients