Skip to main content
Glama
RossH121

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

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RossH121/perplexity-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server