Perplexity MCP Server
by MCP-Mirror
This is a simple MCP server that allows you to search the web using Perplexity AI. It provides a single tool `perplexity_search` for web searches.
Last updated: N/A
What is Perplexity MCP Server?
The Perplexity MCP Server is a Node.js-based server that integrates with the Perplexity AI API to provide web search capabilities. It exposes a single tool that can be used to perform searches using the Perplexity AI engine.
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. Then, you can run the server in development mode using npm run dev
or build and start it in production mode using npm run build
and npm start
respectively. The server exposes the perplexity_search
tool, which accepts a 'query' argument.
Key features of Perplexity MCP Server
Web search using Perplexity AI
Simple API with a single tool
Easy installation and setup
Development and production modes
Configuration via environment variables
Use cases of Perplexity MCP Server
Integrating web search into applications
Building AI-powered assistants
Automating information retrieval
Creating search-enabled chatbots
FAQ from Perplexity MCP Server
What is an MCP server?
What is an MCP server?
While not explicitly defined in the README, in this context, it likely refers to a server that implements a specific Machine Communication Protocol (MCP) or acts as a bridge to one, enabling interaction with the Perplexity AI service.
How do I get a Perplexity AI API key?
How do I get a Perplexity AI API key?
The README doesn't provide instructions on obtaining an API key. You'll need to refer to the Perplexity AI documentation or website for information on how to acquire one.
What is the perplexity_search
tool?
What is the perplexity_search
tool?
The perplexity_search
tool is the primary interface for performing web searches. It accepts a 'query' argument, which is the search term you want to use.
What do I do if I get a permission error on Windows?
What do I do if I get a permission error on Windows?
Try running Command Prompt or PowerShell as Administrator and check file permissions in the project directory.
What do I do if I get an 'Error: ENOENT: no such file or directory' error?
What do I do if I get an 'Error: ENOENT: no such file or directory' error?
Ensure all paths use correct Windows-style separators, you're in the correct directory, and all required files exist.