modelcontextprotocol
Verified Safeby perplexityai
Overview
Provides AI assistants with real-time web search, reasoning, and research capabilities through Perplexity's Sonar models and Search API.
Installation
npx -y @perplexity-ai/mcp-serverEnvironment Variables
- PERPLEXITY_API_KEY
- PERPLEXITY_TIMEOUT_MS
- PERPLEXITY_LOG_LEVEL
- PERPLEXITY_PROXY
- HTTPS_PROXY
- HTTP_PROXY
- PORT
- BIND_ADDRESS
- ALLOWED_ORIGINS
Security Notes
The server correctly requires a PERPLEXITY_API_KEY environment variable, avoiding hardcoded secrets. It employs Zod for robust input and output validation, enhancing resilience against malformed data. Network requests have configurable timeouts. However, when run in HTTP mode, the default 'ALLOWED_ORIGINS' for CORS is set to '*' (all origins), which is overly permissive and insecure for production deployments. Users must explicitly configure 'ALLOWED_ORIGINS' to restrict access. Proxy configuration is well-supported via environment variables, adding flexibility for corporate networks.
Similar Servers
deep-research
Generate comprehensive, AI-powered deep research reports, leveraging various LLMs and web search engines, with local knowledge base integration and report artifact editing.
exa-mcp-server
Provides AI assistants and coding agents with real-time web search, code context, and deep research capabilities via the Model Context Protocol.
MCP
A remote Model Context Protocol (MCP) server that provides access to Jina Reader, Embeddings and Reranker APIs with a suite of URL-to-markdown, web search, image search, and embeddings/reranker tools.
mcp-omnisearch
Provides a unified interface for various search, AI response, content processing, and enhancement tools via Model Context Protocol (MCP).