Perplexity
PerplexityThird party
Web-grounded search and answers with sources, from Perplexity.
What it does
Perplexity’s hosted MCP server gives an assistant web search and Perplexity’s answers with cited sources.
Sign in with your Perplexity account (OAuth): in the browser you choose the API organization to bill and approve the connection. An API key sent as a bearer token also works, and Perplexity documents a local npx server as an alternative.
- Search the web
- Ask a question and get an answer with sources
- Research a topic in depth
The facts
- Address
https://api.perplexity.ai/mcp- Kind
- Remote: a server on the internet
- Transport
- Streamable HTTP
- Sign-in
- OAuth sign-in
- Account
- Needs a Perplexity account — sign up
How to connect
Connect from Claude Code
Run this in a terminal, then start Claude Code, run /mcp and sign in (or run claude mcp login perplexity).
claude mcp add --transport http perplexity https://api.perplexity.ai/mcpConnect from Claude.ai
Claude.ai connects from Anthropic’s cloud, so it needs a public address. Follow these steps in the app.
- Open Customize > Connectors, click "+ Add", then "Add custom connector".
- Name: perplexity
- Remote MCP server URL: https://api.perplexity.ai/mcp
- Click "Continue".
- Under Authentication choose "Sign in now", then click "Continue".
- Click "Add", then "Connect" if it asks.
- On a Team or Enterprise plan an Owner adds the connector under Organization settings > Connectors, and each member then clicks Connect.
Connect from Cursor
Add this to ~/.cursor/mcp.json for every project, or to .cursor/mcp.json for one. Cursor opens a sign-in the first time the server is used.
{
"mcpServers": {
"perplexity": {
"url": "https://api.perplexity.ai/mcp"
}
}
}Connect from Codex
Add this to ~/.codex/config.toml, or to .codex/config.toml in a trusted project.
[mcp_servers.perplexity]
url = "https://api.perplexity.ai/mcp"
# then sign in: codex mcp login perplexityPerplexity docsChecked on
Plugins that go with it
Developer reference for web search, scraping and documentation lookup — Firecrawl, Exa, Jina, Perplexity, Context7 MCP tools and…
v1.4.0