Perplexity Agent MCP
This community-built, zero-dependency MCP server exposes Perplexity's Agent API to AI agents via stdio. It enables multi-step web research with citations by starting research runs, collecting results, and canceling operations. It uses only the Python standard library, avoiding external SDKs or HTTP libraries, and is designed to run alongside official Perplexity servers that wrap Sonar models.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Perform multi-step web research with citations
- Start asynchronous research runs and wait for results
- Collect progress or final answers from research runs
- Cancel ongoing research tasks
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
perplexity-agent-mcp 0.4.0
{
"version": "0.4.0",
"transport": "stdio",
"identifier": "perplexity-agent-mcp",
"runtimeHint": "uvx",
"registryType": "pypi",
"registryBaseUrl": "https://pypi.org",
"environmentVariables": [
{
"name": "PERPLEXITY_API_KEY",
"isRequired": true,
"description": "Your Perplexity API key. Read at call time and sent only as an Authorization header to api.perplexity.ai; never logged or echoed."
},
{
"name": "PERPLEXITY_AGENT_WAIT_SECONDS",
"description": "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."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"perplexity-agent-mcp": {
"command": "uvx",
"args": [
"perplexity-agent-mcp==0.4.0"
],
"env": {
"PERPLEXITY_API_KEY": "<YOUR_PERPLEXITY_API_KEY>",
"PERPLEXITY_AGENT_WAIT_SECONDS": "<YOUR_PERPLEXITY_AGENT_WAIT_SECONDS>"
}
}
}
}Cline
{
"mcpServers": {
"perplexity-agent-mcp": {
"command": "uvx",
"args": [
"perplexity-agent-mcp==0.4.0"
],
"env": {
"PERPLEXITY_API_KEY": "<YOUR_PERPLEXITY_API_KEY>",
"PERPLEXITY_AGENT_WAIT_SECONDS": "<YOUR_PERPLEXITY_AGENT_WAIT_SECONDS>"
}
}
}
}VS Code
{
"servers": {
"perplexity-agent-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"perplexity-agent-mcp==0.4.0"
],
"env": {
"PERPLEXITY_API_KEY": "<YOUR_PERPLEXITY_API_KEY>",
"PERPLEXITY_AGENT_WAIT_SECONDS": "<YOUR_PERPLEXITY_AGENT_WAIT_SECONDS>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"perplexity-agent-mcp": {
"command": "uvx",
"args": [
"perplexity-agent-mcp==0.4.0"
],
"env": {
"PERPLEXITY_API_KEY": "<YOUR_PERPLEXITY_API_KEY>",
"PERPLEXITY_AGENT_WAIT_SECONDS": "<YOUR_PERPLEXITY_AGENT_WAIT_SECONDS>"
}
}
}
}Let your agent find its tools
Find servers like Perplexity Agent MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.