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-..."
      }
    }
  }
}

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

-
license - not tested
-
quality - not tested
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.

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