Perplexity MCP Server
Enables chat completion requests with citations from Perplexity AI, allowing access to Perplexity's language model capabilities through the ask_perplexity tool.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Perplexity MCP Serverwhat are the latest developments in quantum computing?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Perplexity MCP Server
MCP Server for the Perplexity API.
:warning: Limitations:
The Claude Desktop client may timeout if Perplexity processing takes too long
This issue might be resolved if Claude Desktop implements support for long running operations and progress reporting in the future
Implementation updates to handle these features will be made if they become available
Components
Tools
ask_perplexity: Request chat completion with citations from Perplexity
Related MCP server: Perplexity MCP Server
Quickstart
Install
Claude Desktop
On macOS:
~/Library/Application\ Support/Claude/claude_desktop_config.jsonOn Windows:
%APPDATA%/Claude/claude_desktop_config.json
"mcpServers": {
"Perplexity": {
"command": "uvx",
"args": [
"mcp-server-perplexity"
],
"env": {
"PERPLEXITY_API_KEY": "your-perplexity-api-key"
}
}
}Available Tools
1 toolask_perplexityA
Perplexity equips agents with a specialized tool for efficiently gathering source-backed information from the internet, ideal for scenarios requiring research, fact-checking, or contextual data to inform decisions and responses. Each response includes citations, which provide transparent references to the sources used for the generated answer, and choices, which contain the model's suggested responses, enabling users to access reliable information and diverse perspectives. This function may encounter timeout errors due to long processing times, but retrying the operation can lead to successful completion. [Response structure]
id: An ID generated uniquely for each response.
model: The model used to generate the response.
object: The object type, which always equals
chat.completion.created: The Unix timestamp (in seconds) of when the completion was created.
citations[]: Citations for the generated answer.
choices[]: The list of completion choices the model generated for the input prompt.
usage: Usage statistics for the completion request.
| Name | Required | Description | Default |
|---|---|---|---|
| messages | Yes | A list of messages comprising the conversation so far. | |
| model | Yes | The name of the model that will complete your prompt. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key traits: it provides 'source-backed information' with 'citations' for transparency, includes 'choices' for diverse perspectives, and warns about 'timeout errors due to long processing times' with a retry suggestion. However, it doesn't cover rate limits, authentication needs, or detailed error handling beyond timeouts.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the core purpose, but includes a detailed response structure section that repeats information that could be in an output schema. While informative, this adds length without adding proportional value for tool selection. Some sentences could be more concise, but overall it's reasonably structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (internet research with potential timeouts) and lack of annotations and output schema, the description does a good job covering key aspects: purpose, behavioral traits like citations and errors, and response structure. However, it could improve by mentioning authentication, rate limits, or more specific use-case boundaries to be fully complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 100%, so the schema already documents both parameters ('messages' and 'model') thoroughly. The description adds no specific information about parameters beyond what's in the schema, such as format examples or usage tips. This meets the baseline of 3 when schema coverage is high.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'gathering source-backed information from the internet' with specific use cases like 'research, fact-checking, or contextual data.' It uses specific verbs like 'gather' and 'equip' and identifies the resource as internet information. However, with no sibling tools mentioned, it cannot demonstrate differentiation from alternatives.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage scenarios ('ideal for scenarios requiring research, fact-checking, or contextual data') but does not provide explicit guidance on when to use this tool versus alternatives. No exclusions or prerequisites are mentioned, and with no sibling tools, there's no comparison to other options.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
With only one tool, there is no possibility of ambiguity or overlap between tools. The tool 'ask_perplexity' has a clearly defined purpose focused on internet research with source-backed information, citations, and choices.
A single tool inherently has perfect naming consistency. The name 'ask_perplexity' follows a clear verb_noun pattern that is descriptive and appropriate for its function.
One tool is too few for a server's purpose, as it severely limits functionality and flexibility. While the tool is well-described, a single tool cannot provide comprehensive coverage for research or information-gathering tasks, making the server feel thin and incomplete.
The server is severely incomplete for its apparent domain of internet research and information gathering. With only one tool, there are significant gaps—such as no ability to refine searches, filter results, manage queries, or handle different types of data retrieval—which will likely cause agent failures in complex scenarios.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Related MCP Servers
- MIT
- AlicenseAqualityDmaintenanceAn MCP server that enables Claude to perform web searches using Perplexity's API with intelligent model selection based on query intent and support for domain and recency filtering.64MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that brings Perplexity's Sonar models with real-time web search capabilities to Claude Desktop and other MCP clients.419MIT
- AlicenseAqualityDmaintenanceAn MCP server that enables AI assistants to query Perplexity AI for web-grounded answers with citations and advanced search filters.375MIT
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/xiyuefox/mcp-server-perplexity'
If you have feedback or need assistance with the MCP directory API, please join our Discord server