Perplexity Sonar MCP Server
by felores
An MCP server implementation that brings the power of Perplexity's Sonar models to Claude Desktop and other MCP clients. It provides access to Perplexity's advanced AI models with web search capabilities, allowing Claude to perform real-time web searches and provide up-to-date information during conversations.
Last updated: N/A
What is Perplexity Sonar MCP Server?
This is an MCP server that integrates Perplexity's Sonar AI models, including web search, with Claude Desktop and other MCP-compatible clients.
How to use Perplexity Sonar MCP Server?
To use with Claude Desktop, configure the claude_desktop_config.json
file with the provided MCP server settings, including your Perplexity API key. Alternatively, run the server in standalone mode using the command line with the PERPLEXITY_API_KEY
environment variable set.
Key features of Perplexity Sonar MCP Server
Real-time Web Search
Multiple Sonar Models (sonar, sonar-pro, sonar-reasoning, sonar-deep-research)
Rich Parameter Configuration (search domains, response format, temperature, token generation)
Seamless Integration with Claude Desktop
Use cases of Perplexity Sonar MCP Server
Accessing up-to-date information during conversations with Claude
Performing in-depth research with comprehensive citations using sonar-deep-research
Filtering search results to specific domains for targeted information retrieval
Using logical reasoning capabilities with sonar-reasoning
FAQ from Perplexity Sonar MCP Server
How do I get a Perplexity API key?
How do I get a Perplexity API key?
You can obtain a Perplexity API key by creating an account at https://www.perplexity.ai/account/api.
What Node.js version is required?
What Node.js version is required?
Node.js version 18.0.0 or higher is required.
Where can I find Claude Desktop logs?
Where can I find Claude Desktop logs?
On macOS, logs are located at ~/Library/Logs/Claude/mcp.log
. On Windows, they are at %APPDATA%\Claude\logs\mcp.log
.
What models are available?
What models are available?
The available models are sonar
, sonar-pro
, sonar-reasoning
, and sonar-deep-research
.
How do I specify a different port for the standalone server?
How do I specify a different port for the standalone server?
You can specify a different port using the PORT
environment variable, e.g., PORT=8080 perplexity-sonar-mcp
.