PPX-MCP
Provides tools to perform real-time web searches and query multiple AI models—including Sonar, GPT-5.1, Claude 4.5, and Gemini—via Perplexity AI using Perplexity Pro session cookies.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PPX-MCP Research the latest breakthroughs in room-temperature superconductors"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PPX-MCP
Unofficial MCP server for Perplexity AI with real-time web search.
Uses your Perplexity Pro subscription instead of the Perplexity API — no API keys needed, just your browser cookies. Supports model selection including GPT-5.1, Claude 4.5, Gemini, Grok, and more.
⚠️ Disclaimer: This is an unofficial project and is not affiliated with, endorsed by, or associated with Perplexity AI in any way.
Platform Support
Platform | Status |
Windows + Chrome | ✅ Tested |
macOS / Linux | ⚠️ Untested — may need tweaks |
The login tool requires Chrome to be installed. On non-Windows platforms, you may need to manually set cookies or adjust the Chrome path in the code.
Related MCP server: MCP Perplexity Pro
Installation
npm install -g ppx-sub-mcpOr run directly with npx:
npx ppx-sub-mcpUsage with Kiro / Claude Desktop
Add to your MCP config:
{
"mcpServers": {
"ppx": {
"command": "npx",
"args": ["ppx-sub-mcp"]
}
}
}Cookies are stored in ~/.ppx-mcp/settings.json (persists across updates).
Tools
Tool | Description |
| Ask Perplexity AI with web search |
| List available models |
| Open browser to log in and auto-save cookies |
| Check config and cookie status |
perplexity_ask
Parameter | Required | Description |
| Yes | Question to ask |
| No | See models below (default: |
Available Models
Model | Description |
| Sonar - Perplexity's fast model |
| Best - Auto-selects the best model |
| Research - Deep research |
| GPT-5.1 - OpenAI's latest |
| GPT-5.1 Thinking - With reasoning |
| Claude 4.5 - Anthropic's newest |
| Claude 4.5 Thinking - With reasoning |
| Gemini 3 Pro - Google's model |
| Grok 4.1 - xAI's model |
| Kimi K2 - Moonshot's model |
Getting Cookies
Option 1: Use the login tool
Call
perplexity_login— opens a browser windowLog in to Perplexity
Cookies are automatically saved
Option 2: Manual
Open Firefox → perplexity.ai → log in
DevTools (F12) → Network tab
Send a message
Find
perplexity_askrequest → copy Cookie headerEdit
settings.jsondirectly
Credits
Inspired by perplexity-webui-scraper.
License
MIT
This is an unofficial project and is not affiliated with Perplexity AI.
Available Tools
4 toolsperplexity_askA
Ask Perplexity AI a question with real-time web search. Returns an answer synthesized from multiple online sources.
Inputs: query (required), model.
perplexity_list_modelsB
List all available Perplexity AI models
Inputs: no named parameters.
perplexity_loginA
Opens a browser window to log in to Perplexity and automatically saves cookies. User must complete login in the browser, then the cookies are extracted and saved.
Inputs: no named parameters.
perplexity_statusB
Check the status of Perplexity MCP configuration and cookies.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: perplexity_ask is for querying, perplexity_list_models for listing models, perplexity_login for authentication, and perplexity_status for configuration checks. There is no overlap in functionality, making tool selection straightforward for an agent.
All tool names follow a consistent 'perplexity_' prefix with descriptive action suffixes (ask, list_models, login, status). This uniform snake_case pattern ensures predictability and readability across the tool set.
With 4 tools, the server is well-scoped for interacting with Perplexity AI, covering essential operations like querying, model listing, authentication, and status checks. Each tool earns its place without being overly sparse or bloated.
The tool set covers core functionalities for a Perplexity AI MCP server, including querying, model discovery, and authentication. A minor gap exists in lacking tools for managing sessions or handling errors, but agents can work around this with the provided tools.
Maintenance
Related MCP Connectors
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Web search API and MCP server for developers building AI agents.
Hosted Web Crawler MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server integrating Perplexity AI's API to offer advanced search capabilities with support for multiple models and result configuration.11,004 npm1MIT
- AlicenseAqualityBmaintenanceA comprehensive MCP server that provides intelligent access to Perplexity AI's search and reasoning models with automatic model selection, conversation management, and project-aware storage. Supports real-time search, deep research, chat sessions, and async operations for complex queries.1132 npm22 PyPI3MIT
- AlicenseAqualityDmaintenanceAn MCP server that enables AI assistants to perform web searches on Perplexity.ai using browser automation instead of an official API. It supports persistent authenticated sessions and returns search results along with cited sources directly to the client.380 npm13MIT
- AlicenseNot gradedqualityCmaintenanceMCP server that queries Perplexity Pro via WebUI session token, providing model-specific tools for search and deep research.170 npm5MIT