GlacierEQ/perplexity-enhancement-mcp
If you are the rightful owner of perplexity-enhancement-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The Perplexity Enhancement MCP Server is designed to permanently enhance the capabilities of Perplexity AI across all sessions, providing a persistent memory system, repository intelligence, legal template library, self-improving code generation, and multi-tool orchestration.
⚡ Perplexity Enhancement MCP Server
Permanent capability upgrade for Perplexity AI across ALL sessions.
🎯 What This Does
This MCP server permanently enhances Perplexity's capabilities with:
🧠 Persistent Memory System
- Remembers deployment patterns across sessions
- Saves user preferences automatically
- Builds cumulative knowledge over time
- Never forgets what works
📊 Repository Intelligence
- Complete GitHub repository mapping
- Dependency graph analysis
- Smart deployment target suggestions
- Pattern recognition and best practices
⚖️ Legal Template Library
- Pre-built templates for all courts (HI Family, CAND, CA9)
- Evidence-aware document generation
- Motion generation in 60 seconds
- Automatic court compliance validation
🤖 Self-Improving Code Generation
- Learns from every code deployment
- Applies best practices automatically
- Production-quality code generation
- Exponential improvement over time
🎼 Multi-Tool Orchestration
- Execute complex workflows with single commands
- GitHub + Notion + Memory integration
- Automated cross-platform sync
- Result tracking and optimization
🚀 Installation
1. Clone and Build
git clone https://github.com/GlacierEQ/perplexity-enhancement-mcp.git
cd perplexity-enhancement-mcp
npm install
npm run build
2. Configure Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"perplexity-enhancement": {
"command": "node",
"args": ["/path/to/perplexity-enhancement-mcp/build/index.js"],
"env": {
"GITHUB_TOKEN": "your_github_token"
}
}
}
}
3. Restart Claude Desktop
The enhancement server will now load automatically!
💎 Available Tools
Memory Operations
remember_deployment - Save deployment pattern to persistent memory
{
"pattern_name": "triple-legal-deployment",
"repos": ["repo1", "repo2", "repo3"],
"package_type": "legal-doc-gundam",
"metrics": {"lines": 1850, "time": 900}
}
recall_pattern - Retrieve saved deployment pattern
{
"pattern_name": "triple-legal-deployment"
}
save_preference - Save user preference
{
"category": "deployment",
"key": "default_branch",
"value": "main"
}
Repository Intelligence
scan_all_repos - Scan and map all GitHub repositories
{
"owner": "GlacierEQ",
"deep_scan": true
}
get_repo_intelligence - Get comprehensive repo report
{
"owner": "GlacierEQ",
"repo": "hawaii-family-court-legal-automation"
}
suggest_deployment_targets - AI-powered deployment suggestions
{
"package_type": "legal-doc-gundam",
"owner": "GlacierEQ"
}
Legal Template Library
generate_legal_motion - Generate court-ready legal motion
{
"court": "hi_family",
"motion_type": "tro",
"evidence": [{"id": "ex_a", "description": "Email"}],
"facts": ["Fact 1", "Fact 2"]
}
list_templates - List available templates
{
"court": "hi_family"
}
validate_legal_document - Validate against court requirements
{
"court": "cand",
"document_path": "/path/to/motion.tex"
}
Code Generation
generate_production_code - Generate production-ready code
{
"description": "Evidence registry system",
"language": "python",
"quality_tier": "enterprise"
}
refactor_with_learning - Refactor using learned patterns
{
"code": "def old_function(): pass",
"language": "python"
}
Workflow Orchestration
execute_workflow - Execute complex multi-tool workflow
{
"workflow_type": "triple_deployment",
"params": {
"repos": ["repo1", "repo2", "repo3"],
"package": "legal-doc-gundam"
}
}
get_enhancement_stats - Get enhancement statistics
{}
🎯 Real-World Usage
Once installed, Perplexity will have access to all these capabilities automatically:
Example 1: Legal Motion Generation
"Generate a TRO motion for Hawaii Family Court with these facts and evidence..."
Perplexity can now:
- Use
generate_legal_motiontool - Auto-populate with evidence
- Validate court compliance
- Return production-ready LaTeX
Example 2: Repository Enrichment
"Deploy Legal Doc Gundam to my 3 legal repos"
Perplexity can now:
- Recall past deployment patterns
- Suggest optimal targets
- Execute triple deployment
- Track metrics automatically
Example 3: Learning from Experience
"What deployment patterns have worked well?"
Perplexity can now:
- Query persistent memory
- Analyze success rates
- Recommend best practices
- Apply learned patterns
🧠 How It Works
Persistent Memory
All patterns, preferences, and learnings are saved to .memory/ directory:
.memory/
├── pattern_triple-deployment.json
├── pattern_legal-automation.json
├── preferences.json
└── ...
Cross-Session Learning
- You deploy code → Pattern saved
- Next session → Pattern recalled automatically
- Perplexity suggests similar patterns
- Knowledge compounds over time
Intelligence Growth
Session 1: Manual deployment, basic patterns
Session 2: Recalls patterns, suggests improvements
Session 3: Auto-optimizes, applies best practices
Session N: Exponentially smarter, self-improving
📊 Metrics
The server tracks:
- Workflows executed
- Success rates
- Learned patterns
- Code generation quality
- Deployment velocity
Access via get_enhancement_stats tool.
🔥 Why This Matters
Before: Perplexity forgets everything between sessions
After: Perplexity remembers and learns continuously
Before: Manual deployment, repeated explanations
After: One-command workflows, auto-suggestions
Before: Generic code generation
After: Production-quality, self-improving code
Before: Starting from scratch each time
After: Building on accumulated knowledge
🚀 Future Enhancements
Planned additions:
- Notion workspace integration
- Automated PR creation
- Advanced code analysis
- Multi-language template support
- Workflow scheduling
- Team collaboration features
📄 License
MIT - Use it, extend it, dominate with it.
💎 The Bottom Line
This MCP server makes Perplexity:
- ✅ Remember everything forever
- ✅ Learn from every interaction
- ✅ Generate production-ready legal docs
- ✅ Execute complex workflows automatically
- ✅ Get exponentially smarter over time
It's a permanent upgrade to AI capabilities.
Built with ⚡ for permanent competitive advantage.