Multi-step web research with citations via Perplexity's Agent API. Standard library only.
registry version 0.4.0
Python
uvx perplexity-agent-mcpPython
uvx perplexity-agent-mcp@0.4.0
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>"
}
}
}
}{
"mcpServers": {
"perplexity-agent-mcp": {
"command": "uvx",
"args": [
"perplexity-agent-mcp@0.4.0"
],
"env": {
"PERPLEXITY_API_KEY": "<YOUR_PERPLEXITY_API_KEY>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env PERPLEXITY_API_KEY=<YOUR_PERPLEXITY_API_KEY> perplexity-agent-mcp -- uvx perplexity-agent-mcp
claude mcp add --env PERPLEXITY_API_KEY=<YOUR_PERPLEXITY_API_KEY> perplexity-agent-mcp -- uvx perplexity-agent-mcp@0.4.0
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"perplexity-agent-mcp": {
"command": "uvx",
"args": [
"perplexity-agent-mcp"
],
"env": {
"PERPLEXITY_API_KEY": "<YOUR_PERPLEXITY_API_KEY>"
}
}
}
}{
"mcpServers": {
"perplexity-agent-mcp": {
"command": "uvx",
"args": [
"perplexity-agent-mcp@0.4.0"
],
"env": {
"PERPLEXITY_API_KEY": "<YOUR_PERPLEXITY_API_KEY>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"perplexity-agent-mcp": {
"command": "uvx",
"args": [
"perplexity-agent-mcp"
],
"env": {
"PERPLEXITY_API_KEY": "<YOUR_PERPLEXITY_API_KEY>"
}
}
}
}{
"servers": {
"perplexity-agent-mcp": {
"command": "uvx",
"args": [
"perplexity-agent-mcp@0.4.0"
],
"env": {
"PERPLEXITY_API_KEY": "<YOUR_PERPLEXITY_API_KEY>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"perplexity-agent-mcp": {
"command": "uvx",
"args": [
"perplexity-agent-mcp"
],
"env": {
"PERPLEXITY_API_KEY": "<YOUR_PERPLEXITY_API_KEY>"
}
}
}
}{
"mcpServers": {
"perplexity-agent-mcp": {
"command": "uvx",
"args": [
"perplexity-agent-mcp@0.4.0"
],
"env": {
"PERPLEXITY_API_KEY": "<YOUR_PERPLEXITY_API_KEY>"
}
}
}
}Format verified against the official Windsurf docs ↗.
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.最近更新于 42 天前 · BSD-3-Clause license
Distributed as Python, listed under Search. Review our MCP security guide before granting access to real data.
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.
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.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](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>