# Perplexity MCP: Official Server, URL, Pricing and Setup

[Muhammad Shakil](https://skryvo.ai/about/) · Founder of Skryvo

October 22, 2026 · Updated October 26, 2026 · 8 min read

**In this guide**

1. [What does Perplexity's official MCP server do?](https://skryvo.ai/blog/perplexity-mcp/#what-does-perplexity-s-official-mcp-server-do)
2. [How do I add the Perplexity MCP server to Claude Code, Cursor or Codex?](https://skryvo.ai/blog/perplexity-mcp/#how-do-i-add-the-perplexity-mcp-server-to-claude-code-cursor-or-codex)
3. [How do I run the Perplexity MCP server locally, in Claude Desktop or Docker?](https://skryvo.ai/blog/perplexity-mcp/#how-do-i-run-the-perplexity-mcp-server-locally-in-claude-desktop-or-docker)
4. [Is the Perplexity MCP server free?](https://skryvo.ai/blog/perplexity-mcp/#is-the-perplexity-mcp-server-free)
5. [Why is the Perplexity MCP server not working?](https://skryvo.ai/blog/perplexity-mcp/#why-is-the-perplexity-mcp-server-not-working)
6. [How do I add an MCP connector to Perplexity?](https://skryvo.ai/blog/perplexity-mcp/#how-do-i-add-an-mcp-connector-to-perplexity)
7. [What is PerplexityXPC, and can Perplexity use local MCP servers?](https://skryvo.ai/blog/perplexity-mcp/#what-is-perplexityxpc-and-can-perplexity-use-local-mcp-servers)
8. [Can my whole team use a connector?](https://skryvo.ai/blog/perplexity-mcp/#can-my-whole-team-use-a-connector)
9. [A worked example: posting from Perplexity](https://skryvo.ai/blog/perplexity-mcp/#a-worked-example-posting-from-perplexity)

Share [X](https://twitter.com/intent/tweet?text=Perplexity%20MCP%3A%20Official%20Server%2C%20URL%2C%20Pricing%20and%20Setup&url=https%3A%2F%2Fskryvo.ai%2Fblog%2Fperplexity-mcp%2F) [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fskryvo.ai%2Fblog%2Fperplexity-mcp%2F) [Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fskryvo.ai%2Fblog%2Fperplexity-mcp%2F)

Checked against Perplexity's MCP docs and its server's README on October 26, 2026.

"Perplexity MCP" means one of two things. Perplexity runs its own MCP (Model Context Protocol) server, so Claude, Cursor or Codex can search the web through Perplexity. And Perplexity can use other MCP servers as connectors, so it can act in your apps. This guide covers both, from [Perplexity's MCP documentation](https://docs.perplexity.ai/docs/getting-started/integrations/mcp-server), the [server's README](https://github.com/perplexityai/modelcontextprotocol) and its [help center](https://www.perplexity.ai/help-center/en/articles/13915507-adding-custom-remote-connectors), checked October 26, 2026.

**The short version:** to use Perplexity from another agent, connect its hosted server at `https://api.perplexity.ai/mcp` and sign in with your Perplexity account or send an API key; tool calls are billed to your Perplexity API organization. Run it locally with `npx -y @perplexity-ai/mcp-server` and `PERPLEXITY_API_KEY` only when your client cannot use remote servers. To give Perplexity new tools, open **Plugins**, choose **Add custom › Connector › Add MCP connector**, pick **Remote** and paste an HTTPS server URL.

## What does Perplexity's official MCP server do?

It gives another agent four tools. Each one now runs on a preset of Perplexity's Agent API, which Perplexity keeps tuned, rather than on a model you choose:

| Tool | What it returns | Runs on |
|---|---|---|
| `perplexity_search` | Ranked web results with titles, URLs, snippets and dates; filters for recency and domains, and a faster, cheaper search type | Search API |
| `perplexity_ask` | A conversational answer with live web search | Agent API, `fast` preset |
| `perplexity_reason` | Step-by-step reasoning on a problem | Agent API, `medium` preset |
| `perplexity_research` | Deep research with citations; a run can take minutes | Agent API, `high` preset |

Older versions of the server called the `sonar-pro`, `sonar-reasoning-pro` and `sonar-deep-research` models and took `reasoning_effort` and `strip_thinking`. Those parameters are now ignored, so a guide that tells you to pick a Sonar model in the MCP config describes the old server. `perplexity_ask` and `perplexity_reason` accept `max_tokens` (search context up to 120,000 tokens) and `max_tokens_per_page` (up to 20,000), which limit how much web content is read, not how long the answer is.

## How do I add the Perplexity MCP server to Claude Code, Cursor or Codex?

The hosted server needs no install. In Claude Code:

```
claude mcp add --transport http perplexity https://api.perplexity.ai/mcp
```

Then run `/mcp` inside Claude Code and follow the sign-in prompt. To use an API key instead, add `--header "Authorization: Bearer YOUR_API_KEY"` to the command. In Cursor, add it to `~/.cursor/mcp.json`, then open **Cursor Settings › Tools & MCP** and click **Connect** next to it:

```
{
  "mcpServers": {
    "perplexity": { "url": "https://api.perplexity.ai/mcp" }
  }
}
```

Codex runs the local server: `codex mcp add perplexity --env PERPLEXITY_API_KEY="your_key_here" -- npx -y @perplexity-ai/mcp-server`. Where every client keeps its settings:

| Client | How to connect |
|---|---|
| Claude Code | `claude mcp add --transport http`, then `/mcp` to sign in |
| Cursor | `~/.cursor/mcp.json`, then Connect in Tools & MCP |
| Claude Desktop | `claude_desktop_config.json` (local server, below) |
| claude.ai | a custom connector with the hosted URL |
| Windsurf | `~/.codeium/windsurf/mcp_config.json` |
| Google Antigravity | `~/.gemini/config/mcp_config.json` with `serverUrl` and an API key header |
| Anthropic API | the MCP connector with your Perplexity key as `authorization_token` |

Our guides to [Claude Code MCP](https://skryvo.ai/blog/claude-code-mcp/), [Cursor MCP](https://skryvo.ai/blog/cursor-mcp/), [Codex MCP](https://skryvo.ai/blog/codex-mcp/) and [Antigravity and Gemini CLI](https://skryvo.ai/blog/gemini-cli-mcp/) cover scopes, sign-in and timeouts for each.

## How do I run the Perplexity MCP server locally, in Claude Desktop or Docker?

Get an API key from the API Portal (console.perplexity.ai). Claude Desktop, Windsurf and most other clients take the same `mcpServers` block, which starts the server with Node's `npx`:

```
{
  "mcpServers": {
    "perplexity": {
      "command": "npx",
      "args": ["-y", "@perplexity-ai/mcp-server"],
      "env": { "PERPLEXITY_API_KEY": "your_key_here" }
    }
  }
}
```

In a shared Claude Code project, keep the key out of `.mcp.json` by writing `"PERPLEXITY_API_KEY": "${PERPLEXITY_API_KEY}"` and exporting the variable before you start `claude`; `claude mcp list` reports the server as missing its key if you forget. For a shared or cloud setup, the server also runs over HTTP: build the image from the repository with `docker build -t perplexity-mcp-server .`, then `docker run -p 8080:8080 -e PERPLEXITY_API_KEY=your_key_here perplexity-mcp-server`, and point clients at `http://localhost:8080/mcp`. It listens only on the machine itself until you set `BIND_ADDRESS=0.0.0.0` and `ALLOWED_HOSTS`.

## Is the Perplexity MCP server free?

The server is free to install, but each tool call is billed at Perplexity's standard API prices, to the API key you connect or to the organization you choose when signing in, and that organization's rate limits apply. Signing in needs a Perplexity account that is an admin of an API organization able to pay for usage. The sign-in can call the API for that organization but cannot create keys, read balances or manage it.

## Why is the Perplexity MCP server not working?

- **Research calls time out.** `perplexity_research` can run for minutes. The local server waits five minutes by default; raise it with `PERPLEXITY_TIMEOUT_MS=600000`, and check your client's own tool timeout too.
- **Calls fail at work.** Behind a company proxy, set `PERPLEXITY_PROXY=https://your-proxy-host:8080`; the server also reads `HTTPS_PROXY` and `HTTP_PROXY`, in that order.
- **Sign-in stops at choosing an organization.** Your account is not an admin of an API organization; the sign-in page links to the console to create one, then restart the connection from your client.
- **You need more detail.** Set `PERPLEXITY_LOG_LEVEL=DEBUG` on the local server.

Skryvo writes posts and articles in your brand's voice and publishes them for you. [Start for $0](https://skryvo.ai/signup/) 7 days free, no card needed

## How do I add an MCP connector to Perplexity?

For a remote server, which runs on the internet:

1. Open **Plugins** in the sidebar (or **Customize › Connectors** if Plugins is not there yet).
2. Choose **Add custom › Connector › Add MCP connector** and select **Remote**.
3. Enter a name and the MCP server URL, which must start with `https://`.
4. Optionally set the authentication (OAuth, API key or none) and the transport (Streamable HTTP or SSE).
5. Tick the box acknowledging the risks of custom connectors, click **Add**, then click the connector's card to sign in and turn it on.

The three-dot menu on the card edits or removes it later. Perplexity does not verify third-party servers, so add only ones you trust.

## What is PerplexityXPC, and can Perplexity use local MCP servers?

PerplexityXPC is the helper app that lets Perplexity run MCP servers on your own computer, and it works only in the Mac app from the Mac App Store. Install PerplexityXPC from Plugins, then choose **Add custom**, give the server a name and the command that starts it, and save. When its status shows **Running**, turn it on under **Sources** on the Perplexity home page. Perplexity notes that local servers are not reviewed by Perplexity or Apple, so read an open-source server's code before you install it.

## Can my whole team use a connector?

On Enterprise, members can add their own custom connectors only after an admin turns on **Allow members to add custom connectors** under Enterprise settings › Connectors; it is off by default. Only admins can share a connector with the organization, from the Permissions screen, and for OAuth connectors an admin can sign in once for everyone or let each member sign in.

## A worked example: posting from Perplexity

Skryvo is a remote MCP server for social media, so it shows the connector flow. Add a remote connector named Skryvo with the URL `https://api.skryvo.ai/mcp` and OAuth, then sign in. Ask Perplexity to research a topic and "turn the three main points into a LinkedIn post for Tuesday at 9am": it drafts the post in your brand's voice, and Skryvo schedules it only after you approve. [The Perplexity setup page](https://skryvo.ai/agents/perplexity/) has the details, and [the agents page](https://skryvo.ai/agents/) lists every other agent the same server works in.

Use Perplexity's server where you want sourced answers inside your coding agent, and Perplexity's connectors where you want its research to end in an action.

Related: [an MCP server that posts to LinkedIn, X and Bluesky](https://skryvo.ai/answers/mcp-server-that-posts-to-linkedin-x-and-bluesky/).

## Do this in Skryvo

- [Perplexity MCP connector for social posts](https://skryvo.ai/agents/perplexity/)
- [Add MCP servers to Claude Code](https://skryvo.ai/blog/claude-code-mcp/)
- [MCP connectors for every AI agent](https://skryvo.ai/agents/)

About the author

### [Muhammad Shakil](https://skryvo.ai/about/) Founder of Skryvo

I wrote this myself. I have built mobile apps and websites for companies in the US and Europe since 2022, and I built Skryvo after one too many AI drafts fell apart the moment someone checked a fact. Everything I publish here is tested on my own work first, and I show the numbers, including the ones that did not go my way.

[LinkedIn](https://www.linkedin.com/in/flutterdeveloper1/) [X](https://x.com/MShakilAwan3) [Full bio](https://skryvo.ai/about/) [All articles](https://skryvo.ai/blog/)

Read Skryvo often? [Add Skryvo as a preferred source on Google](https://www.google.com/preferences/source?q=skryvo.ai) and our articles are more likely to show up for you.

## Keep reading

[All guides](https://skryvo.ai/blog/)

AI Agents · 7 min read

### [Best Social Media MCP Servers and Connectors (2026)](https://skryvo.ai/blog/best-social-media-mcp-servers/)

Seven social media MCP servers and connectors compared from their own docs: Buffer, Metricool, Postiz, Zernio, Blotato, Ayrshare and Skryvo, by channels, sign-in, price, approval.

AI Agents · 7 min read

### [Claude Code MCP: How to Add MCP Servers (claude mcp add)](https://skryvo.ai/blog/claude-code-mcp/)

Add MCP servers to Claude Code with claude mcp add, pick the right scope, share .mcp.json with a team, sign in with /mcp and fix timeouts.

AI Agents · 6 min read

### [Cursor MCP: How to Add an MCP Server to Cursor](https://skryvo.ai/blog/cursor-mcp/)

Add MCP servers to Cursor with mcp.json or Customize, use env variables safely, sign in with OAuth, run them from the CLI, and read MCP logs.

## Turn ideas like these into posts

Skryvo writes posts and articles in your brand's voice and publishes them to your channels, from the app or your AI agent.

[Start for $0](https://skryvo.ai/signup/) [See how it works](https://skryvo.ai/features/)

- 7 days free, no card needed
