Perplexity AI MCP Server
This repository contains the source code for a Model Context Protocol (MCP) server that provides access to the Perplexity AI API. This server allows users to interact with Perplexity AI through various tools, including chatting, searching, and retrieving documentation.
Purpose
This server simplifies the integration of Perplexity AI into MCP-based systems. It provides a convenient and standardized way to access Perplexity AI’s capabilities.
Setup
- Install Node.js and npm: Ensure you have Node.js and npm installed on your system.
- Clone the repository: Clone this repository to your local machine.
- Install dependencies: Navigate to the project directory and run
npm install. - Configure API Key: Set the
PERPLEXITY_API_KEYenvironment variable to your Perplexity API key. - Run the server: Run
npm startto start the server.
Usage
The server exposes several tools that can be accessed through the MCP system. Refer to the MCP documentation for details on how to use these tools.
Technologies Used
- TypeScript
- @modelcontextprotocol/sdk
- axios
Known Issues
- The Perplexity API may be unreliable. Error handling is included to gracefully handle API failures.
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
Perplexity AI Server
Project Details
- rileyedwards77/perplexity-mcp-server
- Last Updated: 2/17/2025
Recomended MCP Servers
This is a 12306 ticket search server based on the Model Context Protocol (MCP).
A Model Context Protocol server for monitoring shadow-cljs builds
MCP server for Linear (https://linear.app), forked from ibraheem4/linear-mcp (https://github.com/ibraheem4/linear-mcp)
A start template for a typescript mcp server
MCP Server for structured and standardized querying of watch-related metadata such as brands, families, and reference details from...
Let LLMs manage your local dev environments
A TypeScript-based MCP server that enables testing of REST APIs through Cline. This tool allows you to test...
[PRE-ALPHA: NOT YET OPERATIONAL] Subspace Domain is a bridge that lets MCP clients on your local machine find,...





