Mcp Perplexity

Created By
daniel-lxsa year ago
Overview

What is Mcp Perplexity?

Mcp Perplexity is a Python-based server that provides an interface to the Perplexity API, enabling users to query responses, maintain chat history, and manage conversations seamlessly.

How to use Mcp Perplexity?

To use Mcp Perplexity, set up your environment with the required Python version and install the necessary packages. Configure your client with the required environment variables, including your Perplexity API key, and run the server using the provided command.

Key features of Mcp Perplexity?

  • Model Configuration via Environment Variables: Customize the Perplexity model for different tools.
  • Persistent Chat History: Maintain ongoing conversations with full context.
  • Streaming Responses with Progress Reporting: Handle slow responses effectively.
  • Web UI: An interactive interface for managing chats and viewing history.

Use cases of Mcp Perplexity?

  1. Debugging and coding assistance through the ask_perplexity tool.
  2. Ongoing conversations for research and technical discussions using chat_perplexity.
  3. Managing and retrieving chat histories for analysis or review.

FAQ from Mcp Perplexity?

  • What programming language is used?

Mcp Perplexity is built using Python.

  • Is there a web interface?

Yes, a web UI is available for easier interaction when enabled.

  • How do I configure the server?

Configuration is done through environment variables, including API keys and model settings.

Server Config

{
  "mcpServers": {
    "mcp-perplexity": {
      "command": "uvx",
      "args": [
        "mcp-perplexity"
      ],
      "env": {
        "PERPLEXITY_API_KEY": "your-api-key",
        "PERPLEXITY_MODEL": "sonar-pro",
        "DB_PATH": "chats.db"
      }
    }
  }
}
Project Info
Created At
a year ago
Updated At
a year ago
Author Name
daniel-lxs
Star
-
Language
-
License
-

Recommend Servers

View All
Traveltype Mcp Server

32 minutes ago