MCP server

Perplexity MCP Server

Ask Perplexity's Sonar models for answers with cited sources, including deep research. Official: built and maintained by Perplexity. It runs locally on your machine over stdio. Setup below for 12 clients (checked 2026-10-25). Repo and registry data checked 2026-10-24.
Maintainer
Official · Perplexity
Runs
Local (stdio)
GitHub
★ 2,588, last push 2026-10-21 (checked 2026-10-24) star history
License
MIT
Registry
ai.perplexity/mcp-server
Connects to
Perplexity
Perplexity GitHub star history

Install the Perplexity MCP Server

Pick your client. Each tab starts the same local command. Config shapes checked against each client's docs on 2026-10-25.

Run in a terminal. Everything after -- is the command that starts the server. docs

claude mcp add --transport stdio perplexity -- npx -y @perplexity-ai/mcp-server

Security notes

  • The local server runs with your user's permissions (npx downloads it from npm on first run).
  • It brings web content into the conversation, which can carry prompt-injection instructions. Keep approval prompts on for actions that write or send.
  • Exaofficial · ★ 5.2k

    Neural web search, code search and company research built for LLMs.

  • Tavilyofficial · ★ 2.5k

    Search, extract, map and crawl the web with results tuned for agents.

  • Brave Searchofficial · ★ 1.5k

    Web, news, image, video and local search from Brave's independent index.

  • Jina AIofficial · ★ 894

    Read URLs as Markdown, web and arXiv search, screenshots and reranking.

  • Kagiofficial · ★ 547

    Kagi web search and summarizer (needs Kagi API access).

  • Mapboxofficial · ★ 363

    Geocoding, places search, directions, travel times and static maps.

  • Meilisearchofficial · ★ 197

    Manage Meilisearch indexes, documents and settings and run searches.

  • SerpApiofficial · ★ 182

    Google and other search engine results as structured JSON.

FAQ

What does the Perplexity MCP Server do?+

Ask Perplexity's Sonar models for answers with cited sources, including deep research.

Is the Perplexity MCP server official?+

Official: built and maintained by Perplexity.

How do I add Perplexity to Claude Code?+

Run: claude mcp add perplexity -- npx -y @perplexity-ai/mcp-server. Add --scope project to share it with your team through .mcp.json.

How do I use the Perplexity MCP server in Cursor or VS Code?+

Open the Cursor or VS Code tab above: it has the mcp.json entry and a one-click install link. Cursor uses the "mcpServers" key; VS Code uses "servers" and needs a type ("stdio").

Does Perplexity work in ChatGPT and claude.ai?+

No: it runs locally over stdio, and ChatGPT and claude.ai only connect to remote servers. Use it in Claude Desktop, Claude Code, Cursor, VS Code or another client that can start a local process.

What are the alternatives to the Perplexity MCP server?+

Other search MCP servers: Exa, Tavily, Brave Search, Jina AI and Kagi.

All MCP servers · What is an MCP server? · Agent skills