Integrations
Provides web search capabilities using Perplexity's API, allowing Claude to search for information on the internet
Perplexity MCP Server
An MCP server that provides web search capabilities using Perplexity's API.
Prerequisites
- Node.js (v14 or higher)
- A Perplexity API key (get one at https://www.perplexity.ai/settings/api)
- Claude Desktop App
Installation
Installing via Smithery
To install Perplexity Server for Claude Desktop automatically via Smithery:
Manual Installation
- Clone this repository:Copy
- Install dependencies:Copy
- Build the server:Copy
Configuration
- Get your Perplexity API key from https://www.perplexity.ai/settings/api
- Add the server to Claude's config file at
~/Library/Application Support/Claude/claude_desktop_config.json
:
Replace /absolute/path/to
with the actual path to where you cloned the repository.
Available Models
You can specify which model to use by setting the PERPLEXITY_MODEL
environment variable. Available options:
sonar-reasoning-pro
- Most capable model with enhanced reasoningsonar-reasoning
- Enhanced reasoning capabilitiessonar-pro
- Faster response timessonar
- Default model (used if no model is specified)
For up-to-date model pricing and availability, visit: https://docs.perplexity.ai/guides/pricing
Usage
After configuring the server and restarting Claude, you can simply ask Claude to search for information. For example:
- "What's the latest news about SpaceX?"
- "Search for the best restaurants in Chicago"
- "Find information about the history of jazz music"
Claude will automatically use the Perplexity search tool to find and return relevant information.
If for whatever reason it decides not to, you can force the issue by prepending your prompt with "Search the web".
Development
To modify the server:
- Edit
src/index.ts
- Rebuild with
npm run build
- Restart Claude to load the changes
License
MIT
You must be authenticated.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
Facilitates web search capabilities using Perplexity's API, allowing users to retrieve search results through Claude's interface.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA server facilitating web search functionality by utilizing Perplexity AI's API, designed to integrate with the Claude desktop client for enhanced search queries.Last updated -194PythonMIT License
- AsecurityFlicenseAqualityThis server allows users to perform web searches using Perplexity AI, providing a tool for retrieving search results through a simple API interface.Last updated -12TypeScript
- AsecurityAlicenseAqualityAn MCP server that enables Claude to perform web searches using Perplexity's API with intelligent model selection based on query intent and support for domain and recency filtering.Last updated -6JavaScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server that enables Claude to perform Google Custom Search operations by connecting to Google's search API.Last updated -Python