KS
Killer-Skills

perplexity-tools — how to use perplexity-tools how to use perplexity-tools, perplexity-tools setup guide, perplexity-tools alternative, perplexity-tools vs sonar, perplexity-tools install, what is perplexity-tools, perplexity-tools python cli, sonar family models, perplexity ai queries

v1.0.0
GitHub

About this Skill

Perfect for AI Analysis Agents needing efficient Perplexity AI query execution via Python CLI. perplexity-tools is a specialized AI query execution tool that utilizes Python CLI and auto-injects API keys via 1Password, supporting various Sonar family models.

Features

Execute Perplexity AI queries via Python CLI
Supports Sonar family models, including sonar, sonar-pro, sonar-reasoning, sonar-reasoning-pro, and sonar-deep-research
API key auto-injection via 1Password
Utilizes specialized models for optimized response quality
Citation tokens no longer billed for sonar and sonar-pro models

# Core Topics

bsamiee bsamiee
[0]
[0]
Updated: 3/6/2026

Quality Score

Top 5%
42
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add bsamiee/Parametric_Portal/perplexity-tools

Agent Capability Analysis

The perplexity-tools MCP Server by bsamiee is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use perplexity-tools, perplexity-tools setup guide, perplexity-tools alternative.

Ideal Agent Persona

Perfect for AI Analysis Agents needing efficient Perplexity AI query execution via Python CLI.

Core Value

Empowers agents to execute Perplexity AI queries using specialized models like sonar, sonar-pro, sonar-reasoning, and sonar-deep-research, optimizing response quality with auto-injected API keys via 1Password, and leveraging CLI for streamlined interactions.

Capabilities Granted for perplexity-tools MCP Server

Executing Perplexity AI queries for optimized response quality
Utilizing sonar family models for lightweight search, deeper retrieval, and real-time reasoning
Automating API key management via 1Password for seamless query execution

! Prerequisites & Limits

  • Requires Perplexity AI API key
  • Dependent on 1Password for API key auto-injection
  • Limited to Python CLI execution
Project
SKILL.md
3.6 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

[H1][PERPLEXITY-TOOLS]

Dictum: Specialized models optimize response quality.

<br>

Execute Perplexity AI queries via Python CLI. API key auto-injected via 1Password.

[IMPORTANT] Sonar family models (Feb 2026): sonar (lightweight search), sonar-pro (deeper retrieval, 2x more results), sonar-reasoning (real-time reasoning), sonar-reasoning-pro (DeepSeek-R1, visible reasoning), sonar-deep-research (long-form reports). Citation tokens no longer billed for sonar/sonar-pro.


[1][COMMANDS]

[CMD][ARGS][MODEL]
ask<query>sonar
pro<query>sonar-pro
research<query> [strip]sonar-deep-research
reason<query> [strip]sonar-reasoning-pro
search<query> [max] [country]sonar

[2][USAGE]

bash
1# Quick question with citations (lightweight) 2uv run .claude/skills/perplexity-tools/scripts/perplexity.py ask "What is Effect-TS?" 3 4# Pro question with deeper retrieval 5uv run .claude/skills/perplexity-tools/scripts/perplexity.py pro "Compare Vite 7 vs Turbopack bundling strategies" 6 7# Deep research (10min timeout) 8uv run .claude/skills/perplexity-tools/scripts/perplexity.py research "React 19 new features" 9 10# Deep research, strip thinking tags 11uv run .claude/skills/perplexity-tools/scripts/perplexity.py research "Vite 7 migration" strip 12 13# Reasoning task 14uv run .claude/skills/perplexity-tools/scripts/perplexity.py reason "Compare Effect vs RxJS" 15 16# Web search with max results 17uv run .claude/skills/perplexity-tools/scripts/perplexity.py search "Nx 22 features" 5

[3][ARGUMENTS]

ask: <query>

  • query — Question to ask (required)
  • Model: sonar (fast, lightweight search)

pro: <query>

  • query — Question requiring deeper retrieval (required)
  • Model: sonar-pro (enhanced search, 2x results)

research: <query> [strip]

  • query — Research topic (required)
  • strip — Pass strip to remove <think> tags from response
  • Model: sonar-deep-research (long-form, source-dense reports)

reason: <query> [strip]

  • query — Reasoning problem (required)
  • strip — Pass strip to remove <think> tags from response
  • Model: sonar-reasoning-pro (DeepSeek-R1, visible chain-of-thought)

search: <query> [max] [country]

  • query — Search query (required)
  • max — Max results (default: 10)
  • country — Country code to focus results (e.g., US, GB)

[4][OUTPUT]

Commands return: {"status": "success|error", ...}.

[INDEX][CMD][RESPONSE]
[1]ask{query, response, citations[]}
[2]pro{query, response, citations[]}
[3]research{query, response, citations[]}
[4]reason{query, response}
[5]search{query, results[]}

[5][ENVIRONMENT]

[VAR][REQUIRED][DESCRIPTION]
PERPLEXITY_API_KEYYesPerplexity API key (1Password injected)

[6][ERROR_HANDLING]

  • HTTP errors print [ERROR] <status>: <body> and exit 1
  • Rate limit (429): print retry guidance and exit 1
  • research command uses 10-minute timeout; long-running queries may time out
  • reason output includes <think> tags by default; pass strip to remove

Related Skills

Looking for an alternative to perplexity-tools or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication