Perplexity MCP Server
The Perplexity MCP Server enables web search capabilities via Perplexity's AI API. With this server, you can:
Perform web searches by sending queries to Perplexity's API
Integrate with Claude Desktop App for seamless search functionality
Configure which Perplexity AI model to use (e.g., sonar-reasoning-pro, sonar) for different response capabilities
Automate search tasks by issuing search commands
Enable direct searching from prompts when integrated with compatible clients
Provides web search capabilities using Perplexity's API, allowing Claude to search for information on the internet
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Perplexity MCP Server what are the latest developments in quantum computing?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 https://www.perplexity.ai/settings/api)
Claude Desktop App
Related MCP server: Perplexity Web Search MCP Server
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
Clone this repository:
git clone https://github.com/jaacob/perplexity-mcp cd perplexity-mcpInstall dependencies:
npm installBuild the server:
npm run build
Configuration
Get your Perplexity API key from https://www.perplexity.ai/settings/api
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 reasoningsonar-reasoning- Enhanced reasoning capabilitiessonar-pro- Faster response timessonar- Default model (used if no model is specified)
For up-to-date model pricing and availability, visit: https://docs.perplexity.ai/guides/pricing
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:
Edit
src/index.tsRebuild with
npm run buildRestart Claude to load the changes
License
MIT
Available Tools
1 toolsearchC
Search the web using Perplexity AI
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion or overlap between tools, making disambiguation perfect. The tool's purpose is clearly defined as web search using Perplexity AI, leaving no room for misselection.
A single tool named 'search' follows a consistent and straightforward verb-based naming pattern. There are no other tools to compare against, so no inconsistency can exist in the naming scheme.
One tool is too few for a server named 'Perplexity MCP Server', which implies broader capabilities beyond just search. A single tool feels thin and under-scoped for what might be expected from a Perplexity AI integration, such as additional operations like summarization or follow-up queries.
The tool surface is severely incomplete for a web search domain; it only offers a basic search function without any complementary tools for refining results, getting summaries, or handling related queries. This creates significant gaps that could lead to agent failures in complex tasks.
Maintenance
Related MCP Connectors
Real-time web search, reasoning, and research through Perplexity's API
Enable AI assistants to perform web searches using Perplexity's Sonar Pro.
Provides AI assistants with access to Seltz's powerful Web Search capabilities.
Agent-native internet gateway: typed search, fetch, scrape, crawl, and extract via the Clawifi API.
Related MCP Servers
- AlicenseBqualityDmaintenanceA server facilitating web search functionality by utilizing Perplexity AI's API, designed to integrate with the Claude desktop client for enhanced search queries.1310MIT
- FlicenseNot gradedqualityDmaintenanceAllows Claude or other MCP-compatible AI assistants to search the web and get up-to-date information using the Perplexity API, with features for filtering results by time period.8-
- AlicenseNot gradedqualityDmaintenanceIntegrates the Sonar API to provide Claude with real-time web-wide research capabilities. Enables conversational web searches through Perplexity's AI-powered search engine for up-to-date information retrieval.2,018 npmMIT
- AlicenseNot gradedqualityDmaintenanceExposes Perplexity AI's search capabilities to Claude, enabling real-time web search and information retrieval within the assistant. The project is currently in active development with plans to support Perplexity Spaces and multi-source data synthesis.Apache 2.0