Perplexity MCP Server

Enables chat completion requests with citations using the Perplexity API within an MCP server environment.

Local serverstdio

What is the Perplexity MCP server?

Perplexity MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Enables chat completion requests with citations using the Perplexity API within an MCP server environment.

What you get

Enables chat completion requests with citations using the Perplexity API within an MCP server environment.

What the assistant can call

Once Perplexity is connected, these are the calls the assistant has available:

  • ask_perplexity — Request chat completion with citations from Perplexity
  • Tools — The Tools tool exposed by this server

Configuration and credentials

You will need one environment variable: PERPLEXITY_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Choosing this one

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Perplexity's toolset — ask_perplexity, Tools — is a fair guide to whether it matches your workflow. It is maintained by xiyuefox; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Perplexity's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the perplexity mcp server does with a few real requests.

Available tools

ToolWhat it does
ask_perplexityRequest chat completion with citations from Perplexity
ToolsThe Tools tool exposed by this server.

How to install the Perplexity MCP server

"mcpServers": {
  "Perplexity": {
    "command": "uvx",
    "args": [
      "mcp-server-perplexity"
    ],
    "env": {
      "PERPLEXITY_API_KEY": "your-perplexity-api-key"
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
PERPLEXITY_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Perplexity to ask perplexity.
  • Use Perplexity to Tools.

Frequently asked questions

It connects Perplexity to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (ask_perplexity, Tools) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Perplexity directly.