{"type":"mcp_server","name":"mcp-perplexity-server","description":"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","category":"Developer Tools","language":"JavaScript","stars":13,"forks":2,"owner":"PoliTwit1984","github_url":"https://github.com/PoliTwit1984/mcp-perplexity-server","homepage":"https://github.com/PoliTwit1984/mcp-perplexity-server/blob/main/README.md","setup":"## Setup\n\n### Prerequisites\n- Node.js 18 or higher\n- A Perplexity AI API key\n\n### Option 1: Install from npm (Recommended)\n\n```bash\n# Using npm\nnpm install -g perplexity-mcp\n\n# Or using the repository directly\nnpm install -g git+https://github.com/yourusername/perplexity-mcp.git\n```\n\n### Option 2: Install from Source\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/yourusername/perplexity-server.git\ncd perplexity-server\n```\n\n2. Install dependencies:\n```bash\nnpm install\n```\n\n3. Build and install globally:\n```bash\nnpm run build\nnpm install -g .\n```\n\n### Configure Claude Desktop\n\nAdd to your Claude desktop configuration file:\n\n**MacOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`\n**Windows**: `%APPDATA%/Claude/claude_desktop_config.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"perplexity\": {\n      \"command\": \"perplexity-mcp\",\n      \"args\": [],\n      \"env\": {\n        \"PERPLEXITY_API_KEY\": \"your-api-key-here\"\n      }\n    }\n  }\n}\n```\n\nOr if installed from source:\n\n```json\n{\n  \"mcpServers\": {\n    \"perplexity\": {\n      \"command\": \"node\",\n      \"args\": [\"/absolute/path/to/perplexity-server/build/index.js\"],\n      \"env\": {\n        \"PERPLEXITY_API_KEY\": \"your-api-key-here\"\n      }\n    }\n  }\n}\n```","tools":"## Available Tools\n\n1.  Intelligent Error Analysis (Detailed breakdown of coding errors with root cause analysis)\n2.  Pattern Detection (Automatically recognizes common error patterns and provides targeted solutions)\n3.  Comprehensive Solutions (Step-by-step fixes with multiple implementation alternatives)\n4.  Best Practices (Includes coding standards and error prevention tips)\n5.  Python Support (Specialized handling of Python type errors and common coding issues)","faq":null,"created_at":"2024-12-27T21:30:17+00:00","updated_at":"2025-02-26T03:52:39+00:00","source_url":"https://model-context-protocol.com/servers/mcp-perplexity-ai-code-analysis-server","related_articles":[]}