Skip to main content
Glama
balakumardev

Perplexity MCP

by balakumardev

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PERPLEXITY_COOKIESNoInline JSON string of Perplexity cookies.
PERPLEXITY_COOKIES_PATHNoPath to a JSON file containing Perplexity cookies.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
searchB

Search Perplexity AI with the given query.

Args: query: The search query string mode: Search mode - 'auto', 'pro', 'reasoning', or 'deep_research' model: Specific model to use (depends on mode): - auto: None - pro: None, 'sonar', 'gpt-4.5', 'gpt-4o', 'claude 3.7 sonnet', 'gemini 2.0 flash', 'grok-2' - reasoning: None, 'r1', 'o3-mini', 'claude 3.7 sonnet' - deep_research: None sources: List of sources to use - 'web', 'scholar', 'social' answer_only: If True, return only answer and backend_uuid. If False, also include sources and related_queries. language: Language code (ISO 639, e.g., 'en-US') incognito: Whether to enable incognito mode

Returns: Dictionary with 'answer' and 'backend_uuid'. If answer_only=False, also includes 'sources' and 'related_queries'.

follow_upA

Send a follow-up query to continue a previous conversation.

Args: query: The follow-up query string backend_uuid: The backend_uuid from the previous response mode: Search mode - 'auto', 'pro', 'reasoning', or 'deep_research' model: Specific model to use (see search tool for options) answer_only: If True, return only answer and backend_uuid. If False, also include sources and related_queries.

Returns: Dictionary with 'answer' and 'backend_uuid'. If answer_only=False, also includes 'sources' and 'related_queries'.

list_threadsC

List conversation threads from Perplexity AI.

Args: limit: Maximum number of threads to return (default 10) search_term: Optional search term to filter threads

Returns: Dictionary containing list of threads with their metadata

get_threadA

Get details of a specific thread by its slug.

Args: slug: The thread slug (identifier from thread URL or list_threads)

Returns: Dictionary containing thread details including all messages

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/balakumardev/perplexity-web-wrapper'

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