Back to Home
perplexityai icon

modelcontextprotocol

Verified Safe

by perplexityai

Overview

Provides AI assistants with real-time web search, reasoning, and research capabilities through Perplexity's API.

Installation

Run Command
npx @perplexity-ai/mcp-server

Environment Variables

  • PERPLEXITY_API_KEY
  • PERPLEXITY_TIMEOUT_MS
  • PERPLEXITY_PROXY
  • HTTPS_PROXY
  • HTTP_PROXY
  • PORT
  • BIND_ADDRESS
  • ALLOWED_ORIGINS

Security Notes

The server explicitly requires 'PERPLEXITY_API_KEY' as an environment variable and does not hardcode secrets. It supports proxy configurations for secure network environments. In HTTP mode, the 'ALLOWED_ORIGINS' for CORS can be set to '*' for public access, which could be a misconfiguration risk if not intended. However, the default binding address is '127.0.0.1' and default origins are 'localhost', promoting secure local setup. Uses 'undici' for HTTP requests, which is a robust fetch implementation.

Similar Servers

Stats

Interest Score100
Security Score8
Cost ClassMedium
Avg Tokens2000
Stars1803
Forks254
Last Update2025-11-24

Tags

AIPerplexity APIMCP ServerWeb SearchReasoning