
alcova-ai/perplexity-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Claude Code と Claude Desktop で使用するための Perplexity 用の MCP サーバーで、検索とキャパシリティの推論を強化できます.
概要
Go で書かれた Perplexity API のモデルコンテキストプロトコル (MCP) サーバー。 このサーバーは、Claude (コードとデスクトップ) や Cursor などの AI アシスタントが、Perplexity の強力な検索と推論機能をインターフェイスから直接シームレスにアクセスできるようにします。 Perplexity MCP Server は、AI アシスタントと Perplexity API 間でブリッジとして機能し、次のようにします。 1. パープレクシリティのSonar Proモデルをperplexity askツール2で使用 Perplexity の Sonar Reasoning Pro モデルを使用して、 perplexity reason ツール この統合により、Claudeアクセスのリアルタイム情報や特殊な推論機能などのAIアシスタントがインターフェイスを離れることなく、シームレスなユーザーエクスペリエンスを創出できます.
概要(AI 翻訳)
Go で書かれた Perplexity API のモデルコンテキストプロトコル (MCP) サーバー。 このサーバーは、Claude (コードとデスクトップ) や Cursor などの AI アシスタントが、Perplexity の強力な検索と推論機能をインターフェイスから直接シームレスにアクセスできるようにします。
説明
Perplexity MCP Server は、AI アシスタントと Perplexity API 間でブリッジとして機能し、次のようにします。
1。Webを検索し、最新の情報を取得 PerplexityのSonar Proモデルを使用して[[[T0]ツール
2。 複雑な推論タスクをPerform PerplexityのSonar Reasoning Proモデルを使用して[perplexity_reasonツール
この統合により、Claudeアクセスのリアルタイム情報や特殊な推論機能などのAIアシスタントがインターフェイスを離れることなく、シームレスなユーザーエクスペリエンスを創出できます。
の主な利点
- リアルタイム情報へのアクセス: Webから現在のデータ、ニュース、情報を入手
- 推論能力の強化: 複雑な問題解決のタスクのためのレバレッジ専門モデル
- 継ぎ目が無い統合: Claudeコード、Claudeデスクトップ、およびCursorでネイティブに動作します。
- 簡単なインストール: Homebrew、Go、または事前に構築されたバイナリでクイックセットアップ
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Perplexity MCP Server
A Model Context Protocol (MCP) server for the Perplexity API written in Go. This server enables AI assistants like Claude (Code and Desktop) and Cursor to seamlessly access Perplexity’s powerful search and reasoning capabilities directly from their interfaces.
Description
The Perplexity MCP Server acts as a bridge between AI assistants and the Perplexity API, allowing them to:
- Search the web and retrieve up-to-date information using Perplexity’s Sonar Pro model via the
perplexity_asktool - Perform complex reasoning tasks using Perplexity’s Sonar Reasoning Pro model via the
perplexity_reasontool
This integration lets AI assistants like Claude access real-time information and specialized reasoning capabilities without leaving their interface, creating a seamless experience for users.
Key Benefits
- Access to real-time information: Get current data, news, and information from the web
- Enhanced reasoning capabilities: Leverage specialized models for complex problem-solving tasks
- Seamless integration: Works natively with Claude Code, Claude Desktop, and Cursor
- Simple installation: Quick setup with Homebrew, Go, or pre-built binaries
- Customizable: Configure which Perplexity models to use for different tasks
Installation
Using Homebrew (macOS and Linux)
brew tap alcova-ai/tap
brew install perplexity-mcp
From Source
Clone the repository and build manually:
git clone https://github.com/Alcova-AI/perplexity-mcp.git
cd perplexity-mcp
go build -o perplexity-mcp-server .
From Binary Releases (Other platforms)
Download pre-built binaries from the releases page.
Usage
This server supports only the stdio protocol for MCP communication.
Setup with Claude Code
Adding to Claude Code:
claude mcp add-json --scope user perplexity-mcp '{"type":"stdio","command":"perplexity-mcp","env":{"PERPLEXITY_API_KEY":"pplx-YOUR-API-KEY-HERE"}}'
That’s it! You can now use Perplexity in Claude Code.
Setup with Claude Desktop
Adding to Claude Desktop:
- Exit the Claude Desktop MCP config:
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
- Add the Perplexity MCP server:
{
"mcpServers": {
+ "perplexity-mcp": {
+ "command": "perplexity-mcp",
+ "args": [
+ "--model",
+ "sonar-pro",
+ "--reasoning-model",
+ "sonar-reasoning-pro"
+ ],
+ "env": {
+ "PERPLEXITY_API_KEY": "pplx-YOUR-API-KEY-HERE"
+ }
+ }
}
}
Command Line Options
--model, -m: Specify the Perplexity model to use for search (default: “sonar-pro”)- Can also be set with the
PERPLEXITY_MODELenvironment variable
- Can also be set with the
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
+ "perplexity-mcp": {
+ "command": "perplexity-mcp",
+ "args": [
+ "--model",
+ "sonar-pro",
+ "--reasoning-model",
+ "sonar-reasoning-pro"
+ ],
+ "env": {
+ "PERPLEXITY_API_KEY": "pplx-YOUR-API-KEY-HERE"
+ }
+ }
}
}