The MCP-researcher Server acts as an intelligent research assistant powered by Perplexity AI models, offering various specialized tools for:
Quick information retrieval through
searchandget_documentationtoolsComplex reasoning tasks like comparisons and problem-solving via the
reasontoolIn-depth research on multifaceted topics using the
deep_researchtoolOngoing conversations with Perplexity AI through the
chat_perplexitytool with context awarenessAPI discovery and evaluation for project integration using the
find_apistoolCode maintenance by checking for deprecated code or dependencies
The server intelligently routes queries to appropriate models (Sonar Pro, Sonar Reasoning Pro, Sonar Deep Research) based on complexity, with search capabilities available across all tasks.
Utilizes Perplexity's Sonar Pro API to perform searches, get documentation, find APIs, and check deprecated code
Provides capabilities to retrieve React documentation and check for deprecated React patterns like class components
Uses SQLite for local chat history storage
Perplexity MCP Server
An intelligent research assistant powered by Perplexity's specialized AI models. Features automatic query complexity detection to route requests to the most appropriate model for optimal results. Unlike the Official server, it has search capabilities FOR EVERY TASK, essentially
It also forces the agent using the MCP to be specific
Tools
1. Search (Sonar Pro)
Quick search for simple queries and basic information lookup. Best for straightforward questions that need concise, direct answers.
2. Reason (Sonar Reasoning Pro)
Handles complex, multi-step tasks requiring detailed analysis. Perfect for explanations, comparisons, and problem-solving.
3. Deep Research (Sonar Deep Research)
Conducts comprehensive research and generates detailed reports. Ideal for in-depth analysis of complex topics.
Related MCP server: SystemPrompt MCP Server
Setup
Prerequisites
Node.js (from nodejs.org)
Perplexity API key (from perplexity.ai/settings/api)
clone the repo somewhere
Configure MCP Settings
Add to your MCP settings file (location varies by platform):
Or use NPX to not have to install it locally (recommended for macos):
In case the MCP Client is not able to parse the Perplexity API Key from the
environment using methods like "${env:PERPLEXITY_API_KEY}" common in modern
AI Coding Agents (e.g. Kiro), there are two fallback solutions:
Command-Line Argument: Pass the API key directly as a command-line argument, and you can even try to see whether "${env:PERPLEXITY_API_KEY}" works in there.
Read an explicit : specify the location of the project .env file with the environment variables and API keys for your current project with the --cwd command-line argument, and the MCP Server will read the .env file from the directory finding the Perplexity API Key from there.
Priority Order: Command-line argument > Environment variable > .env file with --cwd (path needed)