Perplexity API Platform MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | HTTP server port (for HTTP server deployment) | 8080 |
| HTTP_PROXY | No | Standard HTTP proxy environment variable (alternative to PERPLEXITY_PROXY) | |
| HTTPS_PROXY | No | Standard HTTPS proxy environment variable (alternative to PERPLEXITY_PROXY) | |
| BIND_ADDRESS | No | Network interface to bind to (for HTTP server deployment) | 0.0.0.0 |
| ALLOWED_ORIGINS | No | CORS origins, comma-separated (for HTTP server deployment) | * |
| PERPLEXITY_PROXY | No | Proxy URL for corporate networks (e.g., https://your-proxy-host:8080 or https://username:password@your-proxy-host:8080) | |
| PERPLEXITY_API_KEY | Yes | Your Perplexity API key from the API Portal | |
| PERPLEXITY_LOG_LEVEL | No | Log level: DEBUG, INFO, WARN, or ERROR | ERROR |
| PERPLEXITY_TIMEOUT_MS | No | Timeout 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
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.
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.
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.
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.