Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Perplexity Sonar

FreeNot checked

Python MCP server for Perplexity Sonar web search — 3 tools: web_search, web_ask, deep_research

GitHubEmbed

About

Python MCP server for Perplexity Sonar web search — 3 tools: web_search, web_ask, deep_research

README

Tiny Python MCP server for Perplexity web search — 3 tools with escalating depth.

Tools

Tool Speed Use for
web_search(query) 2-5s Quick facts, simple lookups
web_ask(query) 5-15s Thorough answers, literature discovery
deep_research(query) 2-10 min Comprehensive multi-step analysis

Both web_search and web_ask accept optional focus ("academic", "finance") and recency ("day", "week", "month", "year") parameters.

Setup

pip install -e .
export PERPLEXITY_API_KEY=pplx-...
perplexity-sonar-mcp  # starts stdio MCP server

MCP client config

{
  "name": "perplexity",
  "cmd": ["perplexity-sonar-mcp"],
  "env": {"PERPLEXITY_API_KEY": "pplx-..."}
}

from github.com/retospect/perplexity-sonar-mcp

Install Perplexity Sonar in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install perplexity-sonar

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add perplexity-sonar -- uvx perplexity-sonar-mcp

Step-by-step: how to install Perplexity Sonar

FAQ

Is Perplexity Sonar MCP free?

Yes, Perplexity Sonar MCP is free — one-click install via Unyly at no cost.

Does Perplexity Sonar need an API key?

No, Perplexity Sonar runs without API keys or environment variables.

Is Perplexity Sonar hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Perplexity Sonar in Claude Desktop, Claude Code or Cursor?

Open Perplexity Sonar on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Perplexity Sonar with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs