概要
What is Perplexity MCP Server?
Perplexity MCP Server is a Model Context Protocol server that provides a tool—ask_perplexity—for requesting chat completions with citations from the Perplexity API. It is designed for developers using MCP clients (such as Claude Desktop) who want to integrate Perplexity’s search-grounded answers.
How to use Perplexity MCP Server?
Install it by adding an entry to your Claude Desktop configuration file with the command uvx, arguments ["mcp-server-perplexity"], and the environment variable PERPLEXITY_API_KEY set to your Perplexity API key. Once configured, you can invoke the ask_perplexity tool from your MCP client to get chat completions with citations.
Key features of Perplexity MCP Server
- Exposes a single MCP tool:
ask_perplexity - Returns chat completions with citations from Perplexity
- Easy to install via
uvxand Claude Desktop config - Works with any MCP client supporting tools
Use cases of Perplexity MCP Server
- Query Perplexity for answers that include cited sources
- Incorporate factual, citation-backed responses into AI workflows
- Use Perplexity’s chat completion within MCP-enabled applications
FAQ from Perplexity MCP Server
What does the ask_perplexity tool do?
It requests a chat completion from Perplexity and returns the response along with citations.
What are the known limitations of this server?
The Claude Desktop client may timeout if Perplexity’s processing takes too long. This might be resolved if Claude Desktop adds support for long-running operations and progress reporting.
How do I configure the server?
Set the PERPLEXITY_API_KEY environment variable in your Claude Desktop configuration, using uvx as the command and mcp-server-perplexity as the argument.
Do I need an API key to use this server?
Yes, a valid Perplexity API key is required and must be provided via the PERPLEXITY_API_KEY environment variable.