Skip to main content
Glama
perplexityai

Perplexity API Platform MCP Server

by perplexityai

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP server port (for HTTP server deployment)8080
HTTP_PROXYNoStandard HTTP proxy environment variable (alternative to PERPLEXITY_PROXY)
HTTPS_PROXYNoStandard HTTPS proxy environment variable (alternative to PERPLEXITY_PROXY)
BIND_ADDRESSNoNetwork interface to bind to (for HTTP server deployment)0.0.0.0
ALLOWED_ORIGINSNoCORS origins, comma-separated (for HTTP server deployment)*
PERPLEXITY_PROXYNoProxy URL for corporate networks (e.g., https://your-proxy-host:8080 or https://username:password@your-proxy-host:8080)
PERPLEXITY_API_KEYYesYour Perplexity API key from the API Portal
PERPLEXITY_LOG_LEVELNoLog level: DEBUG, INFO, WARN, or ERRORERROR
PERPLEXITY_TIMEOUT_MSNoTimeout in milliseconds (default: 5 minutes)300000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
perplexity_askB

Engages in a conversation using the Sonar API. Accepts an array of messages (each with a role and content) and returns a chat completion response from the Perplexity model.

perplexity_researchB

Performs deep research using the Perplexity API. Accepts an array of messages (each with a role and content) and returns a comprehensive research response with citations.

perplexity_reasonB

Performs reasoning tasks using the Perplexity API. Accepts an array of messages (each with a role and content) and returns a well-reasoned response using the sonar-reasoning-pro model.

perplexity_searchA

Performs web search using the Perplexity Search API. Returns ranked search results with titles, URLs, snippets, and metadata. Perfect for finding up-to-date facts, news, or specific information.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 4 tools

Disambiguation4/5

The tools are mostly distinct with clear primary purposes: 'ask' for general conversation, 'reason' for reasoning tasks, 'research' for deep research with citations, and 'search' for web search results. However, 'ask' and 'reason' could be confused as both involve chat completions with similar inputs, potentially leading to misselection in ambiguous scenarios.

Naming Consistency5/5

All tool names follow a consistent 'perplexity_' prefix with descriptive suffixes (ask, reason, research, search), using snake_case uniformly. This predictable pattern makes it easy for an agent to understand and navigate the tool set without confusion.

Tool Count5/5

With 4 tools, the count is well-scoped for a server focused on interacting with the Perplexity API. Each tool serves a distinct function (conversation, reasoning, research, search), and there are no redundant or unnecessary tools, making the set efficient and appropriate for the domain.

Completeness4/5

The tool set covers core functionalities of the Perplexity API, including general chat, reasoning, research, and web search, which aligns well with the server's purpose. A minor gap is the lack of tools for managing conversations (e.g., clearing history or handling follow-ups), but agents can work around this using the provided message arrays.

Maintenance

ActivityMaintained
ResponsivenessUnresponsive