VS Code Perplexity

v1.0.0Search & Data Extractionstable

Perplexity AI search, reasoning, research, and compute - MCP server, dashboard, and multi-IDE auto-config for VS Code.

aibrowser-automationclaudecodexcursor
Share:
51
Stars
0
Downloads
0
Weekly
0/5

What is VS Code Perplexity?

VS Code Perplexity is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to perplexity ai search, reasoning, research, and compute - mcp server, dashboard, and multi-ide auto-config for vs code.

Perplexity AI search, reasoning, research, and compute - MCP server, dashboard, and multi-IDE auto-config for VS Code.

This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Perplexity AI search, reasoning, research, and compute - MCP

Use Cases

Perplexity AI for VS Code
AI-powered search and reasoning in editor
LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedMay 19, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx vscode-perplexity-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use VS Code Perplexity

The VSCode Perplexity MCP project ships Perplexity AI search and reasoning as an MCP tool that works inside VS Code, Cursor, Windsurf, Claude Desktop, Claude Code, and 15+ other MCP-capable IDEs. Rather than requiring a Perplexity API key, it drives a long-lived Patchright browser session logged into your existing Perplexity account, so it uses your Free, Pro, or Max plan. It is distributed two ways: as a VS Code extension (perplexity-vscode) with an embedded dashboard and auto-configuration for other IDEs, and as a standalone npm package (perplexity-user-mcp) for clients that speak stdio MCP.

Prerequisites

  • Node.js 20 or later
  • A Perplexity account — Free, Pro, or Max (no separate API key required)
  • An MCP-compatible client: VS Code, Cursor, Windsurf, Claude Desktop, Claude Code, or any stdio MCP client
  • For the VS Code extension path: VS Code, Cursor, or a compatible fork installed
  • npm 10+ (workspaces support required for building from source)
1

Choose your installation method

If you use VS Code or a compatible IDE, install the perplexity-vscode extension from the VS Code Marketplace and let it auto-configure everything. If you prefer the standalone npm package for Claude Desktop, Cursor, or other MCP clients, use npx or install globally.

2

Install the standalone npm package (non-VS-Code path)

Install the perplexity-user-mcp package globally or run it on demand with npx. This is the package to reference in your MCP client config.

npm install -g perplexity-user-mcp
# or run on demand:
npx perplexity-user-mcp
3

Add to your MCP client configuration

Edit your MCP client's config file to add the perplexity-user-mcp server. No API key env var is needed — authentication happens via your browser session.

{
  "mcpServers": {
    "perplexity": {
      "command": "npx",
      "args": ["perplexity-user-mcp"]
    }
  }
}
4

Log in to Perplexity in the browser session

On first run the server opens a Patchright (Playwright-based) browser window. Log in to perplexity.ai with your account. The session is persisted so you will not need to log in again.

5

Restart your MCP client and verify the tools load

Restart Claude Desktop, Cursor, or your IDE. The Perplexity search and reasoning tools should now appear in the MCP tool list.

VS Code Perplexity Examples

Client configuration

Minimal stdio MCP config for Claude Desktop or Claude Code using npx. The server boots a background browser session on first use.

{
  "mcpServers": {
    "perplexity": {
      "command": "npx",
      "args": ["perplexity-user-mcp"]
    }
  }
}

Prompts to try

Prompts that use Perplexity's search and reasoning capabilities from within your AI coding assistant.

- "Search Perplexity for the latest release notes for React 19"
- "Use Perplexity to research the differences between Bun and Node.js for server-side JavaScript"
- "Ask Perplexity: what are the current best practices for securing a Next.js API route?"
- "Search for recent security vulnerabilities in the lodash npm package"
- "Use Perplexity to find the current Stripe webhook signing secret documentation"

Troubleshooting VS Code Perplexity

The browser window opens but closes immediately without completing login

The Patchright browser session needs to stay open long enough for you to log in. Make sure you are not blocking popups or running in a headless environment. Try running 'npx perplexity-user-mcp' directly in a terminal first to debug the login flow.

Tools are not visible in the MCP client after configuration

Ensure you are using the package name 'perplexity-user-mcp' (not 'vscode-perplexity-mcp') in your stdio config. Restart your MCP client after saving the config file.

The server exits with 'Cannot find module' errors

Run 'npm install -g perplexity-user-mcp' to ensure the package is installed, or use 'npx perplexity-user-mcp' which fetches it automatically. Node.js 20 or later is required.

Frequently Asked Questions about VS Code Perplexity

What is VS Code Perplexity?

VS Code Perplexity is a Model Context Protocol (MCP) server that perplexity ai search, reasoning, research, and compute - mcp server, dashboard, and multi-ide auto-config for vs code. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install VS Code Perplexity?

Follow the installation instructions on the VS Code Perplexity GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with VS Code Perplexity?

VS Code Perplexity works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is VS Code Perplexity free to use?

Yes, VS Code Perplexity is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Search & Data Extraction MCP Servers

Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "vscode-perplexity-mcp": { "command": "npx", "args": ["-y", "vscode-perplexity-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use VS Code Perplexity?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides