analytics
Perplexity MCP Server
Official Perplexity MCP. Web search, deep research, and reasoning from Claude Code or any MCP client. Four tools: search, ask, research, reason.
Pricing: freemium — MCP server is free and open source (MIT). Perplexity API is pay-per-use. Free credits for new accounts.
Features
- Web search with ranked results and metadata
- Quick Q&A via sonar-pro model
- Deep research via sonar-deep-research for thorough analysis
- Reasoning and problem-solving via sonar-reasoning-pro
- Strip thinking tags to save context tokens
- Works with Claude Code, Cursor, VS Code, Windsurf, Codex
Setup Instructions
1. Get an API key from the Perplexity API Portal (perplexity.ai/account/api)
2. Add to your MCP config:
``
json
{
"mcpServers": {
"perplexity": {
"command": "npx",
"args": ["-y", "@perplexity-ai/mcp-server"],
"env": {
"PERPLEXITY_API_KEY": "your-api-key"
}
}
}
}
``
3. Restart your editor and start searching the web from your AI assistantAdded: 2026-02-25