perplexity-mcp-server
If you are the rightful owner of perplexity-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Perplexity MCP Server allows LLMs like Claude to perform internet research using the Perplexity API, providing real-time information with source citations.
Perplexity MCP Server
This Model Context Protocol (MCP) server enables LLMs like Claude to perform internet research using the Perplexity API. It provides real-time, up-to-date information with source citations.
Disclaimer
This is an unofficial integration and is not affiliated with, officially connected to, or endorsed by Perplexity AI or its parent company. This project uses Perplexity's public API but is independently developed.
"Perplexity" and any associated names, trademarks, and images are property of Perplexity AI.
This software is provided "as is" without warranty of any kind. Use at your own risk.
Features
- Perform internet research with citations using the Perplexity API
- Automatic source tracking and citation
- Integration with Claude Desktop and other MCP clients
Prerequisites
- Go 1.20 or later
- A Perplexity API key (get one from https://www.perplexity.ai/)
- The MCP Go framework (github.com/gomcpgo/mcp)
Building the binary
# Build the server binary
./run.sh build
Integration with Claude Desktop
Add the following to your Claude Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"perplexity": {
"command": "/path/to/binary/perplexity-server",
"env": {
"PERPLEXITY_API_KEY": "your-perplexity-key"
}
}
}
}
Available Tools
research
Performs internet research and returns results with citations.
Parameters:
query
(string): The research query or question
Example query in Claude: "What's the latest research on quantum computing?"
Project Structure
.
āāā README.md
āāā go.mod
āāā cmd/
ā āāā main.go # Server implementation
āāā run.sh # Build script
Development
To modify or extend the server:
- Make changes in
cmd/main.go
- Build using
./run.sh build
- Test your changes with Claude Desktop or the MCP Inspector
License
MIT License