drio
Open app

MCP Perplexity Server

Source

A MCP Perplexity API server written in Typescript with stdio and SSE transport support.

Catalog onlyCatalog onlySTDIO

Overview

MCP Perplexity Server is an API server written in Typescript that allows users to interact with the Perplexity API, enabling them to ask questions to a model behind the API.

To use the MCP Perplexity Server, set it up using Docker or Node.js, configure your Perplexity API key, and start the server. You can then send requests to the server endpoint to interact with the model.

  • Supports both stdio and SSE transport methods. - Easy setup via Docker Compose. - Configurable options for transport and model selection.
  1. Integrating AI question-answering capabilities into applications.
  2. Building chatbots that utilize the Perplexity API for responses.
  3. Research and development of AI models using the Perplexity framework.

Add to your AI client

Use these steps to connect MCP Perplexity 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": {
    "mcp-perplexity-api-sibbl": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-perplexity-api-sibbl"
      ]
    }
  }
}

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": {
    "mcp-perplexity-api-sibbl": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-perplexity-api-sibbl"
      ]
    }
  }
}

Claude Code

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

.mcp.json (project root)

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

VS Code (Copilot)

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

.vscode/mcp.json

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

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

FAQ

What is required to run the MCP Perplexity Server?

You need Node.js, pnpm, and Docker to set up the server.

How do I configure the server?

You can configure the server by setting environment variables in the `.env` file, including your Perplexity API key.

Can I use different models with the server?

Yes, you can specify different models in the configuration options.