Skip to main content
Glama
Perplexity Ask MCP Server

Perplexity Ask MCP Server

by j-mcnally

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PERPLEXITY_MODELNoDefault model for general usesonar-pro
PERPLEXITY_API_KEYYesYour Perplexity API key
PERPLEXITY_API_URLNoCustom API endpoint URLhttps://api.perplexity.ai/chat/completions
PERPLEXITY_ASK_MODELNoModel for the perplexity_ask toolsonar-pro
PERPLEXITY_REASON_MODELNoModel for the perplexity_reason toolsonar-reasoning-pro
PERPLEXITY_RESEARCH_MODELNoModel for the perplexity_research toolsonar-deep-research

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
perplexity_askC

Engages in a conversation using the Sonar API. Accepts an array of messages (each with a role and content) and returns a ask completion response from the Perplexity model.

perplexity_researchC

Performs deep research using the Perplexity API. Accepts an array of messages (each with a role and content) and returns a comprehensive research response with citations.

perplexity_reasonB

Performs reasoning tasks using the Perplexity API. Accepts an array of messages (each with a role and content) and returns a well-reasoned response using the sonar-reasoning-pro model.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.1/5.0

Scored across 3 tools

Disambiguation3/5

All three tools accept identical message arrays and return completions, so the boundary between perplexity_reason and perplexity_ask depends entirely on subtle model differences (sonar-reasoning-pro vs Sonar). The descriptions hint at reasoning vs conversational use, but an agent could easily misselect. perplexity_research is clearly distinct due to its deep-research/citation behavior.

Naming Consistency5/5

All tools follow a strict perplexity_<action> snake_case pattern with no deviations. The shared prefix and single verb per tool make the naming predictable and readable.

Tool Count4/5

Three tools is a reasonable, well-scoped surface for a Perplexity API wrapper, mirroring the main model families (ask, reasoning, research). A single parameterized tool could have covered ask/reason, but the current count is not excessive.

Completeness4/5

The tools cover Perplexity's core capabilities: standard Q&A, reasoning, and deep research with citations. Minor gaps exist, such as no explicit model-selection or search-only mode, but the main workflows are covered.