Perplexity MCP Server logo

Perplexity MCP Server

by RossH121

An MCP server that provides web search capabilities using Perplexity's API. It features automatic model selection based on query intent, enhancing search relevance and efficiency.

View on GitHub

Last updated: N/A

What is Perplexity MCP Server?

The Perplexity MCP Server is a tool that integrates Perplexity's API with Claude, enabling Claude to perform web searches and retrieve information. It intelligently selects the most appropriate Perplexity model based on the user's query, optimizing search results for relevance and accuracy.

How to use Perplexity MCP Server?

To use the server, you need to install it, configure it with your Perplexity API key, and add it to Claude's config file. Once configured, Claude will automatically use the Perplexity search tool when you ask it to search for information. You can also use specific commands to control domain filtering, recency filtering, and model selection.

Key features of Perplexity MCP Server

  • Automatic model selection based on query intent

  • Domain filtering (allow/block specific domains)

  • Recency filtering (limit search results to a specific time window)

  • Manual model selection control

  • Integration with Claude

Use cases of Perplexity MCP Server

  • General web search within Claude

  • In-depth research on specific topics

  • Finding the latest news and information

  • Solving complex problems requiring web search

  • Filtering search results by domain or recency

FAQ from Perplexity MCP Server

How do I get a Perplexity API key?

You can obtain a Perplexity API key by visiting https://www.perplexity.ai/settings/api.

How do I add the server to Claude's config file?

You need to add a configuration block to ~/Library/Application Support/Claude/claude_desktop_config.json with the command, arguments, and environment variables as described in the README.

How does the automatic model selection work?

The server analyzes your query for keywords and phrases that indicate the desired level of research or reasoning. Based on these cues, it selects the most appropriate Perplexity model.

How do I use domain filtering?

You can use commands like "Use the domain_filter tool to allow wikipedia.org" or "Use the domain_filter tool to block pinterest.com" to control which domains are included or excluded from search results.

How do I manually select a specific model?

You can use the command "Use the model_info tool with model=[model_name]" to force the server to use a specific Perplexity model.

Perplexity MCP Server - MCP Server | MCP Directory