Perplexity MCP Server

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Provides web search capabilities using Perplexity's API, allowing Claude to search for information on the internet

Perplexity MCP サーバー

Perplexity の API を使用して Web 検索機能を提供する MCP サーバー。

前提条件

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の Perplexity Server を自動的にインストールするには:

npx -y @smithery/cli install @jaacob/perplexity-mcp --client claude

手動インストール

  1. このリポジトリをクローンします:
    git clone https://github.com/jaacob/perplexity-mcp cd perplexity-mcp
  2. 依存関係をインストールします:
    npm install
  3. サーバーを構築します。
    npm run build

構成

  1. https://www.perplexity.ai/settings/apiから Perplexity API キーを取得します。
  2. ~/Library/Application Support/Claude/claude_desktop_config.jsonにある Claude の設定ファイルにサーバーを追加します。
{ "mcpServers": { "perplexity-server": { "command": "node", "args": [ "/absolute/path/to/perplexity-mcp/build/index.js" ], "env": { "PERPLEXITY_API_KEY": "your-api-key-here", "PERPLEXITY_MODEL": "sonar" } } } }

/absolute/path/toリポジトリのクローンを作成した実際のパスに置き換えます。

利用可能なモデル

PERPLEXITY_MODEL環境変数を設定することで、使用するモデルを指定できます。使用可能なオプションは次のとおりです。

  • sonar-reasoning-pro - 強化された推論機能を備えた最も有能なモデル
  • sonar-reasoning - 強化された推論機能
  • sonar-pro - 応答時間の高速化
  • sonar - デフォルトモデル(モデルが指定されていない場合に使用)

最新のモデルの価格と在庫状況については、 https://docs.perplexity.ai/guides/pricingをご覧ください。

使用法

サーバーを設定してClaudeを再起動すれば、Claudeに情報を検索するよう指示するだけで済みます。例えば:

  • 「SpaceXの最新ニュースは何ですか?」
  • 「シカゴの最高のレストランを検索」
  • 「ジャズ音楽の歴史に関する情報を見つける」

Claude は、Perplexity 検索ツールを自動的に使用して、関連する情報を検索して返します。

何らかの理由で実行されない場合は、プロンプトの前に「Web を検索」を追加して強制的に実行することができます。

発達

サーバーを変更するには:

  1. src/index.tsを編集する
  2. npm run buildでリビルドする
  3. 変更をロードするにはClaudeを再起動してください

ライセンス

マサチューセッツ工科大学

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Tools

Perplexity の API を使用して Web 検索機能を容易にし、ユーザーが Claude のインターフェースを通じて検索結果を取得できるようにします。

  1. Prerequisites
    1. Installation
      1. Installing via Smithery
      2. Manual Installation
    2. Configuration
      1. Available Models
    3. Usage
      1. Development
        1. License
          ID: 97nsl3drhq