Server Perplexity Ask
MCP server by perplexityai Verified · npm:@zhangyu1818
Perplexity API Platform MCP Server gives AI assistants web search, quick answers, reasoning and deep research through Perplexity's Agent and Search APIs. It is for developers who want Perplexity inside their MCP clients.
Install Server Perplexity Ask
Built from the published package, never by AI.
claude mcp add server-perplexity-ask -- npx -y @zhangyu1818/server-perplexity-askRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"server-perplexity-ask": {
"args": [
"-y",
"@zhangyu1818/server-perplexity-ask"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Server Perplexity Ask in Claude Desktop
{
"mcpServers": {
"server-perplexity-ask": {
"args": [
"-y",
"@zhangyu1818/server-perplexity-ask"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"server-perplexity-ask": {
"args": [
"-y",
"@zhangyu1818/server-perplexity-ask"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add server-perplexity-ask -- npx -y @zhangyu1818/server-perplexity-ask{
"mcpServers": {
"server-perplexity-ask": {
"args": [
"-y",
"@zhangyu1818/server-perplexity-ask"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Server Perplexity Ask in Antigravity CLI
gemini mcp add server-perplexity-ask npx -y @zhangyu1818/server-perplexity-askGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the server-perplexity-ask block.
About
This is the official MCP server for the Perplexity API Platform. It gives AI assistants real-time web search, reasoning and research capabilities through the Agent API and the Search API. Perplexity hosts a remote version at https://api.perplexity.ai/mcp that connects over Streamable HTTP, and a local version runs through npx as the package @perplexity-ai/mcp-server.
The server exposes four tools: perplexity_search, perplexity_ask, perplexity_research and perplexity_reason. Each one uses a different Agent API preset or the Search API. The package also exports a server factory for embedding in a Node process, and it can run in self-hosted HTTP mode with Docker or Node.js. It is aimed at developers and teams who use MCP clients such as Claude Code, Codex, Cursor or VS Code and need current web information.
Written from the project's README and checked against it.
Tools it gives your assistant
perplexity_searchRuns direct web search through the Perplexity Search API and returns ranked results with metadata.perplexity_askGeneral-purpose conversational answers with real-time web search, backed by the Agent API fast preset.perplexity_researchDeep, comprehensive research backed by the Agent API high preset, with progress reports for long runs.perplexity_reasonAdvanced reasoning and problem solving backed by the Agent API medium preset.
What you need
- Perplexity API key
- Node.js, for running the local server with npx or npm
- Docker, optional, for self-hosted HTTP mode
Try asking
- Search the web for this week's news about electric vehicle batteries
- Ask Perplexity to explain how TCP congestion control works
- Run deep research on the current state of solid-state battery startups
Good to know
- Research runs can take minutes, and the default timeout is 5 minutes.
- Earlier sonar model names and the strip_thinking and reasoning_effort parameters are ignored.
- The max_tokens budgets control retrieved search content, not the length of generated answers.
- Self-hosted HTTP mode binds to loopback by default.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Server Perplexity Ask
All alternatives →Searches and discovers Agent Skills from the skills.sh registry, according to its listing description. The source file itself documents the Agent Skills format rather than this server.
Connects AI agents to Exa for web search, content fetching, and multi-step research. It is aimed at developers and AI assistant users who want web results and page content inside their assistant.
Apify MCP server gives AI agents web scraping, data extraction, and browser automation through thousands of ready-made Actors from Apify Store. It suits developers and teams who want agents to pull data from websites without installing a separate MCP server for each site.
Official MCP server for changedetection.io that connects AI assistants such as Claude.AI and OpenAI tools to a changedetection.io dashboard. It lets users ask about tracked web page changes, including price and back-in-stock alerts.
Brave Search MCP Server gives AI assistants web, local, place, image, video and news search through the Brave Search API. It also offers grounded Answers for developers and teams that want cited results.
Scrapling is a Python web scraping framework with an MCP server for AI agents. It offers stealth HTTP requests, browser rendering, Cloudflare Turnstile handling, and CSS selector extraction for developers and scrapers.
Compare with Agent Skills Search Server, Exa or Apify
Server Perplexity Ask: common questions
Do I need to install anything to use the Perplexity MCP server?
No. The source says the remote server at https://api.perplexity.ai/mcp needs nothing installed or updated, and it only requires a Perplexity API key.
What is the difference between perplexity_ask, perplexity_reason and perplexity_research?
The source says they use the Agent API fast, medium and high presets. Research is the deepest and can take minutes, and ask is for quick questions.
Can I use this server behind a corporate proxy?
Yes. The source says it checks PERPLEXITY_PROXY, then HTTPS_PROXY and then HTTP_PROXY, and connects directly if none are set.
How do I install Server Perplexity Ask?
In Claude Code run claude mcp add server-perplexity-ask -- npx -y @zhangyu1818/server-perplexity-ask. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Server Perplexity Ask the official server?
Server Perplexity Ask is published by npm:@zhangyu1818 from its verified domain in the official MCP Registry.
Is Server Perplexity Ask free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Server Perplexity Ask safe to use?
It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Server Perplexity Ask?
Similar MCP servers: Agent Skills Search Server, Exa, Apify, changedetection.io (official).
Does Server Perplexity Ask work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
