Skip to content
Skillpedia
Connectors (MCP)33k Β· #8602

perplexity

What it does

This skill connects your AI to Perplexity for web search and research. It is for people who want current information with links to the sources.

When to use it

  • βœ“When you ask your AI to search for something online and want links to sources.
  • βœ“When you want a direct answer to a general question about recent events or trends.
  • βœ“When you want a deeper research report on a topic that needs several sources.

Skill link

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/perplexity/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/perplexity/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œCan you search for the latest guidance on remote work policies and give me the sources?”

5 new skills a week. 1 minute to read.

How it works

The skill sends your search to the Perplexity tool and keeps the number of results small by default. It returns either a list of sources or a conversational answer, depending on what you ask for.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Perplexity Tools

Use ONLY when user says "search", "find", "look up", "ask", "research", or "what's the latest" for generic queries. NOT for library/framework docs (use Context7), gt CLI (use Graphite MCP), or workspace questions (use Nx MCP).

Quick Reference

Which Perplexity tool?

  • Need search results/URLs? β†’ Perplexity Search
  • Need conversational answer? β†’ Perplexity Ask
  • Need deep research? β†’ Researcher agent (/research <topic>)

NOT Perplexity - use these instead:

  • Library/framework docs β†’ Context7 MCP
  • Graphite gt CLI β†’ Graphite MCP
  • THIS workspace β†’ Nx MCP
  • Specific URL β†’ URL Crawler

Perplexity Search

When to use:

  • Generic searches, finding resources
  • Current best practices, recent information
  • Tutorial/blog post discovery
  • User says "search for...", "find...", "look up..."

Default parameters (ALWAYS USE):

mcp__perplexity__perplexity_search({
  query: "your search query",
  max_results: 3,           // Default is 10 - too many!
  max_tokens_per_page: 512  // Reduce per-result content
})

When to increase limits: Only if:

  • User explicitly needs comprehensive results
  • Initial search found nothing useful
  • Complex topic needs multiple sources
// Increased limits (use sparingly)
mcp__perplexity__perplexity_search({
  query: "complex topic",
  max_results: 5,
  max_tokens_per_page: 1024
})

Perplexity Ask

When to use:

  • Need conversational explanation, not search results
  • Synthesize information from web
  • Explain concepts with current context

Usage:

mcp__perplexity__perplexity_ask({
  messages: [
    {
      role: "user",
      content: "Explain how postgres advisory locks work"
    }
  ]
})

NOT for:

  • Library documentation (use Context7)
  • Deep multi-source research (use researcher agent)

Prohibited Tool

NEVER use: mcp__perplexity__perplexity_research

Use instead: Researcher agent (/research <topic>)

  • Token cost: 30-50k tokens
  • Provides multi-source synthesis with citations
  • Use sparingly for complex questions only

Tool Selection Chain

Priority order:

  1. Context7 MCP - Library/framework docs
  2. Graphite MCP - Any gt CLI mention
  3. Nx MCP - THIS workspace questions
  4. Perplexity Search - Generic searches
  5. Perplexity Ask - Conversational answers
  6. Researcher agent - Deep multi-source research
  7. WebSearch - Last resort (after Perplexity exhausted)

Examples

βœ… CORRECT - Use Perplexity Search:

  • "Find postgres migration best practices"
  • "Search for React testing tutorials"
  • "Look up latest trends in microservices"

βœ… CORRECT - Use Perplexity Ask:

  • "Explain how postgres advisory locks work"
  • "What are the trade-offs of microservices?"

❌ WRONG - Use Context7 instead:

  • "Search for React hooks documentation" β†’ Context7 MCP
  • "Find Next.js routing docs" β†’ Context7 MCP
  • "Look up Temporal workflow API" β†’ Context7 MCP

❌ WRONG - Use Graphite MCP instead:

  • "Search for gt stack commands" β†’ Graphite MCP
  • "Find gt branch workflow" β†’ Graphite MCP

❌ WRONG - Use Nx MCP instead:

  • "Search for build config" (in THIS workspace) β†’ Nx MCP
  • "Find project dependencies" (in THIS workspace) β†’ Nx MCP

Key Points

  • Default to limited results - avoid context bloat
  • Library docs = Context7 - ALWAYS try Context7 first
  • "gt" = Graphite MCP - ANY "gt" mention uses Graphite
  • Deep research = /research - NOT perplexity_research tool
  • Fallback chain - Search β†’ Ask β†’ WebSearch (last resort)
FAQ

Does it need an account?

Yes. It needs the Perplexity connection to be set up before it can run searches.

Is it for library documentation?

No. The guidance says library and framework docs should use a documentation tool instead.

How many results does it return?

By default it asks for only three results to keep answers short, and it can return more when you need it.

Details

Original description by the author

Web search and research using Perplexity AI. Use when user says "search", "find", "look up", "ask", "research", or "what's the latest" for generic queries. NOT for library/framework docs (use Context7) or workspace questions.

repo: davila7/claude-code-templates

Popularity

GitHub stars
33k
Ranking position
#8602
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills