Perplexity AI MCP Server
Perplexity AI MCP サーバー
Perplexity AI の API を統合し、複数のモデル オプションによる高度な検索機能を提供する MCP サーバー実装。
特徴
Perplexity AIのモデルを使った検索
すべての公式Sonarモデルをサポート
設定可能な結果数
詳細なエラー処理とログ記録
MCP Inspector対応
Related MCP server: mcp-perplexity
利用可能なモデル
sonar-reasoning-pro (127k コンテキスト)
ソナー推論 (127k コンテキスト)
sonar-pro (200kコンテキスト)
ソナー(127kコンテキスト)
インストール
pnpm install
pnpm build構成
APIキー
Perplexity AIアカウントに登録する
ダッシュボードからAPIキーを取得する
環境変数を設定します。
export PERPLEXITY_API_KEY=your_api_key_here使用法
直接実行
node dist/index.js
# or if you made it executable
./dist/index.js発達
pnpm devMCP Inspectorによるテスト
pnpm inspectツールリファレンス
困惑_検索
Perplexity AI のモデルを使用して検索を実行します。
パラメータ:
query(文字列、必須): 検索クエリmodel(文字列、オプション): 使用するモデル (デフォルト: "sonar")利用可能なオプション: sonar-reasoning-pro、sonar-reasoning、sonar-pro、sonar
count(数値、オプション): 結果の数 (1-10、デフォルト: 5)
発達
プロジェクト構造
src/perplexity/
├── index.ts # Main server implementation
├── lib/
│ └── logger.ts # Logging configuration
└── adr.md # Architectural decisionsログ記録
ログは、プロジェクト ルート ディレクトリのperplexity-mcp.logに書き込まれます。
ライセンス
マサチューセッツ工科大学
貢献
リポジトリをフォークする
機能ブランチを作成する
変更をコミットする
ブランチにプッシュする
新しいプルリクエストを作成する
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
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/mkusaka/mcp-server-perplexity'
If you have feedback or need assistance with the MCP directory API, please join our Discord server