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

Install Server
F
license - not found
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Servers

  • A
    license
    A
    quality
    C
    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
    -
    quality
    D
    maintenance
    An MCP server that enables AI agents to perform search-augmented queries and deep multi-source research using the Perplexity API.
    43
    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

View all related MCP servers

Related MCP Connectors

  • Serper MCP — wraps the Serper Google Search API (serper.dev)

  • MCP server for Google search results via SERP API

  • Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.

View all MCP Connectors

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/fromdot/perplexity-search-mcp'

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