Multi-step web research with citations via Perplexity's Agent API. Standard library only.
Connect Runs on your machine
claude mcp add perplexity-agent-mcp -e PERPLEXITY_API_KEY=<PERPLEXITY_API_KEY> -e PERPLEXITY_AGENT_WAIT_SECONDS=<PERPLEXITY_AGENT_WAIT_SECONDS> -- uvx perplexity-agent-mcp==0.4.0
{
"mcpServers": {
"perplexity-agent-mcp": {
"command": "uvx",
"args": [
"perplexity-agent-mcp==0.4.0"
],
"env": {
"PERPLEXITY_API_KEY": "<PERPLEXITY_API_KEY>",
"PERPLEXITY_AGENT_WAIT_SECONDS": "<PERPLEXITY_AGENT_WAIT_SECONDS>"
}
}
}
}
{
"mcpServers": {
"perplexity-agent-mcp": {
"command": "uvx",
"args": [
"perplexity-agent-mcp==0.4.0"
],
"env": {
"PERPLEXITY_API_KEY": "<PERPLEXITY_API_KEY>",
"PERPLEXITY_AGENT_WAIT_SECONDS": "<PERPLEXITY_AGENT_WAIT_SECONDS>"
}
}
}
}
{
"servers": {
"perplexity-agent-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"perplexity-agent-mcp==0.4.0"
],
"env": {
"PERPLEXITY_API_KEY": "<PERPLEXITY_API_KEY>",
"PERPLEXITY_AGENT_WAIT_SECONDS": "<PERPLEXITY_AGENT_WAIT_SECONDS>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
PERPLEXITY_API_KEYRequired, 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_SECONDSOptional | 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. |
Details
| Package | [email protected] (PYPI, stdio) |
| First published | 2 Aug 2026 |
| Last updated | 2 Aug 2026 |
| Registry name | io.github.zalez/perplexity-agent-mcp |
More search and web servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
