Skip to main content
Glama
MCP-researcher Server

MCP-researcher Server

Perplexity MCP 服务器

一款由 Perplexity 专用 AI 模型驱动的智能研究助手。它具有自动查询复杂度检测功能,可将请求路由到最合适的模型以获得最佳结果。与官方服务器不同,它拥有针对所有任务的搜索功能,本质上

工具

快速提示:由于实现差异,深度研究工具将与 cline 等一些工具超时,但不会与 cursor 等其他工具超时,但原因工具可以弥补这一点。

1. 搜索(Sonar Pro)

快速搜索简单查询和基本信息查找。最适合需要简洁直接答案的简单问题。

const result = await use_mcp_tool({
  server_name: "perplexity",
  tool_name: "search",
  arguments: {
    query: "What is the capital of France?",
    force_model: false // Optional: force using this model even if query seems complex
  }
});

2.Reason(Sonar Reasoning Pro)

处理需要详细分析的复杂、多步骤任务。非常适合解释、比较和解决问题。

const result = await use_mcp_tool({
  server_name: "perplexity",
  tool_name: "reason",
  arguments: {
    query: "Compare and contrast REST and GraphQL APIs, explaining their pros and cons",
    force_model: false // Optional: force using this model even if query seems simple
  }
});

3.深度研究(Sonar深度研究)

进行全面的研究并生成详细的报告。非常适合深入分析复杂的主题。

const result = await use_mcp_tool({
  server_name: "perplexity",
  tool_name: "deep_research",
  arguments: {
    query: "The impact of quantum computing on cryptography",
    focus_areas: [
      "Post-quantum cryptographic algorithms",
      "Timeline for quantum threats",
      "Practical mitigation strategies"
    ],
    force_model: false // Optional: force using this model even if query seems simple
  }
});

Related MCP server: github-manager MCP Server

智能模型选择

服务器自动分析查询复杂度以将请求路由到最合适的模型:

  1. 简单查询→ Sonar Pro

    • 基本信息查找

    • 直截了当的问题

    • 简要事实

  2. 复杂查询→ Sonar Reasoning Pro

    • 如何/为什么的问题

    • 比较

    • 逐步解释

    • 解决问题的任务

  3. 研究查询→ Sonar 深度研究

    • 深入分析

    • 综合研究

    • 详细调查

    • 多方面主题

您可以在任何工具的参数中使用force_model: true覆盖自动选择。

设置

  1. 先决条件

  2. 配置 MCP 设置

添加到您的 MCP 设置文件(位置因平台而异):

{
  "mcpServers": {
    "perplexity": {
      "command": "node",
      "args": ["/path/to/perplexity-server/build/index.js"],
      "env": {
        "PERPLEXITY_API_KEY": "YOUR_API_KEY_HERE"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

或者使用 NPX 而不必在本地安装(推荐用于 macos):

{
  "mcpServers": {
    "perplexity": {
      "command": "npx",
      "args": [
        "-y",
        "perplexity-mcp"
      ],
      "env": {
        "PERPLEXITY_API_KEY": "your_api_key"
      }
    }
  }
}

Available Tools

3 tools
deep_researchB

Conducts in-depth analysis and generates detailed reports using Perplexity's Sonar Deep Research model. Best for comprehensive research topics.

Inputs: query (required), focus_areas, force_model.

reasonA

Handles complex, multi-step tasks using Perplexity's Sonar Reasoning Pro model. Best for explanations, comparisons, and problem-solving.

Inputs: query (required), force_model.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: deep_research for comprehensive analysis, reason for multi-step reasoning tasks, and search for basic queries. The descriptions explicitly differentiate their use cases, eliminating any ambiguity or overlap in functionality.

    Naming Consistency5/5

    All tool names follow a consistent snake_case pattern with clear, descriptive verbs (deep_research, reason, search). There are no deviations in naming style, making the set predictable and easy to understand.

    Tool Count3/5

    With only 3 tools, the set feels thin for a research server, potentially limiting coverage of common research workflows like summarization, citation management, or data extraction. However, the tools are well-scoped to core research tasks, avoiding bloat.

    Completeness3/5

    The tools cover basic research functions (deep analysis, reasoning, quick search), but there are notable gaps such as no tools for summarizing, filtering results, or handling citations. This may cause agents to work around missing operations in complex research scenarios.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers