Perplexity MCP Server
@DaInfernalCoder
About Perplexity MCP Server
A Model Context Protocol (MCP) server for research and documentation assistance using Perplexity AI. Won 1st @ Cline Hackathon
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"perplexity": {
"command": "node",
"args": [
"/path/to/perplexity-server/build/index.js"
],
"env": {
"PERPLEXITY_API_KEY": "YOUR_API_KEY_HERE"
},
"disabled": false,
"autoApprove": []
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Perplexity MCP Server?
An intelligent research assistant that integrates with Perplexity’s specialized AI models via the Model Context Protocol. It automatically detects query complexity and routes requests to the most appropriate model for optimal results, and forces the AI agent to be specific. Unlike the official server, it provides search capabilities for every task.
How to use Perplexity MCP Server?
Install Node.js, get a Perplexity API key from perplexity.ai/settings/api, then configure your MCP client with the server either by pointing to a local build (node /path/to/build/index.js) or directly via npx -y perplexity-mcp. Pass the API key through the environment variable PERPLEXITY_API_KEY, a command‑line --api-key argument, or a .env file using the --cwd argument. Use the three provided tools: search, reason, and deep_research.
Key features of Perplexity MCP Server
- Three tools: search, reason, deep research.
- Automatic query complexity detection routes to the best model.
- Forces the AI agent to be specific.
- Supports Sonar Pro, Sonar Reasoning Pro, and Sonar Deep Research models.
- Configurable via environment variable, CLI argument, or .env file.
- Works with any MCP‑compatible client.
Use cases of Perplexity MCP Server
- Quick fact lookup using the
searchtool. - Multi‑step analysis and comparisons with the
reasontool. - In‑depth research with comprehensive report generation via
deep_research. - Embedding precise, research‑backed answers into AI assistant workflows.
FAQ from Perplexity MCP Server
What tools does Perplexity MCP Server provide?
search (Sonar Pro) for simple queries, reason (Sonar Reasoning Pro) for complex analysis, and deep_research (Sonar Deep Research) for thorough investigations. Each accepts an optional force_model parameter.
How is this different from the official Perplexity MCP server?
This server provides search capabilities for every task, whereas the official server does not. It also forces the agent to be specific.
What are the runtime and dependency requirements?
Node.js from nodejs.org and a valid Perplexity API key from perplexity.ai/settings/api.
How can I pass my Perplexity API key?
Three methods in order of priority: command‑line --api-key argument, PERPLEXITY_API_KEY environment variable, or a .env file located via the --cwd argument.
Does the server support any transport besides local stdio?
No. The README only documents configuration for local MCP client integration over stdio; no other transports are mentioned.
More AI & Agents MCP servers
MCP Manager for Claude Desktop
zueaisimple web ui to manage mcp (model context protocol) servers in the claude app
Mcp Agent
lastmile-aiBuild effective agents using Model Context Protocol and simple workflow patterns
Gemini MCP Server
aliargunMCP server implementation for Google's Gemini API
1MCP - One MCP Server for All
1mcp-appA unified Model Context Protocol server implementation that aggregates multiple MCP servers into one.
MCP-NixOS - Because Your AI Assistant Shouldn't Hallucinate About Packages
utensilsMCP-NixOS - Model Context Protocol Server for NixOS resources
Comments