Skip to main content

Perplexity Agent

io.github.zalez/perplexity-agent-mcp

v0.4.0Updated Aug 2, 2026stdio · PyPI

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

Install

Needs 1 secret. Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add perplexity-agent-mcp -e 'PERPLEXITY_API_KEY=<your-perplexity-api-key>' -- uvx perplexity-agent-mcp==0.4.0

Configuration

2 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • PERPLEXITY_API_KEY
    Env var· required· secret
    Your Perplexity API key. Read at call time and sent only as an Authorization header to api.perplexity.ai; never logged or echoed.
  • PERPLEXITY_AGENT_WAIT_SECONDS
    Env var· optional
    How long a blocking call waits before handing back a response_id to collect later. Defaults to 55, just inside Claude Desktop's unconfigurable 60s tool-call timeout. Raise to 300 on clients without that limit.

Listed in the official MCP Registry since Aug 2, 2026. Mirrored daily; last checked Nov 26, 2026.