J

perplexity-mcp-server

...
Created 2/12/2025byfr0ziii

Categories

mcp-serverperplexity-ai

Language:

JavaScript

Stars:

4

Forks:

3

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.

Last updated: 2/17/2025

Publisher info

fr0ziii's avatar

David Iglesias

software engineer analyst who loves AI and blockchain.

6
followers
6
following
14
repos

More MCP servers built with JavaScript

mcp-server-semgrep

MCP Server Semgrep is a [Model Context Protocol](https://modelcontextprotocol.io) compliant server that integrates the powerful Semgrep static analysis tool with AI assistants like Anthropic Claude. It enables advanced code analysis, security vulnerability detection, and code quality improvements directly through a conversational interface.

By Szowesgad9
protonmail-mcp

This MCP server provides email sending functionality using Protonmail's SMTP service. It allows both Claude Desktop and Cline VSCode extension to send emails on your behalf using your Protonmail credentials.

By amotivv6
agentql-mcp

Model Context Protocol server that integrates AgentQL's data extraction capabilities.

By tinyfish-io45