Perplexity MCP サーバー
Perplexity の API を使用して Web 検索機能を提供する MCP サーバー。
前提条件
Node.js (v14以上)
Perplexity API キー ( https://www.perplexity.ai/settings/apiで取得)
クロードデスクトップアプリ
インストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用の Perplexity Server を自動的にインストールするには:
手動インストール
このリポジトリをクローンします:
git clone https://github.com/jaacob/perplexity-mcp cd perplexity-mcp依存関係をインストールします:
npm installサーバーを構築します。
npm run build
構成
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を再起動してください
ライセンス
マサチューセッツ工科大学
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Perplexity の API を使用して Web 検索機能を容易にし、ユーザーが Claude のインターフェースを通じて検索結果を取得できるようにします。
Related Resources
Related MCP Servers
- Asecurity-licenseAqualityA 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 -256MIT License
- Asecurity-licenseAqualityThis server allows users to perform web searches using Perplexity AI, providing a tool for retrieving search results through a simple API interface.Last updated -12883
- -security-license-qualityAllows Claude or other MCP-compatible AI assistants to search the web and get up-to-date information using the Perplexity API, with features for filtering results by time period.Last updated -8
- Asecurity-licenseAqualityAn 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 -3MIT License