MCP directory
PA

Perplexity Agent

by github.com/zalez · v0.4.0 · updated Aug 2, 2026

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

PyPI

Run it locally

Install the package and point your AI client at it.

PyPI

uvx perplexity-agent-mcp==0.4.0

Environment variables

  • PERPLEXITY_API_KEYrequiredsecret

    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

    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.

More MCP servers