Perplexity AI Server

Perplexity AI Server

Provides a standardized way to integrate Perplexity AI's features like chat, search, and documentation access into MCP-based systems.

rileyedwards77

Remote Shell Execution
AI Integration Systems
Advanced AI Reasoning
Visit Server

Tools

chat_perplexity

Maintains ongoing conversations with Perplexity AI. Creates new chats or continues existing ones with full history context.

search

Perform a general search query to get comprehensive information on any topic

get_documentation

Get documentation and usage examples for a specific technology, library, or API

find_apis

Find and evaluate APIs that could be integrated into a project

check_deprecated_code

Check if code or dependencies might be using deprecated features

README

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

  1. Install Node.js and npm: Ensure you have Node.js and npm installed on your system.
  2. Clone the repository: Clone this repository to your local machine.
  3. Install dependencies: Navigate to the project directory and run npm install.
  4. Configure API Key: Set the PERPLEXITY_API_KEY environment variable to your Perplexity API key.
  5. Run the server: Run npm start to 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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
AIO-MCP Server

AIO-MCP Server

🚀 All-in-one MCP server with AI search, RAG, and multi-service integrations (GitLab/Jira/Confluence/YouTube) for AI-enhanced development workflows. Folk from

Featured
Local
React MCP

React MCP

react-mcp integrates with Claude Desktop, enabling the creation and modification of React apps based on user prompts

Featured
Local
Atlassian Integration

Atlassian Integration

Model Context Protocol (MCP) server for Atlassian Cloud products (Confluence and Jira). This integration is designed specifically for Atlassian Cloud instances and does not support Atlassian Server or Data Center deployments.

Featured
Any OpenAI Compatible API Integrations

Any OpenAI Compatible API Integrations

Integrate Claude with Any OpenAI SDK Compatible Chat Completion API - OpenAI, Perplexity, Groq, xAI, PyroPrompts and more.

Featured
Exa MCP

Exa MCP

A Model Context Protocol server that enables AI assistants like Claude to perform real-time web searches using the Exa AI Search API in a safe and controlled manner.

Featured
MySQL Server

MySQL Server

Allows AI assistants to list tables, read data, and execute SQL queries through a controlled interface, making database exploration and analysis safer and more structured.

Featured