Perplexity MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PERPLEXITY_MODELNoDefault model to use as the baseline for automatic model selectionsonar
PERPLEXITY_API_KEYYesYour Perplexity API key from https://www.perplexity.ai/settings/api

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
search

Search the web using Perplexity AI

domain_filter

Add a domain to allow or block in search results (max 3 domains per type)

recency_filter

Set the time recency for search results

clear_filters

Clear all domain filters

list_filters

List all current domain filters

model_info

Get information about available models and optionally set a specific model