Perplexity MCP Server

Integrations

  • Allows to search the web using Perplexity AI by providing a query parameter through the 'perplexity_search' tool

Perplexity MCP サーバー

これは、Perplexity AI を使用して Web を検索できるシンプルな MCP サーバーです。

インストール

前提条件

  • Node.js 18+ ( nodejs.orgからダウンロード)
  • Git ( git-scm.comからダウンロード)
  • Perplexity AI APIキー

Windowsの場合の手順

  1. リポジトリをクローンします。
git clone [repository-url] cd perplexity-mcp-server
  1. 依存関係をインストールします:
npm install
  1. 環境ファイルを作成します:
    • ルートディレクトリに.envという名前の新しいファイルを作成します。
    • Perplexity AI APIキーを追加します: GXP3

Windowsでの使用

開発モード

npm run dev

生産モード

  1. プロジェクトをビルドします。
npm run build
  1. サーバーを起動します。
npm start

Windows バッチファイルの使用(推奨)

Windows での環境変数の問題を回避するには、付属のバッチ ファイルを使用します。

  1. まずプロジェクトをビルドします。
npm run build
  1. バッチファイルを実行します:
.\run-perplexity-server.bat

または、Windows エクスプローラーでrun-perplexity-server.batファイルをダブルクリックします。

詳細な手順については、 Windows セットアップ ガイドを参照してください。

Windowsの問題のトラブルシューティング

よくある問題

  1. 権限エラー
    • コマンドプロンプトまたはPowerShellを管理者として実行する
    • プロジェクトディレクトリ内のファイル権限を確認する
  2. 環境変数
    • .envファイルがルートディレクトリにあることを確認する
    • .envファイル内の=記号の前後にスペースを入れないでください
    • 環境変数を変更した後はターミナルを再起動してください
    • 環境変数の問題を回避するために、提供されているバッチファイルを使用してください。
  3. Node.js の問題
    • Node.jsのインストールを確認する: node --version
    • npm がインストールされていることを確認する: 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 configuration

APIの使用

サーバーは、Web 検索用の単一のツールperplexity_searchを提供します。

{ "name": "perplexity_search", "arguments": { "query": "your search query here" } }

ライセンス

マサチューセッツ工科大学

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

このサーバーは、ユーザーが Perplexity AI を使用して Web 検索を実行できるようにし、シンプルな API インターフェースを通じて検索結果を取得するためのツールを提供します。

  1. インストール
    1. 前提条件
    2. Windowsの場合の手順
  2. Windowsでの使用
    1. 開発モード
    2. 生産モード
    3. Windows バッチファイルの使用(推奨)
  3. Windowsの問題のトラブルシューティング
    1. よくある問題
    2. エラーメッセージ
  4. プロジェクト構造
    1. APIの使用
      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
          A
          license
          A
          quality
          This server enables AI systems to integrate with Tavily's search and data extraction tools, providing real-time web information access and domain-specific searches.
          Last updated -
          2
          5,133
          334
          JavaScript
          MIT License
          • Apple
          • Linux
        • A
          security
          A
          license
          A
          quality
          Facilitates web search capabilities using Perplexity's API, allowing users to retrieve search results through Claude's interface.
          Last updated -
          1
          2
          JavaScript
          MIT License
        • A
          security
          A
          license
          A
          quality
          An MCP server integrating Perplexity AI's API to offer advanced search capabilities with support for multiple models and result configuration.
          Last updated -
          1
          1
          JavaScript
          MIT License

        View all related MCP servers

        ID: uvz269wuup