Perplexity MCP Server
Perplexity MCP サーバー
これは、Perplexity AI を使用して Web を検索できるシンプルな MCP サーバーです。
インストール
前提条件
Node.js 18+ ( nodejs.orgからダウンロード)
Git ( git-scm.comからダウンロード)
Perplexity AI APIキー
Windowsの場合の手順
リポジトリをクローンします。
git clone [repository-url]
cd perplexity-mcp-server依存関係をインストールします:
npm install環境ファイルを作成します:
ルートディレクトリに
.envという名前の新しいファイルを作成します。Perplexity AI APIキーを追加します: GXP3
Related MCP server: Tavily MCP Server
Windowsでの使用
開発モード
npm run dev生産モード
プロジェクトをビルドします。
npm run buildサーバーを起動します。
npm startWindows バッチファイルの使用(推奨)
Windows での環境変数の問題を回避するには、付属のバッチ ファイルを使用します。
まずプロジェクトをビルドします。
npm run buildバッチファイルを実行します:
.\run-perplexity-server.batまたは、Windows エクスプローラーでrun-perplexity-server.batファイルをダブルクリックします。
詳細な手順については、 Windows セットアップ ガイドを参照してください。
Windowsの問題のトラブルシューティング
よくある問題
権限エラー
コマンドプロンプトまたはPowerShellを管理者として実行する
プロジェクトディレクトリ内のファイル権限を確認する
環境変数
.envファイルがルートディレクトリにあることを確認する.envファイル内の=記号の前後にスペースを入れないでください環境変数を変更した後はターミナルを再起動してください
環境変数の問題を回避するために、提供されているバッチファイルを使用してください。
Node.js の問題
Node.jsのインストールを確認する:
node --versionnpm がインストールされていることを確認する:
npm --version
エラーメッセージ
Error: ENOENT: no such file or directoryが表示された場合は、次の点を確認してください。
すべてのパスは正しいWindowsスタイルの区切り文字を使用します
正しいディレクトリにいます
必要なファイルが存在する
プロジェクト構造
perplexity-mcp-server/
├── src/
│ └── index.ts # Main server implementation
├── dist/ # Compiled output
├── .env # Environment variables
├── package.json # Project configuration
├── run-perplexity-server.bat # Windows batch file
└── tsconfig.json # TypeScript configurationAPIの使用
サーバーは、Web 検索用の単一のツールperplexity_searchを提供します。
{
"name": "perplexity_search",
"arguments": {
"query": "your search query here"
}
}ライセンス
マサチューセッツ工科大学
Available Tools
1 toolperplexity_searchC
Search the web using Perplexity AI
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool has a clear and distinct purpose, making it impossible for an agent to misselect between multiple options.
A single tool inherently has perfect naming consistency, as there are no other tools to compare it against for patterns. The name 'perplexity_search' follows a clear verb_noun format, but consistency cannot be assessed across a set of one.
A single tool is generally too few for most server purposes, as it limits functionality and flexibility. For a web search server, this minimal scope might suffice for basic queries, but it feels thin and lacks auxiliary operations like filtering or advanced search options.
The server's purpose appears to be web search, and the single tool covers the core action of searching. However, there are notable gaps, such as no tools for refining searches, handling different search types (e.g., news, images), or managing search history, which could lead to agent workarounds or limitations.
Maintenance
Related MCP Connectors
Real-time web search, reasoning, and research through Perplexity's API
Enable AI assistants to perform web searches using Perplexity's Sonar Pro.
Web search API and MCP server for developers building AI agents.
Provides AI assistants with access to Seltz's powerful Web Search capabilities.
Related MCP Servers
- AlicenseBqualityDmaintenanceA server facilitating web search functionality by utilizing Perplexity AI's API, designed to integrate with the Claude desktop client for enhanced search queries.1311MIT

Tavily MCP Serverofficial
AlicenseAqualityCmaintenanceThis server enables AI systems to integrate with Tavily's search and data extraction tools, providing real-time web information access and domain-specific searches.421,321 npm2,497MIT- FlicenseBqualityNot gradedmaintenanceA server that allows AI assistants to perform web searches using Perplexity's sonar-deep-research model with citation support.111-
- AlicenseNot gradedqualityDmaintenanceA Type 3 DAuth MCP server for Perplexity AI API that provides web search, chat, embeddings, and content moderation using Perplexity's search-focused AI models.MIT