Skip to main content
Glama

Perplexity MCP サーバー

Perplexityの専用AIモデルを搭載したインテリジェントなリサーチアシスタント。クエリの複雑さを自動検出し、最適な結果を得るために最適なモデルにリクエストをルーティングします。公式サーバーとは異なり、あらゆるタスクに対応する検索機能を備えています。

ツール

クイック ノート: Deep Research ツールは、実装の違いにより、cline などの一部のツールではタイムアウトしますが、cursor などの他のツールではタイムアウトしません。ただし、reason ツールがそれを補います。

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(ソナー・リーゾニング・プロ)

詳細な分析を必要とする複雑で多段階のタスクを処理します。説明、比較、問題解決に最適です。

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. ディープリサーチ(ソナーディープリサーチ)

包括的な調査を実施し、詳細なレポートを作成します。複雑なトピックの詳細な分析に最適です。

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: SystemPrompt MCP Server

インテリジェントなモデル選択

サーバーはクエリの複雑さを自動的に分析し、リクエストを最も適切なモデルにルーティングします。

  1. シンプルなクエリ→ Sonar Pro

    • 基本情報の検索

    • 率直な質問

    • 簡単な事実

  2. 複雑なクエリ→ Sonar Reasoning Pro

    • どのように/なぜの質問

    • 比較

    • ステップバイステップの説明

    • 問題解決タスク

  3. リサーチクエリ→ Sonar Deep Research

    • 詳細な分析

    • 包括的な研究

    • 詳細な調査

    • 多面的なトピック

任意のツールの引数で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"
      }
    }
  }
}
Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DaInfernalCoder/perplexity-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server