Skip to main content
Glama
Perplexica MCP Server

Perplexica MCP Server

by armand0e

Perplexica MCP Server

Tests Python 3.8+ License: MIT

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

Related MCP server: MCP Perplexica

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.git

Configuration

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:3001

Usage

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 modes

  • perplexica_get_models: Get available chat and embedding models

Focus Modes

  • webSearch: General web search

  • academicSearch: Academic and research-focused search

  • writingAssistant: Writing and content creation assistance

  • wolframAlphaSearch: Mathematical and computational queries

  • youtubeSearch: YouTube video search

  • redditSearch: Reddit discussion search

Requirements

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      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.
      1
      16 PyPI
      82
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Enables LLMs to perform web searches through Perplexica with multiple focus modes (web, academic, YouTube, Reddit) and optimization settings, returning AI-generated responses with source citations.
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI-powered web research using your existing Perplexity Pro subscription, providing tools for search, follow-up conversations, and thread management through the Model Context Protocol.
      4
      24
      MIT