# Connect Claude to Perplexity AI Pro with Zero Search API Fees

> Source: <https://dev.to/mit9/connect-claude-to-perplexity-ai-pro-with-zero-search-api-fees-5hmf>
> Published: 2026-09-24 07:57:58+00:00

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](https://github.com/MIt9/perplexity-pro-mcp) — a lightweight MCP server that queries Perplexity Pro via your session credentials.

| 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
Log into [perplexity.ai](https://www.perplexity.ai), open DevTools (`F12`), head to the **Network** tab, click any request to `perplexity.ai`, and copy your full `Cookie` header string.

```
claude mcp add perplexity -e PERPLEXITY_COOKIE="<YOUR_COOKIE>" -- npx -y perplexity-pro-mcp
```

`claude_desktop_config.json`)

```
{
  "mcpServers": {
    "perplexity": {
      "command": "npx",
      "args": ["-y", "perplexity-pro-mcp"],
      "env": {
        "PERPLEXITY_COOKIE": "<YOUR_COOKIE>"
      }
    }
  }
}
```

**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](https://github.com/MIt9/perplexity-pro-mcp)
