Perplexity MCP Server
The Perplexity MCP Server allows you to perform web searches using Perplexity AI. It provides a single tool called perplexity_search that takes a query as input and uses the Perplexity AI API to execute web searches. The server includes cross-platform support with specific setup instructions for Windows and development/production modes, and uses an .env file for API key configuration.
Allows to search the web using Perplexity AI by providing a query parameter through the 'perplexity_search' tool
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 find recent advancements 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
This is a simple MCP server that allows you to search the web using Perplexity AI.
MCP Review Certified: https://mcpreview.com/mcp-servers/spragginsdesigns/perplexity-mcp-server
Related MCP server: Tavily MCP Server
Installation
Prerequisites
Node.js 18+ (Download from nodejs.org)
Git (Download from git-scm.com)
A Perplexity AI API key
Steps for Windows
Clone the repository:
git clone [repository-url]
cd perplexity-mcp-serverInstall dependencies:
npm installCreate environment file:
Create a new file named
.envin the root directoryAdd your Perplexity AI API key:
PERPLEXITY_API_KEY=your_api_key_here
Usage on Windows
Development Mode
npm run devProduction Mode
Build the project:
npm run buildStart the server:
npm startUsing the Windows Batch File (Recommended)
To avoid environment variable issues on Windows, use the included batch file:
Build the project first:
npm run buildRun the batch file:
.\run-perplexity-server.batAlternatively, double-click the run-perplexity-server.bat file in Windows Explorer.
For detailed instructions, see the Windows Setup Guide.
Troubleshooting Windows Issues
Common Issues
Permission Errors
Run Command Prompt or PowerShell as Administrator
Check file permissions in the project directory
Environment Variables
Ensure
.envfile is in the root directoryNo spaces around the
=sign in.envfileRestart terminal after making changes to environment variables
Use the provided batch file to avoid environment variable issues
Node.js Issues
Verify Node.js installation:
node --versionEnsure npm is installed:
npm --version
Error Messages
If you see Error: ENOENT: no such file or directory, ensure:
All paths use correct Windows-style separators
You're in the correct directory
Required files exist
Project Structure
perplexity-mcp-server/
├── src/
│ └── index.ts # Main server implementation
├── dist/ # Compiled output
├── .env # Environment variables
├── package.json # Project configuration
├── run-perplexity-server.bat # Windows batch file
└── tsconfig.json # TypeScript configurationAPI Usage
The server provides a single tool perplexity_search for web searches:
{
"name": "perplexity_search",
"arguments": {
"query": "your search query here"
}
}License
MIT
Available Tools
1 toolperplexity_searchC
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 ambiguity or overlap between tools. The single tool has a clear and distinct purpose, making it impossible for an agent to misselect between multiple options.
A single tool inherently has perfect naming consistency, as there are no other tools to compare it against for patterns. The name 'perplexity_search' follows a clear verb_noun format, but consistency cannot be assessed across a set of one.
A single tool is generally too few for most server purposes, as it limits functionality and flexibility. For a web search server, this minimal scope might suffice for basic queries, but it feels thin and lacks auxiliary operations like filtering or advanced search options.
The server's purpose appears to be web search, and the single tool covers the core action of searching. However, there are notable gaps, such as no tools for refining searches, handling different search types (e.g., news, images), or managing search history, which could lead to agent workarounds or limitations.
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.
Web search API and MCP server for developers building AI agents.
Provides AI assistants with access to Seltz's powerful Web Search capabilities.
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

Tavily MCP Serverofficial
AlicenseAqualityCmaintenanceThis server enables AI systems to integrate with Tavily's search and data extraction tools, providing real-time web information access and domain-specific searches.420,962 npm2,477MIT- FlicenseBqualityNot gradedmaintenanceA server that allows AI assistants to perform web searches using Perplexity's sonar-deep-research model with citation support.111-
- AlicenseNot gradedqualityDmaintenanceA Type 3 DAuth MCP server for Perplexity AI API that provides web search, chat, embeddings, and content moderation using Perplexity's search-focused AI models.MIT