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
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:
- Install dependencies:
- Create environment file:
- Create a new file named
.env
in the root directory - Add your Perplexity AI API key:
- Create a new file named
Usage on Windows
Development Mode
Production Mode
- Build the project:
- Start the server:
Using the Windows Batch File (Recommended)
To avoid environment variable issues on Windows, use the included batch file:
- Build the project first:
- Run the batch file:
Alternatively, 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
.env
file is in the root directory - No spaces around the
=
sign in.env
file - Restart terminal after making changes to environment variables
- Use the provided batch file to avoid environment variable issues
- Ensure
- Node.js Issues
- Verify Node.js installation:
node --version
- Ensure npm is installed:
npm --version
- Verify Node.js installation:
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
API Usage
The server provides a single tool perplexity_search
for web searches:
License
MIT
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
이 서버를 사용하면 사용자는 Perplexity AI를 사용하여 웹 검색을 수행할 수 있으며, 간단한 API 인터페이스를 통해 검색 결과를 검색할 수 있는 도구를 제공합니다.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA server facilitating web search functionality by utilizing Perplexity AI's API, designed to integrate with the Claude desktop client for enhanced search queries.Last updated -237MIT License
- AsecurityAlicenseAqualityAn MCP server integrating Perplexity AI's API to offer advanced search capabilities with support for multiple models and result configuration.Last updated -3531MIT License
- AsecurityFlicenseAqualityThis server provides access to the Perplexity AI API, enabling interaction through chatting, searching, and documentation retrieval within MCP-based systems.Last updated -2
- AsecurityFlicenseAqualityA server that allows AI assistants to perform web searches using Perplexity's sonar-deep-research model with citation support.Last updated -17