Skip to main content
Glama

Perplexity MCP Server

by jaacob

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

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Tools

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

  1. 前提条件
    1. インストール
      1. Smithery経由でインストール
      2. 手動インストール
    2. 構成
      1. 利用可能なモデル
    3. 使用法
      1. 発達
        1. ライセンス

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A server facilitating web search functionality by utilizing Perplexity AI's API, designed to integrate with the Claude desktop client for enhanced search queries.
            Last updated -
            1
            94
            Python
            MIT License
            • Apple
          • A
            security
            F
            license
            A
            quality
            This server allows users to perform web searches using Perplexity AI, providing a tool for retrieving search results through a simple API interface.
            Last updated -
            1
            2
            TypeScript
          • A
            security
            A
            license
            A
            quality
            An MCP server that enables Claude to perform web searches using Perplexity's API with intelligent model selection based on query intent and support for domain and recency filtering.
            Last updated -
            6
            JavaScript
            MIT License
            • Apple
          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server that enables Claude to perform Google Custom Search operations by connecting to Google's search API.
            Last updated -
            Python
            • Linux

          View all related MCP servers

          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/jaacob/perplexity-mcp'

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