This repository provides a Model Context Protocol (MCP) server, enabling web search functionality through Perplexity AI's API for the Anthropic Claude desktop client. It allows users to search the web
This is a Model Context Protocol (MCP) server that integrates Perplexity AI's search capabilities with applications like the Anthropic Claude desktop client. It enables prompts such as "Search the web to find out what's new at Anthropic in the past week."
Let's you use prompts like, "Search the web to find out what's new at Anthropic in the past week."
<a href="https://glama.ai/mcp/servers/ebg0za4hn9"><img width="380" height="200" src="https://glama.ai/mcp/servers/ebg0za4hn9/badge" alt="Perplexity Server MCP server" /></a>
npx -y @smithery/cli install perplexity-mcp --client claude
# Using Homebrew on macOS
brew install uv
or
# On macOS and Linux.
curl -LsSf https://astral.sh/uv/install.sh | sh
# On Windows.
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
PERPLEXITY_API_KEY
: Your Perplexity AI API keyPERPLEXITY_MODEL
: The Perplexity model to use (defaults to "sonar" if not specified)Available models:sonar-deep-research
: 128k context - Enhanced research capabilitiessonar-reasoning-pro
: 128k context - Advanced reasoning with professional focussonar-reasoning
: 128k context - Enhanced reasoning capabilitiessonar-pro
: 200k context - Professional grade modelsonar
: 128k context - Default modelr1-1776
: 128k context - Alternative architectureAnd updated list of models is avaiable (here)[https://docs.perplexity.ai/guides/model-cards]
"perplexity-mcp": {
"env": {
"PERPLEXITY_API_KEY": "XXXXXXXXXXXXXXXXXXXX",
"PERPLEXITY_MODEL": "sonar"
},
"command": "uvx",
"args": [
"perplexity-mcp"
]
}
/Users/your-username/.cursor/mcp.json
C:\Users\your-username\.cursor\mcp.json
~/Library/Application\ Support/Claude/claude_desktop_config.json
%APPDATA%/Claude/claude_desktop_config.json
jsonallen/perplexity-mcp
December 27, 2024
March 27, 2025
Python