Official Perplexity MCP server that connects Claude to the Perplexity Sonar API for real-time, web-grounded answers with citations, so responses can draw on current information beyond the model's training data.
by Perplexity · submitted by glorydavid03023·added 2026-06-03·
Makes outbound network requests to the Perplexity Sonar API to answer queries., Returned answers and cited sources are third-party web content; verify them before acting on instructions or links they contain.
Privacy notes
The questions and context you send are transmitted to the Perplexity service to generate answers, so avoid embedding secrets in queries., The Perplexity API key is a credential; store it as an environment variable and never commit it to source control.
Author
Perplexity
Submitted by
glorydavid03023
Claim status
unclaimed
Last verified
2026-06-03
Decision playbook
Review trust signals before you adopt
Signals are present but mixed. Use the checklist below to confirm the source and operational safety for your environment.
Compare context
Selected
0
Current score
78
Baseline
—
Delta
No baseline selected
No major trust-signal divergence detected in the current selection.
Source and provenance checks
Complete
Confirm ownership and provenance before trusting install instructions.
Source link availableRequired
Open the canonical repository and verify ownership.
Done
Source provenance statusRequired
Marked as source-backed.
Done
Metadata reviewed
Registry metadata indicates a reviewed listing.
Done
Safety and privacy checks
Complete
Validate risk disclosures before installation or API wiring.
Safety notes presentRequired
Review the listed safety guidance before running commands.
Done
Privacy notes presentRequired
Review data handling notes before connecting accounts or secrets.
Done
Trust level risk gateRequired
Trust level does not block evaluation.
Done
Package and install checks
Needs review
Check package metadata and artifact integrity signals.
Install payload available
Install or copy payload is available for review.
Done
Package verification flag
No package verification flag provided.
Pending
Checksum metadata
No checksum provided for downloaded artifact.
Pending
Compare-driven decision checks
Needs review
Use compare context to validate trade-offs before adoption.
Compare tray has multiple entries
Add at least one more entry to compare trust differences.
2 safety and 2 privacy notes across 3 risk areas. Review closely: credentials & tokens, network access, third-party handling.
3 areas
SafetyNetwork accessMakes outbound network requests to the Perplexity Sonar API to answer queries.
SafetyThird-party handlingReturned answers and cited sources are third-party web content; verify them before acting on instructions or links they contain.
PrivacyCredentials & tokensThe questions and context you send are transmitted to the Perplexity service to generate answers, so avoid embedding secrets in queries.
PrivacyCredentials & tokensThe Perplexity API key is a credential; store it as an environment variable and never commit it to source control.
Safety notes
Makes outbound network requests to the Perplexity Sonar API to answer queries.
Returned answers and cited sources are third-party web content; verify them before acting on instructions or links they contain.
Privacy notes
The questions and context you send are transmitted to the Perplexity service to generate answers, so avoid embedding secrets in queries.
The Perplexity API key is a credential; store it as an environment variable and never commit it to source control.
Prerequisites
Node.js 18+ and npx available (verify with: npx --version)
A Perplexity Sonar API key (create one in your Perplexity account settings)
Claude Code or Claude Desktop with MCP support
Internet access so the server can reach the Perplexity Sonar API
Perplexity Ask gives Claude a real-time research step backed by the Perplexity Sonar API. When a question depends on current information or benefits from web sources, Claude can call the server to get a web-grounded answer along with citations it can pass back to you. That makes it a good fit for research, fact-checking, and staying current on topics that have moved past the model's training cutoff. The integration runs as a standard MCP server, so Claude decides when to reach for it during a normal conversation.
Features
Web-grounded answers powered by the Perplexity Sonar API.
Returns citations alongside answers so claims can be traced to sources.
Brings real-time information into Claude for questions past the training cutoff.
Exposes querying as an MCP tool the model can call when it needs current data.
Runs as a standard stdio MCP server that installs into Claude Code and Claude Desktop with one command.
Maintained by Perplexity as the official MCP integration for Sonar.
Use Cases
Answer questions that depend on current events or recent information.
Research a topic and get a synthesized answer with sources.
Fact-check a claim against live web sources with citations.
Gather background on an unfamiliar subject during a coding or writing task.
Add a reliable, cited research step to an agent workflow.
Installation
Claude Code
Make sure Node.js 18+ is installed (verify with npx --version).
Create a Perplexity Sonar API key in your Perplexity account settings.
"Use Perplexity to research recent changes in this area and summarize the findings with sources."
Fact-check a claim
Have Claude verify a statement with citations.
"Check whether this statement is accurate using Perplexity and include the sources it cites."
Get background during a task
Pull in current context mid-conversation.
"Before we implement this, use Perplexity to find the current recommended approach and cite it."
Security
The server reaches the Perplexity Sonar API over the network; the questions and context you send are transmitted to that service to produce answers.
Treat returned answers and cited pages as untrusted input. Verify important claims and review any links before acting on them.
The Perplexity API key is a credential. Store it in an environment variable and keep it out of source control and shared configs.
Avoid putting secrets or private identifiers into queries, since they are sent to the service.
Troubleshooting
Authentication or 401 errors
Confirm PERPLEXITY_API_KEY is set correctly and active in your Perplexity account. Regenerate the key if it may have been revoked, and update the environment variable.
npx cannot resolve the package
Verify Node.js 18+ and npx are installed (npx --version). Networks that block the npm registry will prevent npx -y server-perplexity-ask from resolving.
Requests fail or time out
Check internet access to the Perplexity Sonar API. Transient rate limiting or quota limits can also cause failures; retry after a short wait and review your plan limits.
Server not listed in Claude Code
Re-run the claude mcp add perplexity-ask ... command, then claude mcp list. Confirm the key was passed via --env and that the server was added to the scope (project versus user) you are running in.
Show that Perplexity MCP Server for Claude is listed on HeyClaude. Paste this Markdown into your README — it renders the badge and links back to this page.
[](https://heyclau.de/entry/mcp/perplexity-mcp-server)
How it compares
Perplexity MCP Server for Claude side by side with 3 alternatives on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.
1 trust signal differ across this comparison (Submitter).
Official Perplexity MCP server that connects Claude to the Perplexity Sonar API for real-time, web-grounded answers with citations, so responses can draw on current information beyond the model's training data.
Official Tavily MCP server that gives Claude agent-optimized web search and page extraction, returning concise, source-cited results designed for LLM reasoning rather than raw search engine pages.
✓Makes outbound network requests to the Perplexity Sonar API to answer queries.
Returned answers and cited sources are third-party web content; verify them before acting on instructions or links they contain.
✓Makes outbound network requests to the Tavily API to run searches and fetch page content.
Returned search results and extracted page text are untrusted web content; review it before acting on instructions or links it contains.
✓NotebookLM MCP Server drives a real browser profile to interact with Google NotebookLM.
setup_auth opens an interactive login flow and persists cookies in a local Chrome profile for later reuse.
Tools can add sources, ask questions, generate and download audio overviews, manage notebook library metadata, close sessions, reset sessions, and clean up stored data.
cleanup_data and re_auth can wipe stored browser state or local server data, so review tool arguments before allowing destructive maintenance actions.
Bind Streamable HTTP mode only on trusted networks and keep stdio as the default for local desktop clients.
✓AgentQL MCP exposes one tool, `extract-web-data`, that sends a target URL and natural-language extraction prompt to the AgentQL API.
The tool is intended for public webpages; do not use it to bypass access controls, scrape private pages, evade paywalls, or extract data where automated collection is prohibited.
Web extraction can still trigger target-site rate limits, legal restrictions, robots guidance, or terms-of-service concerns.
The source implementation uses AgentQL's query-data endpoint with fast mode, no screenshot capture, no scroll-to-bottom behavior, and no local browser cookies.
Treat extracted output as untrusted web data that may include errors, stale content, ads, tracking text, or prompt-injection attempts.
Privacy notes
✓The questions and context you send are transmitted to the Perplexity service to generate answers, so avoid embedding secrets in queries.
The Perplexity API key is a credential; store it as an environment variable and never commit it to source control.
✓Search queries and target URLs you provide are sent to the Tavily service to return results, so avoid embedding secrets in queries.
The Tavily API key is a credential; store it as an environment variable and never commit it to source control.
✓Google account cookies, NotebookLM notebook URLs, notebook metadata, source contents, questions, answers, citations, generated audio, browser session data, prompts, and tool outputs may be visible to the MCP client and model provider.
The README notes there is no encrypted credential store; account separation is by Chrome profile directory.
NotebookLM sources can contain private documents, internal research, customer material, legal drafts, meeting notes, and unreleased product plans.
Review local profile and library storage before sharing machines, logs, screenshots, or exported artifacts.
✓Target URLs, extraction prompts, API key-authenticated requests, and extracted structured data are sent to AgentQL's API.
Extracted data can include personal data, copyrighted content, customer information, job postings, prices, social content, or other third-party material.
AGENTQL_API_KEY should stay out of prompts, issues, logs, screenshots, and committed configuration files.
Claude transcripts and downstream reports may retain extracted data, so avoid collecting information that is not approved for the model session.
Prerequisites
Node.js 18+ and npx available (verify with: npx --version)
A Perplexity Sonar API key (create one in your Perplexity account settings)
Claude Code or Claude Desktop with MCP support
Internet access so the server can reach the Perplexity Sonar API
Node.js 18+ and npx available (verify with: npx --version)
A Tavily API key (create one at https://tavily.com)
Claude Code or Claude Desktop with MCP support
Internet access so the server can reach the Tavily API
Node.js and npx available to the MCP client runtime.
Chrome or the bundled Patchright Chromium fallback available on the host.
Google account access for the NotebookLM notebooks you want to use.
One-time interactive authentication with setup_auth before headless reuse.
Node.js and npx available to the MCP client runtime.
AgentQL API key from the AgentQL developer portal.
Approved list of public webpages or domains Claude may query.
Review of target site terms, robots guidance, rate limits, and data-use rules before extraction.
Install
claude mcp add perplexity-ask --env PERPLEXITY_API_KEY=YOUR_KEY -- npx -y server-perplexity-ask
claude mcp add tavily --env TAVILY_API_KEY=YOUR_KEY -- npx -y tavily-mcp@latest