Perplexity MCP Server logo

Perplexity MCP Server

by DaInfernalCoder

An intelligent research assistant powered by Perplexity's specialized AI models. It features automatic query complexity detection to route requests to the most appropriate model for optimal results.

View on GitHub

Last updated: N/A

What is Perplexity MCP Server?

The Perplexity MCP Server is an interface to Perplexity's AI models, providing search and research capabilities. It intelligently selects the best model based on the complexity of the query, ensuring optimal results.

How to use Perplexity MCP Server?

To use the server, configure it within your MCP settings file, providing the path to the server's build and your Perplexity API key. Then, use the provided JavaScript code snippets with use_mcp_tool to access the 'search', 'reason', and 'deep_research' tools, passing in your query and any optional arguments.

Key features of Perplexity MCP Server

  • Automatic query complexity detection

  • Intelligent model selection (Sonar Pro, Sonar Reasoning Pro, Sonar Deep Research)

  • Search capabilities for every task

  • Ability to force a specific model

  • Deep Research tool for comprehensive analysis

Use cases of Perplexity MCP Server

  • Quick information lookup

  • Complex problem-solving

  • In-depth research on complex topics

  • Comparing and contrasting different concepts

  • Generating detailed reports

FAQ from Perplexity MCP Server

What is Sonar Pro used for?

Sonar Pro is used for quick search and basic information lookup, best for straightforward questions that need concise, direct answers.

When should I use Sonar Reasoning Pro?

Sonar Reasoning Pro should be used for complex, multi-step tasks requiring detailed analysis, explanations, comparisons, and problem-solving.

What is the purpose of Sonar Deep Research?

Sonar Deep Research conducts comprehensive research and generates detailed reports, ideal for in-depth analysis of complex topics.

Can I force the server to use a specific model?

Yes, you can override the automatic selection using force_model: true in any tool's arguments.

What do I need to set up the Perplexity MCP Server?

You need Node.js, a Perplexity API key, and to clone the repository. Then, configure the server in your MCP settings file with the appropriate command, arguments, and environment variable for the API key.