The Perplexity MCP is Perplexity's official server. It gives Claude web search, written answers with sources, reasoning and a deep research mode, all through the Perplexity API.
perplexity_search
Ranked web results with recency and domain filters
perplexity_ask
Quick written answers from live web search, with sources
perplexity_research
Deep research that writes a full report, in minutes
perplexity_reason
Step-by-step reasoning for harder analytical questions
Prompts to try
When to use
- You want to see which brands AI search recommends in your category
- You need cited answers or a sourced research report fast
- You want web search inside a client that doesn't have it
When not to use
- You need lists of companies or pages: use Exa
- You need the full text of competitors' pages: use Firecrawl
- You need keyword volumes or rankings: use DataForSEO or Ahrefs
Watch out
- It needs a Perplexity API key with credits, separate from a Perplexity Pro subscription.
- Deep research calls cost more and can take minutes. Raise
PERPLEXITY_TIMEOUT_MSlocally if they time out.
- Keep your API key out of shared project configs.
Install
Get an API key in the Perplexity API settings, then:
Terminal
Loading editor...
claude mcp add --transport http perplexity https://api.perplexity.ai/mcp --header "Authorization: Bearer YOUR_API_KEY"
To run it locally:
claude mcp add perplexity --env PERPLEXITY_API_KEY="your_key_here" -- npx -y @perplexity-ai/mcp-server. The same npx command works in Codex and Cursor. Claude Code users can also install it as a plugin with /plugin marketplace add perplexityai/modelcontextprotocol.More in Top MCP servers for web data.