mcp-perplexity
53
The Perplexity Chat MCP Server is a Python-based interface designed for integration with development environments. It provides tools to interact with Perplexity API, maintain chat history, and configure models via environment variables. Additionally, it includes a web UI for interactive and real-time chat management.
Perplexity Chat MCP Server
The Perplexity MCP Server offers a Python-based interface to the Perplexity API, enabling users to query responses, maintain chat history, and manage conversations. Key features include:
- Model configuration via environment variables for flexible model selection.
- Tools such as
ask_perplexity
for programming assistance, andchat_perplexity
to maintain ongoing conversations and manage chat history. - A web UI for interactive chat management, including chat history viewing and real-time message display.
Components
Tools
- ask_perplexity: Provides programming assistance and technical explanations with source citations.
- chat_perplexity: Continues existing conversations with full history context.
- list_chats_perplexity: Lists all available chat conversations with pagination.
- read_chat_perplexity: Retrieves the full conversation history from local storage.
Quickstart
Before using the server, ensure you have Python 3.10 or higher and the uvx
package manager installed.