Skip to main content
Glama
perplexityai

Perplexity API Platform MCP Server

by perplexityai

Advanced Reasoning

perplexity_reason
Read-only

Generate well-reasoned responses using AI by processing conversation messages with Perplexity's sonar-reasoning-pro model. Accepts message arrays with role/content pairs and optionally removes thinking tags to optimize token usage.

Instructions

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messagesYesArray of conversation messages
strip_thinkingNoIf true, removes <think>...</think> tags and their content from the response to save context tokens. Default is false.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
responseYesThe response from Perplexity

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

Other Tools

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/perplexityai/modelcontextprotocol'

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