Perplexica MCP Server
Perplexica MCP Server
A Model Context Protocol (MCP) server for interacting with local Perplexica instances. This server provides tools to perform AI-powered searches using your local Perplexica installation.
Features
Search: Perform AI-powered searches with various focus modes
Streaming Support: Get real-time streaming responses
Multiple Focus Modes: Support for web search, academic search, writing assistant, and more
Customizable Models: Configure chat and embedding models
Conversation History: Maintain context across searches
Installation
From Source
git clone https://github.com/armand0e/perplexica-mcp.git
cd perplexica-mcp
pip install -e .From Git (Direct Install)
pip install git+https://github.com/armand0e/perplexica-mcp.gitConfiguration
The server connects to a local Perplexica instance. By default, it expects Perplexica to be running on http://localhost:3000.
You can configure the base URL by setting the PERPLEXICA_BASE_URL environment variable:
export PERPLEXICA_BASE_URL=http://localhost:3001Usage
With Claude Desktop
Add this to your Claude Desktop configuration:
{
"mcpServers": {
"perplexica": {
"command": "python",
"args": ["-m", "perplexica_mcp"],
"env": {
"PERPLEXICA_BASE_URL": "http://localhost:3000"
}
}
}
}Available Tools
perplexica_search: Perform AI-powered searches with various focus modesperplexica_get_models: Get available chat and embedding models
Focus Modes
webSearch: General web searchacademicSearch: Academic and research-focused searchwritingAssistant: Writing and content creation assistancewolframAlphaSearch: Mathematical and computational queriesyoutubeSearch: YouTube video searchredditSearch: Reddit discussion search
Requirements
Python 3.8+
A running Perplexica instance (see Perplexica GitHub)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/armand0e/perplexica-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server