Perplexity MCP サーバー
Perplexity の API を使用して Web 検索機能を提供する MCP サーバー。
前提条件
- Node.js (v14以上)
- Perplexity API キー ( https://www.perplexity.ai/settings/apiで取得)
- クロードデスクトップアプリ
インストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用の Perplexity Server を自動的にインストールするには:
手動インストール
- このリポジトリをクローンします:
- 依存関係をインストールします:
- サーバーを構築します。
構成
- https://www.perplexity.ai/settings/apiから Perplexity API キーを取得します。
~/Library/Application Support/Claude/claude_desktop_config.json
にある Claude の設定ファイルにサーバーを追加します。
/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 を検索」を追加して強制的に実行することができます。
発達
サーバーを変更するには:
src/index.ts
を編集するnpm run build
でリビルドする- 変更をロードするにはClaudeを再起動してください
ライセンス
マサチューセッツ工科大学
You must be authenticated.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
Perplexity の API を使用して Web 検索機能を容易にし、ユーザーが Claude のインターフェースを通じて検索結果を取得できるようにします。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA 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 -194PythonMIT License
- AsecurityFlicenseAqualityThis server allows users to perform web searches using Perplexity AI, providing a tool for retrieving search results through a simple API interface.Last updated -12TypeScript
- AsecurityAlicenseAqualityAn 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 -6JavaScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server that enables Claude to perform Google Custom Search operations by connecting to Google's search API.Last updated -Python