Perplexity MCP
Powerful AI tools in your IDE without API fees.
Just use your Perplexity account.
search
research
reason
Quick search, deep research, and advanced reasoning models at your fingertips.
claude mcp add perplexity \
--env PERPLEXITY_SESSION_TOKEN="..." \
--env PERPLEXITY_CSRF_TOKEN="..." \
-- npx -y perplexity-web-api-mcp
{
"command": "npx",
"args": ["-y", "perplexity-web-api-mcp"],
"env": {
"PERPLEXITY_SESSION_TOKEN": "...",
"PERPLEXITY_CSRF_TOKEN": "..."
}
}
No API keys?
Correct. It uses your existing session. No per-request fees, no matter how much you search.
How to get tokens?
Open perplexity.ai, Inspect → Application → Cookies.
Copy session-token and csrf-token.
Is it free?
MCP itself is free. But it needs a Perplexity account. It works with free accounts, but Pro users get higher limits and better models (like Sonar Pro).