Perplexity MCP Server

Python
8
  • Apple
A
security – no known vulnerabilities (report Issue)
F
license - not found
A
quality - confirmed to work

Interacting with Perplexity API.

  1. Tools
  2. Prompts
  3. Resources
  4. Server Configuration
  5. README.md

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
ask_perplexity 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.

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PERPLEXITY_API_KEYYesYour Perplexity API key
README.md

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

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" } } }

GitHub Badge

Glama performs regular codebase and documentation scans to:

  • Confirm that the MCP server is working as expected.
  • Confirm that there are no obvious security issues with dependencies of the server.
  • Extract server characteristics such as tools, resources, prompts, and required parameters.

Our directory badge helps users to quickly asses that the MCP server is safe, server capabilities, and instructions for installing the server.

Copy the following code to your README.md file:

Alternative MCP servers

  • A
    security
    F
    license
    A
    quality
    This MCP server implements VariousPolicies according to CSA BOD 25-01 requirements for Microsoft 365 cloud services
  • A
    security
    A
    license
    A
    quality
    Give Claude access to real-time knowledge and premium content. Get rid of Claude's cutoff data and transform Claude's responses with current events, and trusted, premium sources through Linkup's powerful search capability.
    MIT
  • A
    security
    A
    license
    A
    quality
    A Model Context Protocol server for document format conversion using pandoc. This server provides tools to transform content between different document formats while preserving formatting and structure.
    MIT
    • Apple
  • A
    security
    A
    license
    A
    quality
    A datetime formatting service implemented as an MCP server for the Claude Desktop Application. Supports generation of datetime strings in various formats.
    MIT
    • Apple