Skip to content
Gemini CLI

Perplexity Agent for Gemini CLI

io.github.zalez/perplexity-agent-mcp

Multi-step web research with citations via Perplexity's Agent API. Standard library only.

client:Gemini CLI transport:stdio runtime:pypi

Install Perplexity Agent 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": {
    "perplexity-agent-mcp": {
      "command": "uvx",
      "args": [
        "perplexity-agent-mcp"
      ],
      "env": {
        "PERPLEXITY_API_KEY": "<PERPLEXITY_API_KEY>",
        "PERPLEXITY_AGENT_WAIT_SECONDS": "<PERPLEXITY_AGENT_WAIT_SECONDS>"
      }
    }
  }
}

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

Perplexity Agent in other clients