Related MCP Server Resources

Explore more AI models, providers, and integration options:

  • Explore AI Models
  • Explore AI Providers
  • Explore MCP Servers
  • LangDB Pricing
  • Documentation
  • AI Industry Blog
  • Perplexity AI MCP Server
  • Phrases MCP Server
  • Chrome Debug MCP Server
  • AWS Knowledge Base Retrieval MCP Server
  • Deriv API MCP Server
Back to MCP Servers
Perplexity MCP Server

Perplexity MCP Server

Public
Family-IT-Guy/perplexity-mcp

Custom Model Context Protocol server enabling seamless integration of Perplexity AI's advanced models with Claude Desktop for single queries and multi-turn conversations, featuring customizable model selection and efficient API proxying.

javascript
0 tools
May 29, 2025
Updated Jun 4, 2025

Supercharge Your AI with Perplexity MCP Server

MCP Server

Unlock the full potential of Perplexity MCP Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.

Unified API Access
Complete Tracing
Instant Setup
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests

Perplexity MCP Server

A custom Model Context Protocol (MCP) implementation that adds Perplexity AI as a tool provider for Claude Desktop.

Features

  • Seamless integration with Claude Desktop through MCP
  • Access to Perplexity's powerful AI models
  • Support for both single questions and multi-turn conversations
  • Customizable model selection

Installation

Prerequisites

  • Node.js (v16 or higher)
  • Claude Desktop (latest version)
  • Perplexity API key

Option 1: Clone and Run Locally

  1. Clone this repository:

    git clone https://github.com/Family-IT-Guy/perplexity-mcp.git cd perplexity-mcp
  2. Install dependencies:

    npm install
  3. Create a .env file with your API key:

    PERPLEXITY_API_KEY=your_api_key_here
    
  4. Test the server:

    node server.js

Option 2: Install Globally

  1. Clone and navigate to the repository as above

  2. Install globally:

    npm install -g .
  3. Now you can run the server from anywhere:

    perplexity-mcp

Claude Desktop Configuration

Add this configuration to your claude_desktop_config.json file:

Standard Configuration

{ "mcpServers": { "perplexity": { "command": "node", "args": [ "/absolute/path/to/perplexity-mcp/server.js" ], "env": { "PERPLEXITY_API_KEY": "your_perplexity_api_key" } } } }

Global Installation Configuration

{ "mcpServers": { "perplexity": { "command": "npx", "args": [ "perplexity-mcp" ], "env": { "PERPLEXITY_API_KEY": "your_perplexity_api_key" } } } }

NVM Users

If you're using Node Version Manager (NVM), you need absolute paths:

{ "mcpServers": { "perplexity": { "command": "/Users/username/.nvm/versions/node/v16.x.x/bin/node", "args": [ "/Users/username/path/to/perplexity-mcp/server.js" ], "env": { "PERPLEXITY_API_KEY": "your_perplexity_api_key" } } } }

Available Tools

Once configured, Claude will have access to these tools:

  1. perplexity_ask - Send a single question to Perplexity

    • Parameters:
      • query (required): The question to ask
      • model (optional): Model name (default: llama-3.1-sonar-small-128k-online)
  2. perplexity_chat - Have a multi-turn conversation

    • Parameters:
      • messages (required): Array of conversation messages
      • model (optional): Model name (default: mixtral-8x7b-instruct)

Troubleshooting

  • Check logs: cat ~/.claude/logs/perplexity.log
  • Ensure your API key is valid
  • Verify your claude_desktop_config.json format
  • Enable verbose logging by adding "DEBUG": "1" to the env section

How It Works

This implementation uses the Model Context Protocol (MCP) created by Anthropic to extend Claude Desktop's capabilities. It:

  1. Creates an MCP server that communicates with Claude via stdio
  2. Registers Perplexity tools with Claude
  3. Proxies requests from Claude to the Perplexity API
  4. Returns responses back to Claude for display

License

This project is licensed under the ISC License - see the LICENSE file for details.

Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • Perplexity AI MCP Server
    Perplexity AI MCP Server

    Provides seamless integration with Perplexity AI via Model Context Protocol, enabling chat, search, ...

    5 tools
    Added May 30, 2025
  • Phrases MCP Server
    Phrases MCP Server

    Efficient MCP (Model Context Protocol) server for managing inspirational phrases with full CRUD capa...

    6 tools
    Added May 30, 2025
  • Chrome Debug MCP Server
    Chrome Debug MCP Server

    Model Context Protocol server enabling advanced browser automation with Playwright, featuring multi-...

    13 tools
    Added May 30, 2025
  • AWS Knowledge Base Retrieval MCP Server
    AWS Knowledge Base Retrieval MCP Server

    Retrieval-Augmented Generation (RAG) server enabling efficient extraction of contextual information ...

    Added May 30, 2025
  • Deriv API MCP Server
    Deriv API MCP Server

    Model Context Protocol server enabling seamless interaction with the Deriv API to retrieve active tr...

    2 tools
    Added May 30, 2025