This repository hosts a Model Context Protocol (MCP) server that leverages Perplexity AI to offer intelligent code analysis and debugging, including error analysis, pattern detection, and comprehensive solutions for Python
This repository hosts a Model Context Protocol (MCP) server designed to enhance code analysis and debugging by leveraging the Perplexity AI API. It integrates seamlessly with the Claude desktop client.
Users can ask questions like "Fix this TypeError" or "What's causing this error message?" while including code snippets for targeted analysis. The server then delivers root cause analysis, step-by-step solutions, best practices, and alternative implementation approaches.
Installation is available via npm or directly from the source. Configuration with the Claude desktop client involves modifying the claude_desktop_config.json
file to include the server command, arguments, and the Perplexity AI API key as an environment variable.
The API key is securely stored in Claude's configuration and passed as an environment variable.
The project structure includes source files, configuration files, and build scripts.
This project is licensed under the MIT License.
PoliTwit1984/mcp-perplexity-server
December 27, 2024
February 26, 2025
JavaScript