Modern LLMs struggle with recent software releases, live news, and undocumented breaking changes. While solutions like Tavily, Serper, or Google Custom Search exist, they introduce recurring per-call fees and lack the deep multi-source synthesis of specialized search engines.
If you already have a Perplexity Pro account, you can bridge it directly into Claude Desktop or Claude Code.
I built perplexity-pro-mcp — a lightweight MCP server that queries Perplexity Pro via your session credentials.
What it Provides
| Tool | Capability |
|---|---|
perplexity_search |
Real-time web querying with synthesized answers, sources, and citations |
perplexity_follow_up |
Contextual multi-turn question answering inside the same research thread |
perplexity_threads |
Manage and resume prior search sessions |
perplexity_export |
Export structured research reports to Markdown/PDF |
It also exposes Perplexity's built-in focus modes:
-
internet: Broad web search -
academic: ArXiv, PubMed, and peer-reviewed journals -
reddit: Community sentiment, troubleshooting discussions, and raw developer advice -
youtube: Video transcripts and summaries
2-Minute Setup
1. Retrieve Session Cookie
Log into perplexity.ai, open DevTools (F12), head to the Network tab, click any request to perplexity.ai, and copy your full Cookie header string.
2. Configure Claude Code
claude mcp add perplexity -e PERPLEXITY_COOKIE="<YOUR_COOKIE>" -- npx -y perplexity-pro-mcp
Or Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"perplexity": {
"command": "npx",
"args": ["-y", "perplexity-pro-mcp"],
"env": {
"PERPLEXITY_COOKIE": "<YOUR_COOKIE>"
}
}
}
}
Example Interaction
Prompt to Claude: "What are the latest breaking changes in Next.js 15 canary releases and how do I adapt my Server Actions?"
Claude executes perplexity_search(query="Next.js 15 canary breaking changes server actions", mode="copilot"). Instead of hallucinatory advice, Claude returns verified code snippets accompanied by direct source citations.
Check out the repo on GitHub: github.com/MIt9/perplexity-pro-mcp

Top comments (0)