Skip to main content
Glama

Perplexity AI MCP Server

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.

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

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.

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

  1. Purpose
    1. Setup
      1. Usage
        1. Technologies Used
          1. Known Issues
            1. Contributing

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                Enables integration of DeepSeek's language models with MCP-compatible applications, offering features like chat completion, custom model selection, and parameter control for enhancing language-based interactions.
                Last updated -
                2
                53
                259
                JavaScript
                MIT License
              • A
                security
                A
                license
                A
                quality
                An MCP server integrating Perplexity AI's API to offer advanced search capabilities with support for multiple models and result configuration.
                Last updated -
                1
                696
                1
                JavaScript
                MIT License
              • A
                security
                A
                license
                A
                quality
                A custom MCP tool that integrates Perplexity AI's API with Claude Desktop, allowing Claude to perform web-based research and provide answers with citations.
                Last updated -
                1
                4
                JavaScript
                MIT License
                • Apple
              • -
                security
                A
                license
                -
                quality
                Provides access to Perplexity AI models through two tools: ask\_perplexity for expert programming assistance and chat\_perplexity for maintaining ongoing conversations with context preservation.
                Last updated -
                Python
                MIT License
                • Linux
                • Apple

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/rileyedwards77/perplexity-mcp-server'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server