Required for running the MCP server, with Python 3.7+ specified as a prerequisite
Enables search through Reddit content via the redditSearch focus mode
Provides access to Wolfram Alpha search capabilities via the wolframAlphaSearch focus mode
Allows searching YouTube content through the youtubeSearch focus mode
Perplexica MCP Server
Perplexica MCP Server is a Model Context Protocol (MCP) server that acts as a proxy to provide LLM access to Perplexica's AI-powered search engine. This server enables AI assistants and other MCP clients to perform searches through the Perplexica API.
What This MCP Server Provides
- Single Search Tool: Exposes Perplexica's search functionality as an MCP tool
- API Proxy: Acts as a bridge between MCP clients and the Perplexica search endpoint
- Parameter Passthrough: Forwards all search parameters (focus modes, models, etc.) to the Perplexica API
- MCP Protocol Compliance: Implements the Model Context Protocol for seamless integration with AI assistants
Installation
To use the Perplexica MCP Server, you'll need to have Python 3.12 or later installed on your system.
- Clone this repository:
- Install the required dependencies:
MCP Server Configuration
This server is designed to be used with MCP-compatible clients. Add the following configuration to your MCP client:
Backend URL Configuration
The Perplexica MCP Server uses an environment variable to configure the backend URL. To set this up:
- Create a
.env
file in the root of the project (if it doesn't already exist) - Add the
PERPLEXICA_BACKEND_URL
variable with your desired backend URL:
The server will use this URL to communicate with the Perplexica backend. If the environment variable is not set, it will default to http://localhost:3000/api/search
.
Usage
This MCP server provides a search
tool that can be used by MCP clients to perform searches through Perplexica. The tool accepts the following parameters:
Search Tool Parameters
query
(required): The search query stringfocus_mode
(required): The search focus modechat_model
(optional): Chat model configurationembedding_model
(optional): Embedding model configurationoptimization_mode
(optional): Performance optimization settinghistory
(optional): Conversation historysystem_instructions
(optional): Custom AI guidancestream
(optional): Whether to stream responses
Example Usage via MCP Client
When connected to an MCP client, you can use the search tool like this:
The MCP client will automatically invoke the search tool with the appropriate parameters.
Perplexica Integration
This MCP server acts as a proxy to the Perplexica search API. All search parameters and configurations are passed through to the underlying Perplexica service:
- Focus Modes: Supports all Perplexica focus modes (webSearch, academicSearch, writingAssistant, wolframAlphaSearch, youtubeSearch, redditSearch)
- Model Configuration: Passes through chat model and embedding model settings to Perplexica
- Search Options: Forwards optimization modes, conversation history, and system instructions
For detailed information about Perplexica's capabilities and features, please refer to the Perplexica documentation.
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A Model Context Protocol server that acts as a proxy to provide LLM access to Perplexica's AI-powered search engine, enabling AI assistants to perform searches with various focus modes.
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server that enables LLMs to interact with Elasticsearch clusters, allowing them to manage indices and execute search queries using natural language.Last updated -1JavaScript
- -securityFlicense-qualityA Model Context Protocol server that provides AI assistants with structured access to your Logseq knowledge graph, enabling retrieval, searching, analysis, and creation of content within your personal knowledge base.Last updated -19TypeScript
- -securityFlicense-qualityA Model Context Protocol server that enables AI assistants like Claude to perform real-time web searches using the Exa AI Search API in a safe and controlled manner.Last updated -2,167
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI assistants to interact with Confluence content, supporting operations like retrieving, searching, creating, and updating pages and spaces.Last updated -93TypeScriptMIT License