关于
Pplx is an unofficial command-line interface (CLI) for interacting with the Perplexity AI API, offering both interactive chat and direct query functionalities. Beyond its standalone CLI capabilities, it operates as a Model Context Protocol (MCP) server, allowing seamless integration with MCP-compatible clients like Claude Code. This dual functionality enables developers and users to leverage Perplexity AI's advanced search, response generation, and structured output features for various AI-driven tasks and development workflows.
主要功能
- 3 GitHub stars
- Ability to include images and related questions in AI responses
- Acts as an MCP server for integration with AI clients like Claude Code
- Advanced search options including domain, recency, and location filtering
- Interactive chat and direct query with Perplexity AI API via CLI
- Customizable response generation parameters (model, temperature, max tokens, penalties)
使用案例
- Engaging in interactive AI conversations and targeted queries from the terminal.
- Integrating Perplexity AI's web search and reasoning capabilities into AI development environments like Claude Code.
- Automating information retrieval and structured data generation from the web using Perplexity's API.