Perplexity MCP Server
by spragginsdesigns
This is a simple MCP server that allows you to search the web using Perplexity AI. It provides a `perplexity_search` tool for web searches.
Last updated: N/A
What is Perplexity MCP Server?
The Perplexity MCP Server is a Node.js application that acts as a simple MCP (Meta-Control Protocol) server, enabling web searches using the Perplexity AI API. It provides a single tool for querying the web.
How to use Perplexity MCP Server?
To use the server, you need to clone the repository, install the dependencies using npm install
, and set up your Perplexity AI API key in a .env
file. You can then run the server in development mode using npm run dev
or in production mode by building the project with npm run build
and starting the server with npm start
. On Windows, it's recommended to use the provided batch file run-perplexity-server.bat
after building the project.
Key features of Perplexity MCP Server
Web searching using Perplexity AI
MCP server implementation
Easy installation and setup
Development and production modes
Windows batch file for simplified usage
Use cases of Perplexity MCP Server
Integrating web search functionality into applications
Providing a search tool for AI agents
Building custom search interfaces
Automated information retrieval
Research and data analysis
FAQ from Perplexity MCP Server
What is an MCP server?
What is an MCP server?
MCP stands for Meta-Control Protocol. It's a protocol used for communication between different components in a system, often used in AI agent frameworks.
How do I get a Perplexity AI API key?
How do I get a Perplexity AI API key?
You need to sign up for a Perplexity AI account and obtain an API key from their platform.
What Node.js version is required?
What Node.js version is required?
Node.js version 18 or higher is required.
Why use the batch file on Windows?
Why use the batch file on Windows?
The batch file helps avoid common environment variable issues encountered on Windows.
What if I get a 'file not found' error?
What if I get a 'file not found' error?
Ensure all paths are correct, you are in the correct directory, and all required files exist. Double-check file names and extensions.