Perplexity Ask MCP Server
@ppl-ai
About Perplexity Ask MCP Server
The official MCP server implementation for the Perplexity API Platform
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"perplexity-ask": {
"command": "npx",
"args": [
"-y",
"@chatmcp/server-perplexity-ask"
],
"env": {
"PERPLEXITY_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is Perplexity Ask MCP Server?
It is the official MCP server implementation for the Perplexity API Platform, providing AI assistants with real-time web search, reasoning, and research capabilities through Sonar models and the Search API. It is designed for developers integrating Perplexity into MCP-compatible clients such as Cursor, Claude Desktop, VS Code, and others.
How to use Perplexity Ask MCP Server?
Install the npm package @perplexity-ai/mcp-server and run it via npx -y in stdio mode, or deploy as an HTTP server using Docker or Node.js. Set the PERPLEXITY_API_KEY environment variable to your API key from the Perplexity API Portal. Configure clients by adding a mcpServers entry in their respective config files (e.g., ~/.cursor/mcp.json for Cursor). Optional environment variables include PERPLEXITY_TIMEOUT_MS, PERPLEXITY_BASE_URL, PERPLEXITY_LOG_LEVEL, and PERPLEXITY_PROXY for proxy support.
Key features of Perplexity Ask MCP Server
perplexity_search: Direct web search via the Search API with ranked results and metadata.perplexity_ask: Conversational AI with real-time web search using thesonar-promodel.perplexity_research: Deep, comprehensive research using thesonar-deep-researchmodel.perplexity_reason: Advanced reasoning and problem-solving with thesonar-reasoning-promodel.- Optional
strip_thinkingparameter forperplexity_reasonandperplexity_researchto remove thinking tags. - Support for proxy configuration via
PERPLEXITY_PROXYor standardHTTPS_PROXY/HTTP_PROXYenvironment variables. - HTTP deployment mode with configurable port, CORS origins, and allowed hosts.
Use cases of Perplexity Ask MCP Server
- Performing quick web searches within an AI assistant to retrieve current information.
- Answering everyday questions with conversational AI that includes real-time search context.
- Generating thorough research reports and deep analysis on complex topics.
- Solving intricate analytical tasks requiring advanced reasoning and multi-step problem-solving.
FAQ from Perplexity Ask MCP Server
Why am I getting an API key error?
Ensure the PERPLEXITY_API_KEY environment variable is set to a valid API key from the Perplexity API Portal.
What should I do if a tool
Frequently asked questions
Why am I getting an API key error?
Ensure the `PERPLEXITY_API_KEY` environment variable is set to a valid API key from the Perplexity API Portal.
Basic information
More AI & Agents MCP servers
Model Context Protocol Server for Home Assistant
tevonsbA MCP server for Home Assistant

Lumify Sports Intelligence
LumifyAgent-ready sports intelligence API: live scores, odds, line movement, public betting splits, and explainable bet confidence — via 16 MCP tools at https://lumify.ai/mcp. Get a free key instantly — no signup, email, or ca
MCP-LLM Bridge
patruffBridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools
MCP Client for Ollama (ollmcp)
joniglHarness the power of local LLMs with this TUI MCP Client for Ollama. Featuring all core MCP primitives (tools, prompts, resources), agent mode, multi-server, model switching, streaming responses, human-in-the-loop, thinking mode, model params config, system prompts, and saved pre
1Panel
1Panel-dev🔥 1Panel is a modern, open-source VPS control panel — and the only one with native AI agent support. Run Ollama models, deploy OpenClaw agents, and manage your entire server stack from one clean web interface.
Comments