Skip to main content
Glama
Perplexity MCP Server

Perplexity MCP Server

by xiyuefox

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.json

  • On 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 tool
ask_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.

Inputs: messages (required), model (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 1 tool

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count2/5

    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.

    Completeness2/5

    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.

    Related MCP Connectors

    Related MCP Servers