Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

perplexity-search

Skill by escapeWu

Searches the current public web with citations through perplexity-mcp v2 tools or a bundled Python REST client. Built for assistants that need recent, source-backed answers, deep research and detached background tasks.

  • Score 69
  • 184 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install perplexity-search

Built from the published package, never by AI.

git clone --depth 1 https://github.com/escapeWu/perplexity-ai /tmp/perplexity-ai && mkdir -p ~/.claude/skills && cp -r /tmp/perplexity-ai/.agents/skills/perplexity-search ~/.claude/skills/perplexity-search

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install perplexity-search in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

perplexity-search is an agent skill that runs cited web searches through either the perplexity-mcp v2 tools or the bundled scripts/client.py REST client. Both transports use the same method names, arguments and response shapes. It covers focused asks, broader Deep Research, native follow-up sessions, file attachments and detached tasks that can run after the caller disconnects.

The skill explains when to use a focused Ask and when to use Deep Research. It tells the assistant to check the status field before using results, to keep sourced facts separate from its own synthesis, and to treat incomplete task output as non-success. It is aimed at users who need current facts, news, fact checks or source-backed comparisons. Credentials are read from environment variables or config.json and must never be printed or committed.

Written from the project's SKILL.md and checked against it.

What it can do

  • perplexity_ask_v2Gives a focused search or cited answer, with optional model, thinking, session and files.
  • perplexity_research_v2Runs broad Deep Research across several subtopics, many sources and report-like synthesis.
  • perplexity_task_submitSubmits detached work that must survive caller disconnects or run for a long time.
  • perplexity_task_statusChecks a detached task and can return its output once it is complete.
  • perplexity_task_cancelCancels a detached task that is no longer needed.
  • Native sessionsKeeps same-topic follow-up questions in one session using the returned session_id.
  • File attachmentsSends local files with Ask, Research or task requests, within server limits.

What you need

  • Perplexity MCP server or REST service reachable at PPLX_BASE_URL
  • Bearer token set as MCP_TOKEN or PPLX_API_KEY
  • Python 3 with the standard library only

Try asking

  • Use perplexity search to compare the latest Python packaging changes with sources.
  • Research the 2026 enterprise AI agent market with primary-source evidence.
  • Submit a detached research task on WebAssembly component model adoption.

Good to know

  • Legacy MCP tools search, research and perplexity_search are deprecated.
  • Files are limited to 10 per request, 20 MiB per file and 100 MiB per request.
  • A session supports at most one unfinished task and does not accept concurrent turns.
  • Research always uses perplexity-deepsearch and does not accept model or thinking arguments.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/perplexity-search/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to perplexity-search

All alternatives →

Compare with box, n8n-mcp-tools-expert or citation-management

perplexity-search: common questions

Does the same workflow work over MCP and Python?

Yes. The MCP tools and the Python REST methods use the same operation names, arguments and response shapes.

When is a detached task complete?

Only when its state is completed. Submission means admission, not completion, and failed, timed_out, cancelled or interrupted tasks are not success.

How does the skill handle API keys?

It reads MCP_TOKEN, PPLX_API_KEY or config.json, and the source says never to print, quote, log or commit real credentials.

How do I install perplexity-search?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is perplexity-search free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is perplexity-search safe to use?

It scores 69 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to perplexity-search?

Similar skills: box, n8n-mcp-tools-expert, citation-management, exa-search.

perplexity-search Install

Add to stack

Loading.