MCP Hub
Back to servers

PPX-MCP

An unofficial MCP server for Perplexity AI that uses Pro subscriptions and browser cookies instead of API keys to provide real-time web searches and access to various LLMs.

Tools
4
Updated
Nov 29, 2025

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

PlatformStatus
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

ToolDescription
perplexity_askAsk Perplexity AI with web search
perplexity_list_modelsList available models
perplexity_loginOpen browser to log in and auto-save cookies
perplexity_statusCheck config and cookie status

perplexity_ask

ParameterRequiredDescription
queryYesQuestion to ask
modelNoSee models below (default: sonar)

Available Models

ModelDescription
sonarSonar - Perplexity's fast model
bestBest - Auto-selects the best model
researchResearch - Deep research
gpt51GPT-5.1 - OpenAI's latest
gpt51-thinkingGPT-5.1 Thinking - With reasoning
claudeClaude 4.5 - Anthropic's newest
claude-thinkingClaude 4.5 Thinking - With reasoning
geminiGemini 3 Pro - Google's model
grokGrok 4.1 - xAI's model
kimiKimi 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

  1. Open Firefox → perplexity.ai → log in
  2. DevTools (F12) → Network tab
  3. Send a message
  4. Find perplexity_ask request → copy Cookie header
  5. Edit settings.json directly

Credits

Inspired by perplexity-webui-scraper.

License

MIT

This is an unofficial project and is not affiliated with Perplexity AI.

Reviews

No reviews yet

Sign in to write a review