Provides a Python interface to the Perplexity API for querying responses and managing conversations.
Provides a Python interface to the Perplexity API for querying responses and managing conversations.
The Perplexity MCP Server provides a Python-based interface to the Perplexity API, offering tools for querying responses, maintaining chat history, and managing conversations. It supports model configuration via environment variables and stores chat data locally. Built with Python and setuptools, it's designed for integration with development environments.
Before using this MCP server, ensure you have: - Python 3.10 or higher - uvx package manager installed Note: Installation instructions for uvx are available here.
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| ask_perplexity | Request expert programming assistance through Perplexity. Focuses on coding solutions, error debugging, and technical explanations. Returns responses with source citations and alternative suggestions. |
| chat_perplexity | Maintains ongoing conversations with Perplexity AI. Creates new chats or continues existing ones with full history context. Returns chat ID for future continuation. |
| list_chats_perplexity | Lists all available chat conversations with Perplexity AI. Returns chat IDs, titles, and creation dates (displayed in relative time format, e.g., "5 minutes ago", "2 days ago"). Results are paginated with 50 chats per pa |
| read_chat_perplexity | Retrieves the complete conversation history for a specific chat. Returns the full chat history with all messages and their timestamps. No API calls are made to Perplexity - this only reads from local storage. |
{
"mcpServers": {
"mcp-perplexity": {
"command": "uvx",
"args": [
"mcp-perplexity"
],
"env": {
"PERPLEXITY_API_KEY": "your-api-key",
"PERPLEXITY_MODEL": "sonar-pro",
"DB_PATH": "chats.db"
}
}
}
}Maintainer configuration example. Replace example paths and credential placeholders before connecting.
Before using this MCP server, ensure you have: - Python 3.10 or higher - uvx package manager installed Note: Installation instructions for uvx are available here.
| Variable | Description | Required |
|---|---|---|
| PERPLEXITY_API_KEY | Credential the server authenticates with. | Yes |
| PERPLEXITY_MODEL | Configuration value read at startup. | Optional |
| DB_PATH | Filesystem location the server is allowed to use. | Optional |
| WEB_UI_HOST | Endpoint or connection string the server talks to. | Optional |
Retrieve public web pages as readable Markdown with the reference Fetch MCP server, including pagination for longer responses.
Use Firecrawl MCP to retrieve website content and extract information for research through Firecrawl’s API-backed web tools.
HelloGrowth CRM MCP is an AI-powered CRM integration platform that enables secure AI access to CRM data, lead and customer management, deal tracking
VUDA (Visual UI Debug Agent) is a Model Context Protocol server for inspecting and testing web interfaces with Playwright. The MCP server runs locally over standard input/output; its browser can run…
AI-powered SEO and marketing intelligence — keyword research, SERP analysis, backlink checking, and content optimization for any website.
A Model Context Protocol (MCP) server for Firecrawl Simple, a powerful web scraping and site mapping tool that enables Large Language Models (LLMs) to access and process web content.