MCP.so
登录

Perplexity Sonar MCP Server

@felores

关于 Perplexity Sonar MCP Server

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

基本信息

分类

AI 与智能体

许可证

MIT

运行时

node

传输方式

stdio

发布者

felores

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

FAQ from Perplexity Sonar MCP Server

Which models are available?

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

What are the requirements?

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

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.

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.

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.

评论

AI 与智能体 分类下的更多 MCP 服务器