ExplainedShare

How Perplexity's Sonar API and MCP server take its AI search beyond Perplexity

Sonar brings Perplexity's AI search into other apps, while the MCP server gives AI assistants web search, reasoning and research.

By MOBAEO Newsroom··3 min read

Follow
Minimalist design of an orange and red striped wall with dual sockets.
Photo: Jan van der Wolf/Pexels

Perplexity offers developers two ways in. The Sonar API puts the company's AI search inside other apps. The official MCP server gives AI assistants access to real-time web search, reasoning and research. Either way, answers with source citations leave Perplexity's website and app and show up in other products.

What the Sonar API is

Sonar launched as an API service that lets companies and developers build Perplexity's generative AI search tools into their own apps, according to TechCrunch, in a report published on January 21, 2025. The idea is to answer from a real-time connection to the internet instead of relying only on what the model learned in training.

"While most generative AI features today have answers informed only by training data, this limits their capabilities," Perplexity wrote on its blog. "To optimize for factuality and authority, APIs require a real-time connection to the Internet, with answers informed by trusted sources."

At launch there were two tiers. Base Sonar is cheaper and faster, runs on a lightweight model and cost $5 per 1,000 searches, plus $1 per roughly 1 million input tokens and $1 per roughly 1 million output tokens. Sonar Pro, built for more complex questions, runs multiple searches from a single request, returns twice as many citations and cost $5 per 1,000 searches, plus $3 per roughly 1 million input tokens and $15 per roughly 1 million output tokens.

The API also lets customers choose the sources the search pulls information from. Zoom was one of the companies named as customers: it uses Sonar in the AI assistant on its video conferencing platform, which answers in real time, with citations, without the user leaving the call.

What the Perplexity MCP server is

The official MCP server, which Perplexity published on GitHub, runs on two of the platform's APIs: the Agent API and the Search API. The easiest way to get started is the remote server, hosted by Perplexity itself, which requires no installation or updates and connects with the API key from the company's portal. Cursor and VS Code connect to it in one click; for clients that don't yet support remote servers, there is a local install.

The server offers four tools:

  • Direct search, through the Search API, with ranked results, a recency filter, domain restrictions and a fast mode with lower latency and cost.
  • perplexity_ask, conversation backed by real-time web search, for quick everyday questions.
  • perplexity_reason, advanced reasoning for complex analytical tasks.
  • Deep research, for detailed analysis and reports, with runs that can take minutes.

Earlier versions of the server called the sonar-pro, sonar-reasoning-pro and sonar-deep-research models, now treated as legacy. The tools now use Agent API presets (fast, medium and high), bundles of model, search and step settings that Perplexity keeps tuning over time.

Why this matters for a brand

With the API and the MCP server, Perplexity's search starts answering inside other products, such as Zoom's assistant and code editors like Cursor and VS Code. In those places the answer comes from a web search run on the spot, backed by citations, and results include publication and update dates when available. For anyone managing a brand, that means content published on the web can be found and cited by this search outside Perplexity's own site, too.

Key questions

What is Perplexity Sonar?

It's Perplexity's API that lets companies and developers put the company's generative AI search inside their own apps, with real-time information and citations.

What is Perplexity Sonar used for?

It gives an app answers based on web searches run on the spot, with source citations. Zoom, for example, uses Sonar in the AI assistant on its video conferencing platform.

How much does the Perplexity API cost?

At launch, base Sonar cost $5 per 1,000 searches, plus $1 per roughly 1 million input tokens and $1 per roughly 1 million output tokens. Sonar Pro cost $5 per 1,000 searches, plus $3 per million input tokens and $15 per million output tokens.

What's the difference between Perplexity Sonar and Sonar Pro?

Sonar is cheaper and faster and uses a lightweight model. Sonar Pro gives more detailed answers, runs multiple searches from a single request and returns twice as many citations.

Which Perplexity models does the MCP server use?

Earlier versions of the server called the sonar-pro, sonar-reasoning-pro and sonar-deep-research models, now treated as legacy. The current tools use the Agent API's fast, medium and high presets, which Perplexity keeps tuned.

What is Perplexity MCP?

It's Perplexity's official MCP server, which gives AI assistants real-time web search, reasoning and research through the Agent API and the Search API.

What tools does Perplexity MCP offer?

Four: direct search through the Search API, perplexity_ask for quick questions, perplexity_reason for reasoning on complex tasks and a deep research tool for detailed analysis.

How do I connect Perplexity MCP?

The simplest route is the remote server, hosted by Perplexity, which requires no installation. Cursor and VS Code connect in one click, and clients that don't support remote servers can use the local install.

Does Perplexity MCP need an API key?

Yes. You get the key from the Perplexity API portal and provide it in the PERPLEXITY_API_KEY variable or in the client configuration.

Sources: GitHub, TechCrunch.