P

Perplexity Agent

MCP server · by zalez

Search Python v0.4.0

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

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

registry version 0.4.0

Python
uvx perplexity-agent-mcp

Setup by client

Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.

claude_desktop_config.json

{
  "mcpServers": {
    "perplexity-agent-mcp": {
      "command": "uvx",
      "args": [
        "perplexity-agent-mcp"
      ],
      "env": {
        "PERPLEXITY_API_KEY": "<YOUR_PERPLEXITY_API_KEY>"
      }
    }
  }
}

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.

  • PERPLEXITY_API_KEY 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 — 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.

GitHub

最近更新于 42 天前 · BSD-3-Clause license

About this server

Distributed as Python, listed under Search. Review our MCP security guide before granting access to real data.

Frequently asked questions

How do I install Perplexity Agent?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is Perplexity Agent free to use?

The MCP server itself is free to install. The source is public on https://github.com/zalez/perplexity-agent-mcp. Any third-party service it calls may require its own API key and account.

Which clients support Perplexity Agent?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/perplexity-agent-mcp.svg)](https://mcpnav.net/server/perplexity-agent-mcp/)

HTML

<a href="https://mcpnav.net/server/perplexity-agent-mcp/"><img src="https://mcpnav.net/badge/perplexity-agent-mcp.svg" alt="Listed on MCPNav" height="20"></a>