perplexité-MCP
Un serveur MCP pour la perplexité pour une utilisation avec Claude Code et Claude Desktop, vous offrant des capabilties de recherche et de raisonnement améliorées.
1
Github Watches
0
Github Forks
5
Github Stars
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
-
--reasoning-model, -r: Specify the Perplexity model to use for reasoning (default: "sonar-reasoning-pro")- Can also be set with the
PERPLEXITY_REASONING_MODELenvironment variable
- Can also be set with the
Example:
perplexity-mcp --model sonar-pro --reasoning-model sonar-reasoning-pro
Direct Execution
If you want to run the server directly (not recommended for most users):
-
Set your Perplexity API key as an environment variable:
export PERPLEXITY_API_KEY=your-api-key-here -
Run the server:
perplexity-mcp
License
MIT
相关推荐
I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.
I find academic articles and books for research and literature reviews.
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
Plateforme d'automatisation de workflow à code équitable avec des capacités d'IA natives. Combinez le bâtiment visuel avec du code personnalisé, de l'auto-hôte ou du cloud, 400+ intégrations.
🧑🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.
Une liste organisée des serveurs de protocole de contexte de modèle (MCP)
Reviews
user_wFaQi2zo
Perplexity-mcp by Alcova-AI is a game-changer for anyone needing deep insights into complex data sets. With its comprehensive features and user-friendly interface, it's a must-have tool for researchers and data scientists. Highly recommended! Check it out on GitHub for more details.