Install
$ agentstack add mcp-joewilsonai-mcp-perplexity-server ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
🔍 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.
[](https://modelcontextprotocol.io) [](https://github.com/joewilsonai/mcp-perplexity-server/stargazers) [](https://nodejs.org) [](#license)
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:
- Root-cause analysis of the error
- Step-by-step solution with code examples
- Best practices to prevent the same issue
- 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
- 🧠 second-opinion-mcp-server (⭐ 16) — Multi-source: Gemini + Perplexity + Stack Overflow
- 🐙 github-meta-mcp-server — Natural-language GitHub repo management
License
MIT
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: joewilsonai
- Source: joewilsonai/mcp-perplexity-server
- License: MIT
- Homepage: https://github.com/PoliTwit1984/mcp-perplexity-server/blob/main/README.md
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.