perplexity-mcp
A MCP server for Claude Desktop that enables Perplexity.ai searching
Documentation
Perplexity MCP Server
An MCP server that provides web search capabilities using Perplexity's API.
Prerequisites
- Node.js (v14 or higher)
- A Perplexity API key (get one at )
- Claude Desktop App
Installation
Installing via Smithery
To install Perplexity Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @jaacob/perplexity-mcp --client claudeManual Installation
1. Clone this repository:
git clone https://github.com/jaacob/perplexity-mcp
cd perplexity-mcp2. Install dependencies:
npm install3. Build the server:
npm run buildConfiguration
1. Get your Perplexity API key from
2. Add the server to Claude's config file at `~/Library/Application Support/Claude/claude_desktop_config.json`:
{
"mcpServers": {
"perplexity-server": {
"command": "node",
"args": [
"/absolute/path/to/perplexity-mcp/build/index.js"
],
"env": {
"PERPLEXITY_API_KEY": "your-api-key-here",
"PERPLEXITY_MODEL": "sonar"
}
}
}
}Replace `/absolute/path/to` with the actual path to where you cloned the repository.
Available Models
You can specify which model to use by setting the `PERPLEXITY_MODEL` environment variable. Available options:
- `sonar-reasoning-pro` - Most capable model with enhanced reasoning
- `sonar-reasoning` - Enhanced reasoning capabilities
- `sonar-pro` - Faster response times
- `sonar` - Default model (used if no model is specified)
For up-to-date model pricing and availability, visit:
Usage
After configuring the server and restarting Claude, you can simply ask Claude to search for information. For example:
- "What's the latest news about SpaceX?"
- "Search for the best restaurants in Chicago"
- "Find information about the history of jazz music"
Claude will automatically use the Perplexity search tool to find and return relevant information.
If for whatever reason it decides not to, you can force the issue by prepending your prompt with "Search the web".
Development
To modify the server:
1. Edit `src/index.ts`
2. Rebuild with `npm run build`
3. Restart Claude to load the changes
License
MIT
Frequently asked questions
What is perplexity-mcp?
perplexity-mcp is A MCP server for Claude Desktop that enables Perplexity.ai searching
How do I install perplexity-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is perplexity-mcp open source?
Yes — it is hosted on GitHub at https://github.com/jaacob/perplexity-mcp and has 7 stars.
Related MCP tools
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
Use any LLMs (Large Language Models) for Deep Research. Support SSE API and MCP server.
Enhanced MCP server for interactive user feedback and command execution in AI-assisted development, featuring dual interface support (Web UI and Desktop Application) with intelligent environment detection and cross-platform compatibility.
A powerful Zotero AI and MCP plugin with ChatGPT, Gemini 3.7, Claude Fable 5, Claude Opus 5, DeepSeek V4, Grok, OpenRouter, Kimi k3, GLM 5.3, SiliconFlow, GPT-oss, Gemma 4, Qwen 3.8
Connect your browser to AI models. Just use Dia on Chrome, Arc or Firefox.
文颜 MCP Server 可以让 AI 自动将 Markdown 文章排版后发布至微信公众号。
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP