Skip to main content
Glama
mnthe

perplexity-mcp-server

by mnthe

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_DIRNoDirectory for file-based logging (only used if LOG_TO_STDERR is false)./logs
MAX_HISTORYNoMaximum number of messages per session20
LOG_TO_STDERRNoLog to stderr (recommended for npx/MCP usage)true
DISABLE_LOGGINGNoDisable all loggingfalse
SESSION_TIMEOUTNoSession timeout in seconds (default 30 minutes)1800
PERPLEXITY_MODELNoModel to use: sonar, sonar-pro, sonar-reasoningsonar
PERPLEXITY_API_KEYYesYour Perplexity API key (required)
ENABLE_CONVERSATIONSNoEnable session management for multi-turn conversationstrue

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
queryA

Query Perplexity AI with a prompt. Specialized for web search with citations, sources, and related questions. Supports multi-turn conversations when sessionId is provided. Returns rich metadata (citations, sources, images, related questions).

searchB

Search for information using Perplexity. Returns a list of relevant search results. Follows OpenAI MCP specification for search tools.

fetchA

Fetch the full contents of a search result document by its ID. Follows OpenAI MCP specification for fetch tools.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 3 tools

Disambiguation3/5

search and query both perform searches, which could cause confusion, but query is clearly described as more advanced with citations, sources, and multi-turn support, while search is more basic and spec-compliant. fetch is distinct as it retrieves full document contents by ID. The descriptions help differentiate, though some overlap remains.

Naming Consistency4/5

All tool names are single lowercase verbs (search, query, fetch), which is consistent and predictable. There is no verb_noun pattern, but the naming convention is uniform and easy to follow.

Tool Count4/5

Three tools is a minimal but appropriate size for a search-focused server. Each tool serves a clear purpose, and the count is not excessive or overly thin for the apparent scope.

Completeness4/5

The tools cover the core search workflow: basic search, advanced querying with rich metadata and multi-turn support, and fetching full contents. Minor gaps might include a dedicated tool for managing conversation history, but the surface is largely complete for common use cases.

Maintenance

ActivityInactive
ResponsivenessNo issues