Skip to main content
Glama

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-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

  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.

Available Tools

4 tools
perplexity_askA

Ask Perplexity AI a question with real-time web search. Returns an answer synthesized from multiple online sources.

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesThe question to ask Perplexity
modelNoModel to use: sonar, best, research, gpt51, gpt51-thinking, claude, claude-thinking, gemini, grok, kimi. Default: sonar

TDQS

A3.5/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions 'real-time web search' and 'synthesized from multiple online sources,' which adds some context about data sources and synthesis. However, it lacks details on rate limits, authentication needs, response format, or potential side effects, which are important for a tool performing external queries.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded and efficient, using two concise sentences that directly convey the tool's purpose and output. Every sentence earns its place by specifying the action, resource, and result without unnecessary details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations and no output schema, the description is moderately complete for a query tool. It covers the basic purpose and data sources but lacks details on behavioral traits like error handling, response structure, or operational constraints. This leaves gaps in understanding how to effectively invoke and interpret results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with clear descriptions for both parameters (query and model). The description adds no additional parameter semantics beyond what the schema provides, such as query formatting tips or model selection guidance. Baseline 3 is appropriate since the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('Ask Perplexity AI a question with real-time web search') and resource ('Perplexity AI'), distinguishing it from siblings like perplexity_list_models (listing models), perplexity_login (authentication), and perplexity_status (status checking). It specifies the verb+resource+scope combination precisely.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context ('Ask Perplexity AI a question with real-time web search'), suggesting this tool is for querying with web search capabilities. However, it doesn't explicitly state when to use this vs. alternatives (e.g., if other tools exist for non-search queries) or provide exclusions, leaving some ambiguity about optimal use cases.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

perplexity_list_modelsB

List all available Perplexity AI models

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the action ('List all available models') but doesn't describe traits like whether it's a read-only operation, requires authentication (implied by 'perplexity_login' sibling), rate limits, or output format. For a tool with zero annotation coverage, this leaves significant behavioral gaps, scoring a 2.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without any fluff or redundancy. It's front-loaded with the core action and resource, making it highly concise and well-structured, earning a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's low complexity (0 parameters, no output schema) and lack of annotations, the description is adequate but incomplete. It covers the basic purpose but misses contextual details like authentication needs (suggested by 'perplexity_login'), typical use cases, or output expectations. This is minimally viable but has clear gaps, scoring a 3.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has 0 parameters, and the input schema has 100% description coverage (though empty). The description doesn't need to add parameter semantics, as there are none to document. This meets the baseline of 4 for zero parameters, as it appropriately doesn't discuss non-existent inputs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('List') and resource ('all available Perplexity AI models'), making the purpose unambiguous. It distinguishes from siblings like 'perplexity_ask' (querying models) and 'perplexity_status' (checking service status), though it doesn't explicitly mention these distinctions. The description is specific but lacks explicit sibling differentiation, warranting a 4.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention scenarios like selecting a model for use with 'perplexity_ask', checking model availability before queries, or comparing it to 'perplexity_status' for service health. Without any usage context or exclusions, this is minimal guidance, scoring a 2.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behaviors: opening a browser window (external interaction), requiring user completion of login (manual step), and automatically saving cookies (outcome). However, it lacks details on error handling, timeout behavior, or what happens if login fails, which prevents a perfect score.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded and efficiently structured in two sentences: the first states the core action and outcome, the second clarifies the user's role. Every sentence earns its place by adding critical information (automation steps and manual requirement) with zero waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (involving browser automation and authentication), no annotations, and no output schema, the description is largely complete. It covers the purpose, process, and outcome. However, it omits details like where cookies are saved or how to verify success, which would enhance completeness for this type of tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0 parameters with 100% coverage, so no parameter documentation is needed. The description appropriately adds context about the tool's operation (browser-based login flow) without redundant parameter details. A baseline of 4 is applied since no parameters exist, and the description provides useful operational semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with specific verbs ('Opens a browser window', 'log in', 'saves cookies') and resources ('Perplexity'), distinguishing it from sibling tools like perplexity_ask (querying) and perplexity_list_models (listing models). It explicitly describes the authentication flow, which is unique among the siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use this tool: for logging into Perplexity to obtain cookies. It implicitly distinguishes from alternatives by focusing on authentication (vs. querying with perplexity_ask or checking status with perplexity_status). The instruction 'User must complete login in the browser' clarifies the required user interaction, making usage context clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

perplexity_statusB

Check the status of Perplexity MCP configuration and cookies.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states what the tool does (checking status) but doesn't describe traits like whether it's read-only, what the output format might be (e.g., success/failure, cookie validity), or any side effects (e.g., logging). This is a significant gap for a tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without any wasted words. It's appropriately sized and front-loaded, making it easy for an agent to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of annotations and output schema, the description is incomplete. It doesn't explain what 'status' entails (e.g., configuration validity, cookie expiration), the return format, or potential error conditions. For a tool that likely involves system state checks, this leaves too much ambiguity for an agent to use it effectively.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has 0 parameters, and the input schema has 100% description coverage (though empty). The description doesn't need to add parameter details, so it meets the baseline of 4 for tools with no parameters, as there's nothing to compensate for.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with a specific verb ('Check') and resource ('Perplexity MCP configuration and cookies'), making it immediately understandable. However, it doesn't explicitly differentiate from sibling tools like 'perplexity_login' (which might also involve configuration/cookie status), so it doesn't reach the highest score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'perplexity_login' (for authentication) or 'perplexity_ask' (for queries). It implies usage for status checking but lacks explicit context, prerequisites, or exclusions, leaving the agent to infer when this is appropriate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

TDQS

A3.8/5.0
Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness4/5

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

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    An MCP server integrating Perplexity AI's API to offer advanced search capabilities with support for multiple models and result configuration.
    1
    1,014
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A 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.
    29
    3
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    An 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.
    3
    49
    9
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mahii1972/ppx-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server