Perplexity MCP Server

Perplexity MCP Server

Facilitates web search capabilities using Perplexity's API, allowing users to retrieve search results through Claude's interface.

Category
Visit Server

Tools

search

Search the web using Perplexity AI

README

Perplexity MCP Server

smithery badge

An MCP server that provides web search capabilities using Perplexity's API.

<a href="https://glama.ai/mcp/servers/97nsl3drhq"><img width="380" height="200" src="https://glama.ai/mcp/servers/97nsl3drhq/badge" alt="Perplexity Server MCP server" /></a>

Prerequisites

Installation

Installing via Smithery

To install Perplexity Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @jaacob/perplexity-mcp --client claude

Manual Installation

  1. Clone this repository:

    git clone https://github.com/jaacob/perplexity-mcp
    cd perplexity-mcp
    
  2. Install dependencies:

    npm install
    
  3. Build the server:

    npm run build
    

Configuration

  1. Get your Perplexity API key from https://www.perplexity.ai/settings/api

  2. Add the server to Claude's config file at ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "perplexity-server": {
      "command": "node",
      "args": [
        "/absolute/path/to/perplexity-mcp/build/index.js"
      ],
      "env": {
        "PERPLEXITY_API_KEY": "your-api-key-here",
        "PERPLEXITY_MODEL": "sonar"
      }
    }
  }
}

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 reasoning
  • sonar-reasoning - Enhanced reasoning capabilities
  • sonar-pro - Faster response times
  • sonar - 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:

  1. Edit src/index.ts
  2. Rebuild with npm run build
  3. Restart Claude to load the changes

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured