PoliTwit1984_mcp-perplexity-server
1.9
The Perplexity MCP Server is a tool designed for intelligent code analysis and debugging, leveraging Perplexity AI's API. It offers error analysis, pattern detection, and step-by-step solutions, with a focus on Python errors.
Perplexity MCP Server
A Model Context Protocol (MCP) server that offers intelligent code analysis and debugging using Perplexity AI's API. It collaborates with the Claude desktop client.
Features
- Intelligent Error Analysis: Provides detailed error breakdowns and root cause analysis.
- Pattern Detection: Identifies common error patterns and offers targeted solutions.
- Comprehensive Solutions: Supplies step-by-step fixes and multiple implementation alternatives.
- Best Practices: Includes coding standards and tips for error prevention.
- Python Support: Specifically addresses Python type errors and common issues.
Installation
Prerequisites
- Node.js 18 or higher
- Perplexity AI API key
Option 1: Install from npm (Recommended)
- Use npm to install perplexity-mcp.
Option 2: Install from Source
- Clone the repository and install dependencies.
Security
- API key is securely stored in Claude's configuration file and passed as an environment variable.
- Server does not store sensitive data in the repository.
Development
Project Structure
- Main server implementation and TypeScript configuration are provided.
Available Scripts
- Includes build, watch, prepare, and inspector scripts.
Contributing
- Steps for contributing include forking the repository, creating a feature branch, committing changes, pushing to the branch, and opening a Pull Request.
License
This project is licensed under the MIT License.