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.
Strongest · Documentation 15/20 Weakest · Reliability 10/20
Static review · not runListed 2026-07-29
Read the FMRS scoring method →Runtime:Node.js · Docker
PERPLEXITY_API_KEY
Required Perplexity API key, obtained from the Perplexity API Portal (perplexity.ai/account/api/group)
PERPLEXITY_TIMEOUT_MS
Optional API request timeout in milliseconds, default 5 minutes; raise it for long research runs
PERPLEXITY_BASE_URL
Optional custom API base URL, default https://api.perplexity.ai
PERPLEXITY_LOG_LEVEL
Optional log level: DEBUG|INFO|WARN|ERROR, default ERROR
PERPLEXITY_PROXY
Optional corporate proxy URL (must include https://), supports username:password form
HTTPS_PROXY
Optional standard HTTPS proxy variable, lower priority than PERPLEXITY_PROXY
HTTP_PROXY
Optional standard HTTP proxy variable, lowest priority
PORT
HTTP-mode server port, default 8080
BIND_ADDRESS
HTTP-mode network interface to bind to, default 127.0.0.1; set to 0.0.0.0 to expose on all interfaces
ALLOWED_ORIGINS
HTTP-mode CORS origins (comma-separated), default empty (no cross-origin browser requests)
ALLOWED_HOSTS
HTTP-mode additional allowed Host header values (comma-separated); add the public hostname when binding to 0.0.0.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"}}}}
Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"perplexity": {
"command": "npx",
"args": [
"-y",
"@perplexity-ai/mcp-server"
],
"env": {
"PERPLEXITY_API_KEY": "your_key_here"
}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
claude mcp add perplexity -e PERPLEXITY_API_KEY=your_key_here -- npx -y @perplexity-ai/mcp-server
Run it in a terminal; replace any <…> placeholders with your own values first.
After configuring PERPLEXITY_API_KEY and starting the server, the client's tool list should show perplexity_search, perplexity_ask, perplexity_research, and perplexity_reason; calling perplexity_ask with a current-events question that returns sourced results confirms the connection works.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
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.
Manage your Hevy workout data from AI assistants via MCP.
Firecrawl's official MCP server for web search, scraping, and structured extraction for AI agents
One binary. One grammar. Evidence from the biomedical sources you already trust.
Encrypted, fully offline long-term memory for AI agents
Source revision 6ba09f856ab8 Data synced 2026-10-19 Read the FMRS scoring method