mcpField
P
perplexity-search

perplexity-search

github.com/parcadeiProductivity3.9k526 installsUpdated 39w ago
Repository

About perplexity-search

perplexity-search is a command-line skill for web search and AI-assisted research, aimed at people who need anything from quick answers to in-depth topic analysis. It offers distinct modes for ranked source discovery, synthesis, reasoning, and comprehensive research.

Key features

  1. 01Ranked web search without synthesis
  2. 02AI answers with citations
  3. 03Research synthesis across sources
  4. 04Reasoning for complex decisions
  5. 05Deep multi-source research

Use cases

  1. 01Find recent sources on a topic
  2. 02Get cited answers to questions
  3. 03Compare options for a decision
  4. 04Prepare a comprehensive research report

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/parcadei/continuous-claude-v3 --skill perplexity-search

After installing, type/perplexity-searchin Claude Code to confirm it loaded.

Details

From the project README

Perplexity AI Search

Web search with AI-powered answers, deep research, and chain-of-thought reasoning.

When to Use

  • Direct web search for ranked results (no AI synthesis)
  • AI-synthesized research with citations
  • Chain-of-thought reasoning for complex decisions
  • Deep comprehensive research on topics

Models (2025)

ModelPurpose
sonarLightweight search with grounding
sonar-proAdvanced search for complex queries
sonar-reasoning-proChain of thought reasoning
sonar-deep-researchExpert-level exhaustive research

Usage

Quick question (AI answer)
uv run python scripts/mcp/perplexity_search.py \
    --ask "What is the latest version of Python?"
Direct web search (ranked results, no AI)
uv run python scripts/mcp/perplexity_search.py \
    --search "SQLite graph database patterns" \
    --max-results 5 \
    --recency week
AI-synthesized research
uv run python scripts/mcp/perplexity_search.py \
    --research "compare FastAPI vs Django for microservices"
Chain-of-thought reasoning
uv run python scripts/mcp/perplexity_search.py \
    --reason "should I use Neo4j or SQLite for small graph under 10k nodes?"
Deep comprehensive research
uv run python scripts/mcp/perplexity_search.py \
    --deep "state of AI agent observability 2025"

Parameters

ParameterDescription
--askQuick question with AI answer (sonar)
--searchDirect web search - ranked results without AI synthesis
--researchAI-synthesized research (sonar-pro)
--reasonChain-of-thought reasoning (sonar-reasoning-pro)
--deepDeep comprehensive research (sonar-deep-research)
Search-specific options
ParameterDescription
--max-results NNumber of results (1-20, default: 10)
--recencyFilter: day, week, month, year
--domainsLimit to specific domains

Mode Selection Guide

NeedUseWhy
Quick fact--askFast, lightweight
Find sources--searchRaw results, no AI overhead
Synthesized answer--researchAI combines multiple sources
Complex decision--reasonChain-of-thought analysis
Comprehensive report--deepExhaustive multi-source research

Examples

# Find recent sources on a topic
uv run python scripts/mcp/perplexity_search.py \
    --search "OpenTelemetry AI agent tracing" \
    --recency month --max-results 5

# Get AI synthesis
uv run python scripts/mcp/perplexity_search.py \
    --research "best practices for AI agent logging 2025"

# Make a decision
uv run python scripts/mcp/perplexity_search.py \
    --reason "microservices vs monolith for startup MVP"

# Deep dive
uv run python scripts/mcp/perplexity_search.py \
    --deep "comprehensive guide to building feedback loops for autonomous agents"

API Key Required

Requires PERPLEXITY_API_KEY in environment or ~/.claude/.env.

Comments

Markdown supported