Best for
- AI assistants that need real-time web search
- Users needing Perplexity Agent API research and reasoning capabilities
- Developers using MCP-compatible client tools
The official Perplexity MCP Server provides four tools for real-time search, conversational answers, deep research, and advanced reasoning. It requires a Perplexity API key and network access, and uses stdio by default.
The official MCP server implementation for the Perplexity API Platform. It gives AI assistants real-time web search, reasoning, and research capabilities through the Agent API and Search API. The server runs over stdio, and the npm package is @perplexity-ai/mcp-server 1.2.0.
Get an API key from the Perplexity API Portal, set PERPLEXITY_API_KEY to that key, and run npx -y @perplexity-ai/mcp-server using the supplied client configuration. For long research tasks, set PERPLEXITY_TIMEOUT_MS. Corporate networks may require PERPLEXITY_PROXY, HTTPS_PROXY, or HTTP_PROXY.
{"mcpServers":{"perplexity":{"command":"npx","args":["-y","@perplexity-ai/mcp-server"],"env":{"PERPLEXITY_API_KEY":"your_key_here"}}}}