PPX-MCP
An unofficial MCP server for Perplexity AI that leverages Pro subscriptions and browser cookies to enable real-time web searches and model selection without an API key. It provides tools for performing queries, listing available models, and automating the login process to manage authentication.
README
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.
Installation
npm install -g ppx-sub-mcp
Or run directly with npx:
npx ppx-sub-mcp
Usage 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 |
|---|---|
perplexity_ask |
Ask Perplexity AI with web search |
perplexity_list_models |
List available models |
perplexity_login |
Open browser to log in and auto-save cookies |
perplexity_status |
Check config and cookie status |
perplexity_ask
| Parameter | Required | Description |
|---|---|---|
query |
Yes | Question to ask |
model |
No | See models below (default: sonar) |
Available Models
| Model | Description |
|---|---|
sonar |
Sonar - Perplexity's fast model |
best |
Best - Auto-selects the best model |
research |
Research - Deep research |
gpt51 |
GPT-5.1 - OpenAI's latest |
gpt51-thinking |
GPT-5.1 Thinking - With reasoning |
claude |
Claude 4.5 - Anthropic's newest |
claude-thinking |
Claude 4.5 Thinking - With reasoning |
gemini |
Gemini 3 Pro - Google's model |
grok |
Grok 4.1 - xAI's model |
kimi |
Kimi K2 - Moonshot's model |
Getting Cookies
Option 1: Use the login tool
- Call
perplexity_login— opens a browser window - Log 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 header - Edit
settings.jsondirectly
Credits
Inspired by perplexity-webui-scraper.
License
MIT
This is an unofficial project and is not affiliated with Perplexity AI.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.