Skip to content
Gemini CLI

Exa Search for Gemini CLI

io.github.exa-labs/exa-mcp-server

Neural web search built for agents: web search with live crawling, code-context search, company research and page crawling. Needs an Exa API key.

client:Gemini CLI transport:stdio runtime:npm tools:4

Install Exa 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": {
    "exa-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "exa-mcp-server"
      ],
      "env": {
        "EXA_API_KEY": "<EXA_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

What Gemini CLI can do once it is connected

Exa Search in other clients