MCP.so
Sign In

Perplexity Sonar MCP Server

@felores

Basic information

Category

AI & Agents

License

MIT

Transports

stdio

Author

felores

About Perplexity Sonar MCP Server

MCP server for Perplexity API integration with Claude Desktop and other MCP clients

Perplexity Sonar MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "perplexity-sonar-mcp": {
      "command": "node",
      "args": [
        "--version",
        "#",
        "Should",
        "be",
        "18.0.0",
        "or",
        "higher"
      ]
    }
  }
}

Perplexity Sonar MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Perplexity Sonar MCP Server?

An MCP server implementation that brings Perplexity’s Sonar models to Claude Desktop and other MCP clients. It enables real-time web search during conversations, giving Claude access to current information from the web.

How to use Perplexity Sonar MCP Server?

Configure Claude Desktop by editing claude_desktop_config.json with the npx command and your Perplexity API key as an environment variable. Alternatively, run in standalone mode with PERPLEXITY_API_KEY=your_key perplexity-sonar-mcp on port 3000 (or a custom PORT). The server exposes a single perplexity-chat tool with extensive parameters.

Key features of Perplexity Sonar MCP Server

  • Real-time web search during conversations
  • Multiple Sonar models for different needs
  • Rich parameter control (domains, recency, temperature, etc.)
  • Native integration with Claude Desktop
  • Standalone HTTP/SSE mode for other clients
  • Supports images and related questions in responses

Use cases of Perplexity Sonar MCP Server

  • Ask Claude for the latest news or developments on any topic
  • Perform in-depth research with comprehensive citations using sonar-deep-research
  • Limit search results to specific websites for authoritative sources
  • Filter results by recency (day, week, month) to get timely information
  • Generate creative or focused answers by adjusting temperature and parameters

Frequently asked questions

1

Which models are available?

The server supports `sonar` (general), `sonar-pro` (enhanced), `sonar-reasoning` (logical analysis), and `sonar-deep-research` (in-depth with citations).

2

What are the requirements?

Node.js 18.0.0 or higher and a Perplexity API key from https://www.perplexity.ai/account/api.

3

How do I configure it for Claude Desktop?

Add the configuration to your Claude Desktop config file (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS, `%APPDATA%\Claude\claude_desktop_config.json` on Windows) with the `npx -y @felores/perplexity-sonar-mcp` command and `PERPLEXITY_API_KEY` environment variable.

4

Where can I find logs if something goes wrong?

On macOS, check `~/Library/Logs/Claude/mcp.log`; on Windows, check `%APPDATA%\Claude\logs\mcp.log`.

5

Can I run the server standalone without Claude Desktop?

Yes, by setting the `PERPLEXITY_API_KEY` environment variable and running `perplexity-sonar-mcp` (or `npx @felores/perplexity-sonar-mcp`). It starts an HTTP/SSE server on port 3000 by default.

Comments

More AI & Agents MCP servers