Skip to content
Gemini CLI

Serpent API for Gemini CLI

io.github.apiserpent/apiserpent-mcp

Real-time Google search results for AI agents, powered by Serpent API (apiserpent.com).

client:Gemini CLI transport:stdio runtime:oci

Install Serpent API 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": {
    "apiserpent-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/apiserpent/apiserpent-mcp:1.0.1"
      ],
      "env": {
        "APISERPENT_API_KEY": "<APISERPENT_API_KEY>"
      }
    }
  }
}

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

Serpent API in other clients