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
- -securityAlicense-qualityA Model Context Protocol server that enables AI assistants like Claude to browse and analyze Reddit content, including searching subreddits, retrieving post details with comments, and viewing trending posts.Last updated -1PythonMIT License
- -securityAlicense-qualityA Model Context Protocol server that provides real-time web search capabilities to AI assistants through pluggable search providers, currently integrated with the Brave Search API.Last updated -3TypeScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server implementation that enables AI assistants like Claude to perform Google searches and retrieve web data directly through natural language requests.Last updated -1753TypeScriptMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that provides web and image search capabilities through Google's Custom Search API, allowing AI assistants like Claude to access current information from the internet.Last updated -21TypeScript