Perplexity MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PERPLEXITY_API_KEY | Yes | Perplexity API key | |
| PERPLEXITY_TIMEOUT | No | API timeout in ms | 60000 |
| PERPLEXITY_DEFAULT_MODEL | No | Default model for text tools | sonar-pro |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| askA | Ask Perplexity a question with real-time web-grounded answers and citations. Trigger: 'use perplexity', 'ask perplexity', or 'perplexity:' followed by a question. |
| search_webB | Search the web using Perplexity with real-time results, domain filtering, recency filtering, and detailed citations. Best-in-class AI search. Trigger: 'perplexity search', 'perplexity web search', or 'search with perplexity'. |
| deep_researchA | Conduct deep, exhaustive research on a topic using Perplexity's sonar-deep-research model. Best for comprehensive analysis, literature reviews, and multi-source synthesis. May take longer. Trigger: 'perplexity research', 'perplexity deep research', or 'deep research with perplexity'. |
| search_with_reasoningA | Search the web with step-by-step reasoning using Perplexity's sonar-reasoning-pro model. Best for complex questions requiring multi-step analysis with live web data. Trigger: 'perplexity reason', 'perplexity think', or 'reason with perplexity'. |
| searchA | Get raw ranked search results from Perplexity's search index. Returns structured results with titles, URLs, and snippets. Best for getting a list of sources without AI synthesis. Trigger: 'perplexity raw search', 'perplexity search results'. |
| code_reviewB | Have Perplexity review code with web-grounded best practices and current documentation. Trigger: 'perplexity review', 'perplexity code review', or 'have perplexity review'. |
| brainstormB | Brainstorm solutions with Perplexity, informed by real-time web data and current trends. Trigger: 'perplexity brainstorm', 'brainstorm with perplexity', or 'perplexity ideas'. |
| explainB | Clear explanations of concepts, code, or technical topics using Perplexity with web-grounded accuracy. Trigger: 'perplexity explain'. |
| upload_fileA | Upload a document for Perplexity to analyze. Supports text files (txt, md, py, js, ts, csv, json, etc.) and images (png, jpg, gif, webp). Trigger: 'perplexity upload file', 'upload to perplexity'. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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/wynandw87/claude-code-perplexity-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server