Built by Metorial, the integration platform for agentic AI.

Learn More

perplexity

Perplexity

    Server Summary

    • Search web information

    • Conduct deep research

    • Advanced logical reasoning

    • Access cited sources

Perplexity MCP Server

The Perplexity MCP Server provides seamless integration with Perplexity's powerful AI capabilities, including conversational AI, deep research, advanced reasoning, and web search. This server enables you to leverage Perplexity's Sonar API and Search API directly within your MCP-compatible applications, bringing citation-backed answers, comprehensive research capabilities, and intelligent reasoning to your workflows.

Overview

Perplexity has established itself as a leader in AI-powered search and research, providing accurate, up-to-date information with verifiable citations. This MCP server bridges the gap between your applications and Perplexity's suite of AI models, allowing you to tap into different specialized models depending on your needs—whether you're having a quick conversation, conducting in-depth research, solving complex reasoning problems, or performing web searches.

The server is designed to be intuitive and flexible, supporting message-based interactions that maintain context and conversation flow. Each tool returns responses with proper citations, ensuring that information is traceable and verifiable—a crucial feature for research, decision-making, and content creation.

Features

Multi-Model Support

Access different Perplexity models optimized for specific tasks:

  • Sonar API: For conversational interactions with citation-backed responses
  • Sonar Deep Research: For comprehensive, in-depth research on complex topics
  • Sonar Reasoning Pro: For advanced logical reasoning and problem-solving
  • Search API: For direct web search with ranked, structured results

Citation-Backed Responses

Every response from the conversational, research, and reasoning tools includes proper citations, allowing you to verify sources and trace information back to its origin. This transparency is essential for academic work, professional research, and fact-checking.

Conversation Context

All tools support message arrays, enabling you to maintain conversation context and build upon previous exchanges. This allows for more natural, flowing interactions where the AI can reference earlier parts of the conversation.

Flexible Search Capabilities

The search functionality provides granular control over results, including regional filtering, result limits, and content extraction depth, making it suitable for everything from quick lookups to detailed research gathering.

Tools

perplexity_ask

Engages in conversational interactions using Perplexity's Sonar API. This tool is ideal for general queries, follow-up questions, and interactive discussions where you need quick, accurate answers with citations.

Parameters:

  • messages (required): An array of conversation messages
    • Each message must include:
      • role: The role of the message sender (system, user, or assistant)
      • content: The text content of the message

Use cases: Quick questions, clarifications, conversational AI interactions, getting cited answers to straightforward queries.

perplexity_research

Performs comprehensive, deep research using the sonar-deep-research model. This tool is designed for complex topics that require thorough investigation, synthesis of multiple sources, and detailed analysis.

Parameters:

  • messages (required): An array of conversation messages
    • Each message must include:
      • role: The role of the message sender (system, user, or assistant)
      • content: The text content of the message

Use cases: Academic research, market analysis, technical deep-dives, comprehensive topic exploration, literature reviews, competitive analysis.

perplexity_reason

Applies advanced reasoning capabilities using the sonar-reasoning-pro model. This tool excels at logical problem-solving, analytical thinking, and tasks that require step-by-step reasoning and deduction.

Parameters:

  • messages (required): An array of conversation messages
    • Each message must include:
      • role: The role of the message sender (system, user, or assistant)
      • content: The text content of the message

Use cases: Complex problem-solving, logical puzzles, analytical tasks, mathematical reasoning, strategic planning, decision analysis.

perplexity_search

Performs direct web searches using Perplexity's Search API, returning ranked results with metadata. Unlike the conversational tools, this provides structured search results rather than synthesized answers.

Parameters:

  • query (required): The search query string
  • country (optional): ISO 3166-1 alpha-2 country code for regional results (e.g., "US", "GB")
  • max_results (optional): Maximum number of results to return (1-20, default: 10)
  • max_tokens_per_page (optional): Maximum tokens to extract per webpage (256-2048, default: 1024)

Use cases: Research gathering, finding specific sources, discovering recent information, regional searches, content aggregation.

Resource Templates

The server provides several resource templates that allow you to access and reference different types of data:

search-result

Access detailed results from a specific search query. This resource template uses the URI format search-result://{query} and allows you to retrieve and reference search results in a structured way.

conversation

Access a specific conversation thread with all messages. Using the URI format conversation://{conversationId}, you can retrieve entire conversation histories, making it easy to reference and continue previous discussions.

citation

Access detailed information about a specific citation or source. The URI format citation://{citationUrl} enables you to dig deeper into sources referenced in responses, verifying information and exploring original content.

research

Access a completed research task with all findings and citations. Using the URI format research://{topic}, you can retrieve comprehensive research reports generated by the deep research tool, complete with all sources and analysis.

Benefits

Accuracy and Reliability

By leveraging Perplexity's AI models, you gain access to information that is both current and accurate. The citation system ensures that every claim can be verified, reducing the risk of misinformation.

Versatility

With four different tools targeting different use cases, you can choose the right approach for your specific need. Whether you need a quick answer, deep research, logical reasoning, or raw search results, there's a tool designed for that purpose.

Context Preservation

The message-based interaction model means you can build complex, multi-turn conversations where context is preserved. This makes the tools feel more natural and allows for progressive refinement of queries and exploration of topics.

Integration Ready

As an MCP server, this integrates seamlessly with any MCP-compatible application, bringing Perplexity's capabilities into your existing workflows without requiring extensive custom development.

Typical Workflows

The Perplexity MCP Server supports various workflows depending on your objectives:

Research Workflow: Start with perplexity_search to gather sources, then use perplexity_research for deep analysis, and finally reference specific citations using the citation resource template.

Problem-Solving Workflow: Use perplexity_reason to work through complex logical problems, with the conversation resource template allowing you to save and reference your reasoning chains.

Interactive Learning Workflow: Begin with perplexity_ask for general questions, use the conversation template to maintain context, and escalate to perplexity_research when you need more comprehensive coverage of a topic.

Content Creation Workflow: Use perplexity_search to find current information, perplexity_research to synthesize comprehensive understanding, and leverage the citation resources to properly attribute sources in your work.

The Perplexity MCP Server transforms how you interact with AI-powered search and research tools, making powerful capabilities accessible through a clean, standardized interface. Whether you're a researcher, developer, analyst, or content creator, this server provides the tools you need to find, verify, and synthesize information efficiently.