Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PERPLEXITY_MODEL | No | Default model to use as the baseline for automatic model selection | sonar |
| PERPLEXITY_API_KEY | Yes | Your Perplexity API key from https://www.perplexity.ai/settings/api |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search | Web search via Perplexity AI with automatic model selection. Returns cited sources with summaries. The search uses only the query text (not conversation history). Best for: current events, factual research, technical documentation, comparative analysis. |
| domain_filter | Configure domain filtering for search results. Use 'allow' to prioritize trusted sources (e.g., documentation sites, academic domains) or 'block' to exclude unreliable sources. Maximum 20 domains total. Filters persist across searches until cleared. |
| recency_filter | Control the time window for search results. Essential for time-sensitive queries like news, updates, or recent developments. Filter persists until changed. |
| clear_filters | Remove all domain filters (both allowed and blocked). Use when switching search contexts or starting fresh. Does not affect recency filter. |
| list_filters | Display current filter configuration including allowed domains, blocked domains, and active recency setting. Useful for debugging search behavior. |
| model_info | View available Perplexity models and their specializations, or manually override model selection. By default, models are auto-selected based on query intent (research, reasoning, general search). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |