Perplexica MCP Server
An MCP server that provides AI-powered search capabilities including web, academic, YouTube, Reddit search and writing assistance via Perplexica.
README
Perplexica MCP Server
A Model Context Protocol (MCP) server that provides access to Perplexica's AI-powered search engine capabilities.
Features
- Web Search: General web search using AI
- Academic Search: Search academic sources and papers
- YouTube Search: Find and summarize YouTube videos
- Reddit Search: Search Reddit discussions
- Writing Assistant: Get help with writing and research
- Multi-model Support: Use different chat and embedding models
- Health Monitoring: Check service status and availability
Prerequisites
- Python 3.10+
- A running Perplexica instance (default: http://localhost:3000)
- Optional: OpenAI API key for enhanced search capabilities
Installation
- Clone this repository
- Install dependencies:
orpip install -r requirements.txt pip install .uv tool install .
Configuration
cline
Configure the server to cline:
{
"mcpServers": {
"perplexica": {
"command": "python",
"args": [
"-m", "perplexica_mcp_server.server"
],
"env": {
"PERPLEXICA_DEFAULT_CHAT_PROVIDER":"custom_openai",
"PERPLEXICA_DEFAULT_CHAT_MODEL":"gpt-4.1",
"PERPLEXICA_CUSTOM_OPENAI_BASE_URL":"https://api.poe.com/v1",
"PERPLEXICA_CUSTOM_OPENAI_KEY":"your_api_key",
"PERPLEXICA_DEFAULT_EMBEDDING_PROVIDER":"transformers",
"PERPLEXICA_DEFAULT_EMBEDDING_MODEL":"xenova-bge-small-en-v1.5",
"PERPLEXICA_OPTIMIZATION_MODE":"balanced",
"PERPLEXICA_BASE_URL":"http://localhost:3000"
},
"timeout": 60,
"transport": "stdio"
}
}
}
or
{
"mcpServers": {
"perplexica": {
"command": "uvx",
"args": [
"perplexica-mcp-server"
],
"env": {
"PERPLEXICA_DEFAULT_CHAT_PROVIDER":"custom_openai",
"PERPLEXICA_DEFAULT_CHAT_MODEL":"gpt-4.1",
"PERPLEXICA_CUSTOM_OPENAI_BASE_URL":"https://api.poe.com/v1",
"PERPLEXICA_CUSTOM_OPENAI_KEY":"your_api_key",
"PERPLEXICA_DEFAULT_EMBEDDING_PROVIDER":"transformers",
"PERPLEXICA_DEFAULT_EMBEDDING_MODEL":"xenova-bge-small-en-v1.5",
"PERPLEXICA_OPTIMIZATION_MODE":"balanced",
"PERPLEXICA_BASE_URL":"http://localhost:3000"
},
"timeout": 60,
"transport": "stdio"
}
}
}
Development
Copy env.example to .env and modify as needed:
cp env.example .env
# Edit .env file to set your configuration
Starting the Server
Run the MCP server with stdio transport:
python -m perplexica_mcp_server.server
Testing
Test the server functionality:
python test/test_client.py
Run test for you perplexica:
python test/test_official_api.py
Output Formats
Supports two output formats:
json: Raw JSON data (default)formatted: Human-readable formatted text
License
MIT License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.