MCP Server Perplexity logo

MCP Server Perplexity

by tanigami

Queries the Perplexity API through MCP and returns chat completions with citations.

Install MCP Server Perplexity

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "tanigami-mcp-server-perplexity": {
      "command": "uvx",
      "args": [
        "mcp-server-perplexity"
      ],
      "env": {
        "PERPLEXITY_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

The install command didn't complete successfully in our automated test.

uvx mcp-server-perplexity

Downloading cryptography (4.5MiB) Downloading pydantic-core (2.0MiB) Downloaded pydantic-core Downloaded cryptography Installed 29 packages in 14ms Traceback (most recent call last): File "/home/user/.cache/uv/archive-v0/vLRaUULHc0IP-4kh/bin/mcp-server-perplexity", line 6, in <module> from mcp_server_perplexity import main File "/home/user/.cache/uv/archive-v0/vLRaUULHc0IP-4kh/lib/python3.11/site-packages/mcp_server_perplexity/__init__.py", line 3, in <module> from . import server

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The tanigami/mcp-server-perplexity MCP server connects MCP clients to the Perplexity API for chat completion requests. Its ask_perplexity tool returns responses with citations. Configure it as a stdio server using uvx and a PERPLEXITY_API_KEY. Reach for it when an MCP client needs to submit questions to Perplexity and receive cited results.

Use cases

  • Ask Perplexity questions from an MCP-compatible client
  • Retrieve chat completions with citations
  • Add cited Perplexity responses to an agent workflow

Key features

  • Perplexity API access over MCP
  • ask_perplexity chat-completion tool
  • Citations returned with responses
  • uvx-based stdio configuration
  • Claude Desktop configuration example

Tools1

What MCP Server Perplexity lets your agent do. Expand a tool for its parameters.

Self-reported~17 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

21/22 checks healthy over the last 111d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10d ago via OSV.dev · mcp-server-perplexity (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars95Stargazers on the source repository.
Last commit1y agoMost recent push to the default branch.
Install checkInconclusiveInstall command did not finish in our automated test.
Tools exposed1Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Server Perplexity works

What the tanigami/mcp-server-perplexity MCP server does

tanigami/mcp-server-perplexity MCP server exposes the Perplexity API through the Model Context Protocol. An MCP-compatible client can call its ask_perplexity tool to request a chat completion from Perplexity. The returned completion includes citations, making the server suitable for workflows where responses need associated sources from the Perplexity API.

The repository describes one MCP tool rather than a larger collection of API operations. It does not document separate tools for managing conversations, changing account settings, or accessing other Perplexity features.

How it works

The tanigami/mcp-server-perplexity MCP server runs as a command-based MCP process. In the documented Claude Desktop configuration, the client launches it with uvx and passes the Perplexity credential through the process environment. After the server is registered, the client can make an MCP call to ask_perplexity.

That tool sends a chat-completion request to Perplexity and provides the resulting answer with citations to the calling client.

Setup and configuration

For Claude Desktop, add an entry to the client configuration file. The documented locations are:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json

Register the server with uvx and provide the API credential as PERPLEXITY_API_KEY. A corresponding configuration has this structure:

config.json
{
  "mcpServers": {
    "Perplexity": {
      "command": "uvx",
      "args": ["mcp-server-perplexity"],
      "env": {
        "PERPLEXITY_API_KEY": "your-perplexity-api-key"
      }
    }
  }
}

Replace the placeholder with a valid Perplexity API key. The supplied setup instructions only document this Claude Desktop arrangement; they do not describe alternative installation commands or configuration formats for other clients.

Tools and capabilities

The tanigami/mcp-server-perplexity MCP server exposes:

  • ask_perplexity: requests a chat completion from Perplexity and returns citations with the completion.

This is the only tool listed in the provided repository material. Its practical use is asking Perplexity questions from an MCP client while preserving the citations supplied by the API.

Limitations and notes

Claude Desktop may time out when Perplexity takes too long to process a request. The README attributes this to the client’s handling of long-running operations and progress reporting. It notes that the issue could change if Claude Desktop adds support for those capabilities and that implementation updates may follow if they become available.

The documentation does not state a timeout value, retry behavior, or a workaround for slow requests. Plan integrations accordingly, especially for calls that may take longer than the client’s waiting period.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Server Perplexity

tanigami/mcp-server-perplexity is an MCP server that connects MCP clients to the Perplexity API. Its main tool, ask_perplexity, requests a Perplexity chat completion and returns citations with the response. It can be configured for Claude Desktop through a stdio command and a PERPLEXITY_API_KEY environment variable.

Install it by adding a Claude Desktop MCP entry that runs uvx with the mcp-server-perplexity package. Put the entry in Claude Desktop’s macOS or Windows configuration file and set PERPLEXITY_API_KEY to your Perplexity API key.

It provides ask_perplexity, which requests a chat completion from Perplexity and returns citations with the resulting response.

Claude Desktop may time out when Perplexity processing takes too long. The README links this limitation to the client’s lack of support for long-running operations and progress reporting, and does not provide a timeout value or workaround.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Server Perplexity AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/tanigami-mcp-server-perplexity?style=directory)](https://allmcps.com/mcp/tanigami-mcp-server-perplexity)
HTML Embed
<a href="https://allmcps.com/mcp/tanigami-mcp-server-perplexity"><img src="https://allmcps.com/api/badge/tanigami-mcp-server-perplexity?style=directory" alt="MCP Server Perplexity on AllMCPs" /></a>