drio
Open app

Perplexity MCP Server

Source

Mirror of

Catalog onlyCatalog onlySTDIO

Overview

The Perplexity MCP Server is a Node.js implementation of Anthropic's Model Context Protocol (MCP) that enables Claude to interact with Perplexity's language models, providing a secure bridge for enhanced AI interactions.

To use the server, clone the repository, install dependencies, set up your API key in a .env file, and build the project. You can then configure it to work with Claude Desktop.

  • Implements two main tools: perplexity_chat for advanced chat completions and perplexity_ask for quick queries. - Supports full message history and customizable model parameters. - Built with TypeScript for type safety and modular tool definitions.
  1. Enhancing AI interactions through chat completions.
  2. Quick querying of language models for instant responses.
  3. Integration with Claude Desktop for seamless AI communication.

Add to your AI client

Use these steps to connect Perplexity MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "laodev1-perplexity-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-laodev1-perplexity-mcp-server-mcp-mirror"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "laodev1-perplexity-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-laodev1-perplexity-mcp-server-mcp-mirror"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "laodev1-perplexity-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-laodev1-perplexity-mcp-server-mcp-mirror"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "laodev1-perplexity-mcp-server-mcp-mirror": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-laodev1-perplexity-mcp-server-mcp-mirror"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "laodev1-perplexity-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-laodev1-perplexity-mcp-server-mcp-mirror"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "laodev1-perplexity-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-laodev1-perplexity-mcp-server-mcp-mirror"
      ]
    }
  }
}

FAQ

What is the purpose of the MCP Server?

It serves as a bridge between Claude and Perplexity AI's capabilities, allowing for enhanced interactions.

How do I configure the server?

Update the `claude_desktop_config.json` with the server details and ensure your API key is set in the `.env` file.

Is the server open-source?

Yes, the Perplexity MCP Server is open-source and available on GitHub.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":622,"uuid":"0d000a24-2d74-43e7-9f41-c312db9abc2c","name":"laodev1_perplexity-mcp-server","title":"Perplexity MCP Server","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"2024-12-30T03:24:25.694Z","updated_at":"2025-02-23T07:15:14.069Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"perplexity,mcp,server,nodejs,ai","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/laodev1_perplexity-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]

Perplexity MCP Server — MCP Registry