perplexity-pro-mcp

perplexity-pro-mcp

MCP server for Perplexity AI Pro that enables deep web search, thread management, and export of answers using an existing Perplexity Pro subscription and browser session cookie.

Category
Visit Server

README

perplexity-pro-mcp

MCP server for Perplexity AI Pro — deep web search, thread management, and export. Uses your browser session cookie, so it works with your existing Perplexity Pro subscription (no API key needed).

⚠️ This server uses Perplexity's unofficial internal API and a browser session cookie. It may break if Perplexity changes their API, and heavy automated use may violate Perplexity's Terms of Service. Use at your own risk.

Tools

Tool Description
perplexity_search Deep web search via Perplexity Pro (answer + sources + related queries)
perplexity_follow_up Continue conversation in an existing thread
perplexity_threads List recent search threads
perplexity_export Export an answer as markdown or PDF
perplexity_collections List saved collections

Setup

1. Get your cookie

Open https://www.perplexity.ai (logged in) → DevTools (F12) → Network tab → click any request to perplexity.ai → Headers → copy the full Cookie header value.

2. Configure your MCP client

Claude Code:

claude mcp add perplexity -e PERPLEXITY_COOKIE="<full cookie string>" -- npx -y perplexity-pro-mcp

Claude Desktop / other clients (claude_desktop_config.json or equivalent):

{
  "mcpServers": {
    "perplexity": {
      "command": "npx",
      "args": ["-y", "perplexity-pro-mcp"],
      "env": {
        "PERPLEXITY_COOKIE": "<full cookie string>"
      }
    }
  }
}

Parameters

perplexity_search

  • query — search query
  • modecopilot (deep multi-step) or concise (quick)
  • modelpplx_pro or pplx_alpha
  • focusinternet, academic, writing, youtube, reddit

perplexity_follow_up

  • query — follow-up question
  • thread_uuid — UUID from a previous search result

perplexity_export

  • entry_uuid — entry UUID (from threads list)
  • formatmd or pdf

Cookie refresh

Cookies expire in ~30 days. If you get 403 errors, copy fresh cookies from the browser.

Note: perplexity_search works with just the session token. Other tools require full cookies (including cf_clearance).

Development

npm install
npm run build      # compile TypeScript → dist/
npm start          # run locally (requires PERPLEXITY_COOKIE)

License

MIT

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured