VOOZH about

URL: https://glama.ai/mcp/servers/Jercik/perplexity-agent-mcp?locale=ja-JP

⇱ Perplexity Agent MCP by Jercik | Glama


Perplexity Agent MCP

Perplexity AIのSonarモデルをClaude CodeやCodex CLIなどのAIコーディングアシスタントに統合する、コーディングに特化したModel Context Protocolサーバーです。意図的に軽量に設計されており、コンテキストへのトークン追加を最小限に抑えています。APIの構文やドキュメントの詳細を即座に確認するためのlookupと、実行可能な推奨事項を含む包括的な調査のためのanswerという、2つの専門的なツールを提供します。

セットアップ

公開されているパッケージをグローバルにインストールします:

npm install -g perplexity-agent-mcp

次に、Claudeの設定ファイル(~/.claude.json または ~/.config/claude/config.json)に追加します:

"mcpServers": {
 "perplexity": {
 "command": "perplexity-agent-mcp",
 "env": {
 "PERPLEXITY_API_KEY": "your-api-key-here"
 }
 }
}

保存後にClaude Codeを再起動すれば、準備完了です。

仕組み

このサーバーは、簡潔な説明(約1.3Kトークン)を持つ2つのツールのみを公開し、コンテキストウィンドウを軽量かつ効率的に保ちます:

  • lookup: ドキュメントから迅速な事実(API構文や設定キーなど)を取得します

  • answer: より深い調査を行い、選択肢を比較して推奨事項を提示します

内部的には、両ツールともコーディングに特化したシステムプロンプトを使用してPerplexity APIを呼び出す、独自のラッパーとなっています。lookupツールは、コードやドキュメントの事実に焦点を当てたコンパクトな事実抽出プロンプトを使用します(src/index.tsLOOKUP_SYSTEM_PROMPTを参照)。answerツールは、移行やアーキテクチャの選択に合わせた技術的な意思決定/分析プロンプトを使用します(src/index.tsANSWER_SYSTEM_PROMPTを参照)。また、サーバーはタスクに適したPerplexityモデルを選択します。lookupにはsonar-prosrc/index.tsgetLookupModel()を参照)、より深い調査にはsonar-reasoning-prosrc/index.tsgetAnswerModel()を参照)を使用します。

AIエージェントがこのMCPを使用して良い結果を出すためのプロンプト例:

Please update the "foo" dependency to the latest version. Use Perplexity for the migration guide.

要件

  • Node.js v22.19.0 以降

  • Perplexity APIキー

テストフック

A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
3wRelease cycle
8Releases (12mo)

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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/Jercik/perplexity-agent-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server