Skip to content
Gemini CLI

LastSearch for Gemini CLI

io.github.lastsearch-hq/lastsearch

Evidence-backed web research for AI agents with citations and confidence scores.

client:Gemini CLI transport:stdio runtime:npm

Install LastSearch 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": {
    "lastsearch": {
      "command": "npx",
      "args": [
        "-y",
        "lastsearch"
      ],
      "env": {
        "LASTSEARCH_API_KEY": "<LASTSEARCH_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

LastSearch in other clients