Skip to main content
Glama
jaacob

Perplexity MCP Server

by jaacob

Perplexity MCP Server

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

Prerequisites

Related MCP server: Perplexity Web Search MCP Server

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

Available Tools

1 tool

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 1 tool updatev1.0.0
    • First observedsearch

TDQS

B3.1/5.0
Disambiguation5/5

With only one tool, there is no possibility of confusion or overlap between tools, making disambiguation perfect. The tool's purpose is clearly defined as web search using Perplexity AI, leaving no room for misselection.

Naming Consistency5/5

A single tool named 'search' follows a consistent and straightforward verb-based naming pattern. There are no other tools to compare against, so no inconsistency can exist in the naming scheme.

Tool Count2/5

One tool is too few for a server named 'Perplexity MCP Server', which implies broader capabilities beyond just search. A single tool feels thin and under-scoped for what might be expected from a Perplexity AI integration, such as additional operations like summarization or follow-up queries.

Completeness2/5

The tool surface is severely incomplete for a web search domain; it only offers a basic search function without any complementary tools for refining results, getting summaries, or handling related queries. This creates significant gaps that could lead to agent failures in complex tasks.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Integrates the Sonar API to provide Claude with real-time web-wide research capabilities. Enables conversational web searches through Perplexity's AI-powered search engine for up-to-date information retrieval.
    1,826
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Exposes Perplexity AI's search capabilities to Claude, enabling real-time web search and information retrieval within the assistant. The project is currently in active development with plans to support Perplexity Spaces and multi-source data synthesis.
    Apache 2.0

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jaacob/perplexity-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server