Query and chat with the Perplexity AI API directly from your command line, or expose its functionality via an MCP server.
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.