mcp-perplexica
Verified Safeby Kaiohz
Overview
This server acts as a proxy for the Perplexica search API, allowing Large Language Models (LLMs) to perform web searches and receive AI-generated responses with source citations via the Model Context Protocol (MCP).
Installation
uv run python src/main.pyEnvironment Variables
- PERPLEXICA_URL
- TRANSPORT
- HOST
- PORT
- DEFAULT_CHAT_MODEL_PROVIDER_ID
- DEFAULT_CHAT_MODEL_KEY
- DEFAULT_EMBEDDING_MODEL_PROVIDER_ID
- DEFAULT_EMBEDDING_MODEL_KEY
- PERPLEXICA_TIMEOUT
- DEFAULT_FOCUS_MODE
- DEFAULT_OPTIMIZATION_MODE
- DEFAULT_SYSTEM_INSTRUCTIONS
Security Notes
The server's source code does not contain 'eval', code obfuscation, or hardcoded secrets. It relies on standard libraries (httpx, pydantic) and follows a clean hexagonal architecture. Configuration is loaded from environment variables. The primary network risk would stem from misconfiguring 'PERPLEXICA_URL' to point to an untrusted service, or from vulnerabilities within the proxied Perplexica instance itself, which is outside the scope of this server's direct code. Given it is a proxy, its overall security is inherently tied to the security of the Perplexica service it connects to.
Similar Servers
mcpo
Exposes Model Context Protocol (MCP) tools as OpenAPI-compatible HTTP servers.
modelcontextprotocol
Provides AI assistants with real-time web search, reasoning, and research capabilities through Perplexity's Sonar models and Search API.
mcp-language-server
Serves as an MCP (Model Context Protocol) gateway, enabling LLMs to interact with Language Servers (LSPs) for codebase navigation, semantic analysis, and code editing operations.
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.