ClaudeCodeMod

All shelves / MCP servers

Perplexity MCP Server

joewilsonai/mcp-perplexity-server · 13 stars · JavaScript · MIT

MCP server

Install

The repo has no one-line install. Follow its README.

Open the repo

Files

README.md

🔍 Perplexity MCP Server

Perplexity-backed code analysis and debugging — straight from your Claude conversation.

A Model Context Protocol (MCP) server that lets Claude (or any MCP client) ask Perplexity AI for code analysis, error explanations, and debugging help.

MCP Stars Node License

Perplexity Server MCP server


Features

  • 🐛 Intelligent Error Analysis — Root-cause breakdown of coding errors
  • 🔬 Pattern Detection — Recognizes common error patterns and provides targeted solutions
  • ✅ Comprehensive Solutions — Step-by-step fixes with multiple implementation alternatives
  • 📚 Best Practices — Coding standards and error-prevention tips
  • 🐍 Python Support — Specialized handling of Python type errors and common issues

Example usage

Ask Claude:

"Fix this TypeError in my Python code" "What's causing this error message?" "How do I fix this code?"

Include your code snippet:

def calculate_total(items):
    total = 0
    for item in items:
        total = total + item['price']  # TypeError: string + int

data = [
    {'name': 'Book', 'price': '10'},
    {'name': 'Pen', 'price': '2'}
]

result = calculate_total(data)

The server returns:

  1. Root-cause analysis of the error
  2. Step-by-step solution with code examples
  3. Best practices to prevent the same issue
  4. Alternative implementations

Install

From npm (recommended)

npm install -g mcp-perplexity-server

From source

git clone https://github.com/joewilsonai/mcp-perplexity-server
cd mcp-perplexity-server
npm install
npm run build

Configure in Claude Desktop

Edit claude_desktop_config.json:

{
  "mcpServers": {
    "perplexity": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-perplexity-server/build/index.js"],
      "env": {
        "PERPLEXITY_API_KEY": "your-perplexity-api-key"
      }
    }
  }
}

Get a Perplexity API key at perplexity.ai/settings/api.

Prerequisites

  • Node.js 18 or higher
  • A Perplexity AI API key

Stack

  • TypeScript + Node.js 18+
  • @modelcontextprotocol/sdk
  • Perplexity API

Related MCP servers

License

MIT

Facts

Kind
MCP server
Repo
joewilsonai/mcp-perplexity-server
Group
Uncategorized
Stars
13
License
MIT
Language
JavaScript
Last push
2026-05-10
Forks
4
Homepage
github.com/PoliTwit1984/mcp-perplexity-server/blob/main/README.md
Topics
mcp, mcp-server, perplexity, search, perplexity-mcp-server

More on this shelf

  1. 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
  2. 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
  3. 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
  4. 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
  5. 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
  6. 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k