Skip to main content
Glama
fromdot

perplexity-search-mcp

by fromdot

perplexity-search-mcp

MCP server for web search via Perplexity Sonar Pro through OpenRouter API.

Setup

1. Get an OpenRouter API Key

Get your API key from openrouter.ai/keys.

2. Add to MCP Client

Add to your MCP client config (e.g., AiderDesk, Claude Desktop):

{
  "mcpServers": {
    "perplexity-search": {
      "command": "npx",
      "args": ["tsx", "src/index.ts"],
      "cwd": "/path/to/perplexity-search-mcp",
      "env": {
        "OPENROUTER_API_KEY": "sk-or-..."
      }
    }
  }
}

Or with the built version:

{
  "mcpServers": {
    "perplexity-search": {
      "command": "node",
      "args": ["dist/index.js"],
      "cwd": "/path/to/perplexity-search-mcp",
      "env": {
        "OPENROUTER_API_KEY": "sk-or-..."
      }
    }
  }
}

Related MCP server: perplexity-mcp-server

Tool

Search the web using Perplexity Sonar Pro.

Parameter

Type

Required

Description

query

string

The search query

model

string

Model to use (default: perplexity/sonar-pro-search)

Available models:

  • perplexity/sonar-pro-search (default) — deeper search, more citations

  • perplexity/sonar-search — faster, lighter

Development

pnpm install
pnpm build
pnpm dev    # run with tsx (no build needed)

License

MIT

Available Tools

1 tool

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool updatev0.1.0
    • First observedperplexity_search

TDQS

A3.5/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of ambiguity. The tool's purpose is clearly distinct by default.

Naming Consistency5/5

Only one tool exists, so naming is trivially consistent. The name 'perplexity_search' uses a clear verb_noun pattern.

Tool Count3/5

A single tool is borderline for a server. While it may suffice for a basic search function, it feels thin and lacks supplementary tools for a richer interaction.

Completeness4/5

The server is narrowly scoped to web search via Perplexity, and the single tool covers the core operation adequately. Minor gaps like filtering or history are absent but not critical for the stated purpose.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    An 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.
    6
    4
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that enables AI agents to perform search-augmented queries and deep multi-source research using the Perplexity API.
    112
    25
    Apache 2.0
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to perform web searches and retrieve real-time information using Perplexity AI's Sonar models, with support for multiple search modes and easy integration with MCP clients.
    5
    1
    MIT